Skip to content

Commit a8271cb

Browse files
committed
Updated ssdt_service_count signature.
1 parent fc169d9 commit a8271cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

KasperskyHookDrv/kaspersky.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ bool kaspersky::initialize()
4040

4141
// Find number of services (SSDT)
4242
//
43-
presult = utils::find_pattern_km( L"klhk.sys", ".text", "\x3B\x1D\x00\x00\x00\x00\x73\x56", "xx????xx" );
43+
presult = utils::find_pattern_km( L"klhk.sys", ".text", "\x89\x0D\x00\x00\x00\x00\x8B\xFB", "xx????xx" );
4444

4545
if ( !presult )
4646
return false;
@@ -94,7 +94,7 @@ unsigned int kaspersky::get_svc_count_shadow_ssdt()
9494
return shadow_ssdt_service_count ? *shadow_ssdt_service_count : 0;
9595
}
9696

97-
// Hooks SSDT functions by changing klhk's service table.
97+
// Hooks SSDT functions by changing klhk's service table
9898
//
9999
bool kaspersky::hook_ssdt_routine( unsigned short index, void* dest, void** poriginal )
100100
{

0 commit comments

Comments
 (0)