Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ScyllaHide IDA plugin #701

Closed
wants to merge 1 commit into from
Closed
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
12 changes: 12 additions & 0 deletions packages/ida.plugin.scyllahide.vm/ida.plugin.scyllahide.vm.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>ida.plugin.scyllahide.vm</id>
<version>1.4</version>
<description>ScyllaHide is an advanced open-source x64/x86 user mode Anti-Anti-Debug library.</description>
<authors>NtQuery</authors>
<dependencies>
<dependency id="common.vm" />
</dependencies>
</metadata>
</package>
30 changes: 30 additions & 0 deletions packages/ida.plugin.scyllahide.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
$ErrorActionPreference = 'Stop'
Import-Module vm.common -Force -DisableNameChecking

try {
# Download the plugin
$toolDir = Join-Path ${Env:chocolateyPackageFolder} "temp_$([guid]::NewGuid())"
$toolUrl = "https://github.com/x64dbg/ScyllaHide/releases/download/v1.4/ScyllaHide_2023-03-24_13-03.zip"
$toolSha256 = "edeb0dd203fd1ef38e1404e8a1bd001e05c50b6096e49533f546d13ffdcb7404"
$packageArgs =
@{
packageName = ${Env:ChocolateyPackageName}
unzipLocation = $toolDir
url = $toolUrl
checksum = $toolSha256
checksumType = 'sha256'
}
Install-ChocolateyZipPackage @packageArgs

# Install the plugin
$pluginsDir = New-Item "$Env:APPDATA\Hex-Rays\IDA Pro\plugins" -ItemType "directory" -Force
$pluginPath = Join-Path $toolDir "IDA\HookLibraryx64.dll" -Resolve
$configPath = Join-Path $toolDir "IDA\scylla_hide.ini" -Resolve
Copy-Item $pluginPath -Destination $pluginsDir
Copy-Item $configPath -Destination $pluginsDir

d35ha marked this conversation as resolved.
Show resolved Hide resolved
# Remove the temp installation folder
Remove-Item $toolDir -Recurse
} catch {
VM-Write-Log-Exception $_
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$ErrorActionPreference = 'Continue'
Import-Module vm.common -Force -DisableNameChecking

# Remove the plugin
$pluginsDir = "$Env:APPDATA\Hex-Rays\IDA Pro\plugins"
$pluginPath = Join-Path $pluginsDir "HookLibraryx64.dll" -Resolve
$configPath = Join-Path $pluginsDir "scylla_hide.ini" -Resolve
Remove-Item $pluginPath
Remove-Item $configPath
Loading