Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 2 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,22 +436,6 @@ jobs:

Copy-Item "../Build/Bind/Release/*" "release-package\" -Recurse

# Create README
$version = "v1.3.2"
$readmeText = "# SysCaller: Bind - v1.3.2`n`n"
$readmeText += "Build Date: $(Get-Date -Format 'yyyy-MM-dd HH:mm:ss UTC')`n"
$readmeText += "Commit: ${{ github.sha }}`n"
$readmeText += "Platform: Windows x64 (64-bit)`n"
$readmeText += "Version: $version`n`n"
$readmeText += "## Installation`n"
$readmeText += "1. Download Bind.exe`n"
$readmeText += "2. Run the executable`n`n"
$readmeText += "## Requirements`n"
$readmeText += "- Windows 10 or later`n"
$readmeText += "- Visual C++ Redistributable (if not already installed)`n"
$readmeText += "- Qt5 runtime libraries (if not already installed)"
$readmeText | Out-File -FilePath "release-package\README.txt" -Encoding UTF8

# Create the zip file
Compress-Archive -Path "release-package\*" -DestinationPath $zipName -Force

Expand All @@ -474,24 +458,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v1.3.2
release_name: "SysCaller: Bind - v1.3.2"
release_name: "SysCaller: Bind v1.3.2"
body: |
## SysCaller: Bind - v1.3.2
## SysCaller: Bind v1.3.2

**Build Date:** ${{ github.event.head_commit.timestamp }}
**Commit:** ${{ github.sha }}
**Platform:** Windows x64 (64-bit)

## Installation
1. Download Bind.zip
2. Replace the downloaded Bind directory with the one in SysCaller
3. Extract the zip & run the Bind.exe

## Requirements
- Windows 10 or later
- Visual C++ Redistributable (if not already installed)
- Qt5 runtime libraries (if not already installed)

