Skip to content

Commit

Permalink
Merge pull request #374 from ION28/develop
Browse files Browse the repository at this point in the history
Release v0.5.0 DEFCON release
  • Loading branch information
ION28 authored Aug 7, 2020
2 parents 3133de1 + 4e1700a commit be2f035
Show file tree
Hide file tree
Showing 387 changed files with 14,910 additions and 13,374 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: BLUESPAWN client build
name: BLUESPAWN-win-client build

on:
push:
Expand All @@ -20,27 +20,25 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Setup NuGet.exe
uses: warrenbuckley/Setup-Nuget@v1
- uses: actions/checkout@main

- name: Update submodules
run: git submodule update --init --recursive

- name: Install vcpkg
- name: Restore from cache, and install vcpkg and project dependencies
uses: lukka/run-vcpkg@v3
with:
vcpkgArguments: '@../vcpkg_response_file.txt'
vcpkgDirectory: 'vcpkg'
appendedCacheKey: ${{ hashFiles(env.vcpkgResponseFile) }}

- name: Integrate vcpkg packages
shell: powershell
run: |
cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg.exe install yara:${{ matrix.buildarch }}-windows-static
.\vcpkg.exe install libzip:${{ matrix.buildarch }}-windows-static
.\vcpkg.exe integrate install
cd ..
- name: Download NuGet packages
run: nuget restore BLUESPAWN.sln

- name: Build BLUESPAWN-client
run: |
"%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" BLUESPAWN.sln /p:Configuration=${{ matrix.buildtype }} /p:Platform=${{ matrix.buildarch }}
Expand All @@ -59,7 +57,7 @@ jobs:
shell: powershell

- name: Run BLUESPAWN Hunt
run: artifacts\${{ matrix.buildarch }}\${{ matrix.buildtype }}\BLUESPAWN-client.exe --hunt -l Normal --log=xml --reaction=log
run: artifacts\${{ matrix.buildarch }}\${{ matrix.buildtype }}\BLUESPAWN-client.exe --hunt -a Normal --log=xml
shell: cmd

- name: Rename BLUESPAWN XML output file
Expand All @@ -70,17 +68,17 @@ jobs:
run: testing\run-hunt-results-comparison.ps1
shell: powershell

- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@main
with:
name: BLUESPAWN-client-${{ matrix.buildarch }}-${{ matrix.buildtype }}
path: artifacts\${{ matrix.buildarch }}\${{ matrix.buildtype }}\BLUESPAWN-client.exe

- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@main
with:
name: AtomicTestsResults-${{ matrix.buildarch }}-${{ matrix.buildtype }}.csv
path: AtomicTestsResults.csv

- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@main
with:
name: BLUESPAWNHuntResults-${{ matrix.buildarch }}-${{ matrix.buildtype }}.xml
path: BLUESPAWNHuntResults.xml
11 changes: 7 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
# General
.vs/
build/
artifacts/
packages/
vcpkg/
BLUESPAWN-client/external/
BLUESPAWN-client/resources/severe
BLUESPAWN-client/resources/severe2
BLUESPAWN-client/resources/indicators
*.user
*.filters
*.cache
*.bak
*.lib
*.aps

# BLUESPAWN-win-client
BLUESPAWN-win-client/external/
BLUESPAWN-win-client/resources/severe
BLUESPAWN-win-client/resources/severe2
BLUESPAWN-win-client/resources/indicators

# BLUESPAWN Project Site - docs/
*.lock
docs/db.sqlite3
Expand Down
33 changes: 12 additions & 21 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
[submodule "BLUESPAWN-client/external/cxxopts"]
path = BLUESPAWN-client/external/cxxopts
url = https://github.com/jarro2783/cxxopts
[submodule "BLUESPAWN-client/external/krabsetw"]
path = BLUESPAWN-client/external/krabsetw
url = https://github.com/microsoft/krabsetw
[submodule "BLUESPAWN-client/external/pe-sieve"]
path = BLUESPAWN-client/external/pe-sieve
url = https://github.com/hasherezade/pe-sieve
[submodule "BLUESPAWN-client/external/yara"]
path = BLUESPAWN-client/external/yara
url = https://github.com/VirusTotal/yara
[submodule "BLUESPAWN-client/external/yara-rules"]
path = BLUESPAWN-client/external/yara-rules
url = https://github.com/Yara-Rules/rules.git
[submodule "BLUESPAWN-client/external/tinyxml2"]
path = BLUESPAWN-client/external/tinyxml2
url = https://github.com/leethomason/tinyxml2
[submodule "vcpkg"]
path = vcpkg
url = https://github.com/Microsoft/vcpkg.git
[submodule "BLUESPAWN-client/external/signature-base"]
path = BLUESPAWN-client/external/signature-base
url = https://github.com/Neo23x0/signature-base
[submodule "BLUESPAWN-win-client/external/pe-sieve"]
path = BLUESPAWN-win-client/external/pe-sieve
url = https://github.com/Jack-McDowell/pe-sieve
[submodule "BLUESPAWN-win-client/external/yara-rules"]
path = BLUESPAWN-win-client/external/yara-rules
url = https://github.com/Jack-McDowell/rules
[submodule "BLUESPAWN-win-client/external/signature-base"]
path = BLUESPAWN-win-client/external/signature-base
url = https://github.com/Jack-McDowell/signature-base
[submodule "BLUESPAWN-win-client/external/tinyxml2"]
path = BLUESPAWN-win-client/external/tinyxml2
url = https://github.com/Jack-McDowell/tinyxml2
1 change: 0 additions & 1 deletion BLUESPAWN-client/external/cxxopts
Submodule cxxopts deleted from b0f67a
1 change: 0 additions & 1 deletion BLUESPAWN-client/external/pe-sieve
Submodule pe-sieve deleted from cd486a
1 change: 0 additions & 1 deletion BLUESPAWN-client/external/signature-base
Submodule signature-base deleted from be0caf
1 change: 0 additions & 1 deletion BLUESPAWN-client/external/tinyxml2
Submodule tinyxml2 deleted from bd5950
1 change: 0 additions & 1 deletion BLUESPAWN-client/external/yara
Submodule yara deleted from 26615b
1 change: 0 additions & 1 deletion BLUESPAWN-client/external/yara-rules
Submodule yara-rules deleted from 2bb79c
44 changes: 0 additions & 44 deletions BLUESPAWN-client/headers/hunt/Hunt.h

This file was deleted.

35 changes: 0 additions & 35 deletions BLUESPAWN-client/headers/hunt/HuntRegister.h

This file was deleted.

33 changes: 0 additions & 33 deletions BLUESPAWN-client/headers/hunt/Scope.h

This file was deleted.

23 changes: 0 additions & 23 deletions BLUESPAWN-client/headers/hunt/hunts/HuntT1004.h

This file was deleted.

22 changes: 0 additions & 22 deletions BLUESPAWN-client/headers/hunt/hunts/HuntT1013.h

This file was deleted.

32 changes: 0 additions & 32 deletions BLUESPAWN-client/headers/hunt/hunts/HuntT1015.h

This file was deleted.

23 changes: 0 additions & 23 deletions BLUESPAWN-client/headers/hunt/hunts/HuntT1031.h

This file was deleted.

Loading

0 comments on commit be2f035

Please sign in to comment.