- name: Upload Release Asset
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
uses: actions/upload-release-asset@v1
Expand Down
59 changes: 30 additions & 29 deletions Bind/Bind.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -157,35 +157,36 @@
<ClCompile Include="src\GUI\Threads\CompatibilityThread.cpp" />
<ClCompile Include="src\GUI\Threads\ObfuscationThread.cpp" />
<ClCompile Include="src\GUI\Threads\ValidatorThread.cpp" />
<ClCompile Include="GeneratedFiles\moc_MainWindow.cpp" />
<ClCompile Include="GeneratedFiles\moc_ProgressBar.cpp" />
<ClCompile Include="GeneratedFiles\moc_StatusBar.cpp" />
<ClCompile Include="GeneratedFiles\moc_TitleBar.cpp" />
<ClCompile Include="GeneratedFiles\moc_SettingsTitleBar.cpp" />
<ClCompile Include="GeneratedFiles\moc_BindButton.cpp" />
<ClCompile Include="GeneratedFiles\moc_LeftPanel.cpp" />
<ClCompile Include="GeneratedFiles\moc_OutputPanel.cpp" />
<ClCompile Include="GeneratedFiles\moc_RightPanel.cpp" />
<ClCompile Include="GeneratedFiles\moc_ChangelogDialog.cpp" />
<ClCompile Include="GeneratedFiles\moc_HashCompareDialog.cpp" />
<ClCompile Include="GeneratedFiles\moc_ObfuscationSelectionDialog.cpp" />
<ClCompile Include="GeneratedFiles\moc_StubMapperDialog.cpp" />
<ClCompile Include="GeneratedFiles\moc_SettingsDialog.cpp" />
<ClCompile Include="GeneratedFiles\moc_ConfirmationDialog.cpp" />
<ClCompile Include="GeneratedFiles\moc_GeneralTab.cpp" />
<ClCompile Include="GeneratedFiles\moc_ObfuscationTab.cpp" />
<ClCompile Include="GeneratedFiles\moc_IntegrityTab.cpp" />
<ClCompile Include="GeneratedFiles\moc_ProfileTab.cpp" />
<ClCompile Include="GeneratedFiles\moc_IndirectObfuscationTab.cpp" />
<ClCompile Include="GeneratedFiles\moc_InlineObfuscationTab.cpp" />
<ClCompile Include="GeneratedFiles\moc_ValidatorThread.cpp" />
<ClCompile Include="GeneratedFiles\moc_CompatibilityThread.cpp" />
<ClCompile Include="GeneratedFiles\moc_VerificationThread.cpp" />
<ClCompile Include="GeneratedFiles\moc_ObfuscationThread.cpp" />
<ClCompile Include="GeneratedFiles\moc_Compatibility.cpp" />
<ClCompile Include="GeneratedFiles\moc_Validator.cpp" />
<ClCompile Include="GeneratedFiles\moc_Verification.cpp" />
<ClCompile Include="GeneratedFiles\qrc_resources.cpp" />
<!-- MOC and RCC files, QtMsBuild should add these automatically, but we include them explicitly for CI compatibility -->
<ClCompile Include="GeneratedFiles\moc_MainWindow.cpp" Condition="Exists('GeneratedFiles\moc_MainWindow.cpp')" />
<ClCompile Include="GeneratedFiles\moc_ProgressBar.cpp" Condition="Exists('GeneratedFiles\moc_ProgressBar.cpp')" />
<ClCompile Include="GeneratedFiles\moc_StatusBar.cpp" Condition="Exists('GeneratedFiles\moc_StatusBar.cpp')" />
<ClCompile Include="GeneratedFiles\moc_TitleBar.cpp" Condition="Exists('GeneratedFiles\moc_TitleBar.cpp')" />
<ClCompile Include="GeneratedFiles\moc_SettingsTitleBar.cpp" Condition="Exists('GeneratedFiles\moc_SettingsTitleBar.cpp')" />
<ClCompile Include="GeneratedFiles\moc_BindButton.cpp" Condition="Exists('GeneratedFiles\moc_BindButton.cpp')" />
<ClCompile Include="GeneratedFiles\moc_LeftPanel.cpp" Condition="Exists('GeneratedFiles\moc_LeftPanel.cpp')" />
<ClCompile Include="GeneratedFiles\moc_OutputPanel.cpp" Condition="Exists('GeneratedFiles\moc_OutputPanel.cpp')" />
<ClCompile Include="GeneratedFiles\moc_RightPanel.cpp" Condition="Exists('GeneratedFiles\moc_RightPanel.cpp')" />
<ClCompile Include="GeneratedFiles\moc_ChangelogDialog.cpp" Condition="Exists('GeneratedFiles\moc_ChangelogDialog.cpp')" />
<ClCompile Include="GeneratedFiles\moc_HashCompareDialog.cpp" Condition="Exists('GeneratedFiles\moc_HashCompareDialog.cpp')" />
<ClCompile Include="GeneratedFiles\moc_ObfuscationSelectionDialog.cpp" Condition="Exists('GeneratedFiles\moc_ObfuscationSelectionDialog.cpp')" />
<ClCompile Include="GeneratedFiles\moc_StubMapperDialog.cpp" Condition="Exists('GeneratedFiles\moc_StubMapperDialog.cpp')" />
<ClCompile Include="GeneratedFiles\moc_SettingsDialog.cpp" Condition="Exists('GeneratedFiles\moc_SettingsDialog.cpp')" />
<ClCompile Include="GeneratedFiles\moc_ConfirmationDialog.cpp" Condition="Exists('GeneratedFiles\moc_ConfirmationDialog.cpp')" />
<ClCompile Include="GeneratedFiles\moc_GeneralTab.cpp" Condition="Exists('GeneratedFiles\moc_GeneralTab.cpp')" />
<ClCompile Include="GeneratedFiles\moc_ObfuscationTab.cpp" Condition="Exists('GeneratedFiles\moc_ObfuscationTab.cpp')" />
<ClCompile Include="GeneratedFiles\moc_IntegrityTab.cpp" Condition="Exists('GeneratedFiles\moc_IntegrityTab.cpp')" />
<ClCompile Include="GeneratedFiles\moc_ProfileTab.cpp" Condition="Exists('GeneratedFiles\moc_ProfileTab.cpp')" />
<ClCompile Include="GeneratedFiles\moc_IndirectObfuscationTab.cpp" Condition="Exists('GeneratedFiles\moc_IndirectObfuscationTab.cpp')" />
<ClCompile Include="GeneratedFiles\moc_InlineObfuscationTab.cpp" Condition="Exists('GeneratedFiles\moc_InlineObfuscationTab.cpp')" />
<ClCompile Include="GeneratedFiles\moc_ValidatorThread.cpp" Condition="Exists('GeneratedFiles\moc_ValidatorThread.cpp')" />
<ClCompile Include="GeneratedFiles\moc_CompatibilityThread.cpp" Condition="Exists('GeneratedFiles\moc_CompatibilityThread.cpp')" />
<ClCompile Include="GeneratedFiles\moc_VerificationThread.cpp" Condition="Exists('GeneratedFiles\moc_VerificationThread.cpp')" />
<ClCompile Include="GeneratedFiles\moc_ObfuscationThread.cpp" Condition="Exists('GeneratedFiles\moc_ObfuscationThread.cpp')" />
<ClCompile Include="GeneratedFiles\moc_Compatibility.cpp" Condition="Exists('GeneratedFiles\moc_Compatibility.cpp')" />
<ClCompile Include="GeneratedFiles\moc_Validator.cpp" Condition="Exists('GeneratedFiles\moc_Validator.cpp')" />
<ClCompile Include="GeneratedFiles\moc_Verification.cpp" Condition="Exists('GeneratedFiles\moc_Verification.cpp')" />
<ClCompile Include="GeneratedFiles\qrc_resources.cpp" Condition="Exists('GeneratedFiles\qrc_resources.cpp')" />
</ItemGroup>
<ItemGroup>
<QtMoc Include="include\Core\Integrity\Compatibility\Compatibility.h">
Expand Down
6 changes: 3 additions & 3 deletions Bind/src/Core/Obfuscation/IndirectObfuscation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ bool IndirectObfuscationManager::generateIndirectObfuscation()
PathUtils::getSysCallerPath() + "/Wrapper/src/SysCaller.asm";

QString headerPath = isKernel ?
PathUtils::getSysCallerKPath() + "/Wrapper/SysK/SysKFunctions.h" :
PathUtils::getSysCallerPath() + "/Wrapper/Sys/SysFunctions.h";
PathUtils::getSysCallerKPath() + "/Wrapper/include/SysK/SysKFunctions.h" :
PathUtils::getSysCallerPath() + "/Wrapper/include/Sys/SysFunctions.h";

return processIndirectAssemblyFile(asmPath, headerPath);
}
Expand Down Expand Up @@ -609,4 +609,4 @@ bool IndirectObfuscationManager::updateDefFile(const QString& defPath,

defFile.close();
return true;
}
}
6 changes: 3 additions & 3 deletions Bind/src/Core/Obfuscation/Obfuscation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ QString Obfuscation::getHeaderFilePath(bool isKernelMode)
{
if (isKernelMode)
{
return PathUtils::getSysCallerKPath() + "/Wrapper/SysK/SysKFunctions.h";
return PathUtils::getSysCallerKPath() + "/Wrapper/include/SysK/SysKFunctions.h";
}
else
{
return PathUtils::getSysCallerPath() + "/Wrapper/Sys/SysFunctions.h";
return PathUtils::getSysCallerPath() + "/Wrapper/include/Sys/SysFunctions.h";
}
}

Expand Down Expand Up @@ -876,4 +876,4 @@ bool Obfuscation::updateDefFile(const QString& defPath, const QStringList& obfus

defFile.close();
return true;
}
}