From 9d05dc20a7104e4fdc79ae5417f974a908e5b121 Mon Sep 17 00:00:00 2001 From: Air14 Date: Sat, 2 Oct 2021 18:47:40 +0200 Subject: [PATCH] Trap flag injection fix --- HyperHideDrv/Hider.cpp | 6 +++--- HyperHideDrv/KuserSharedData.cpp | 2 +- airhv | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HyperHideDrv/Hider.cpp b/HyperHideDrv/Hider.cpp index 67554db..1eaff78 100644 --- a/HyperHideDrv/Hider.cpp +++ b/HyperHideDrv/Hider.cpp @@ -247,7 +247,7 @@ namespace Hider return Status; } - KeAcquireGuardedMutex(&HiderMutex); (&HiderMutex); + KeAcquireGuardedMutex(&HiderMutex); PLIST_ENTRY Current = HiddenProcessesHead.Flink; while (Current != &HiddenProcessesHead) { @@ -336,7 +336,7 @@ namespace Hider HiddenProcess->DebuggedProcess = DebuggedProcess; HiddenProcess->DebuggerProcess = DebuggerProcess; - KeAcquireGuardedMutex(&HiderMutex); (&HiderMutex); + KeAcquireGuardedMutex(&HiderMutex); InsertTailList(&HiddenProcessesHead, &HiddenProcess->HiddenProcessesList); InitializeListHead(&HiddenProcess->HiddenThreads.HiddenThreadList); KeReleaseGuardedMutex(&HiderMutex); @@ -352,7 +352,7 @@ namespace Hider return FALSE; } - KeAcquireGuardedMutex(&HiderMutex); (&HiderMutex); + KeAcquireGuardedMutex(&HiderMutex); PLIST_ENTRY Current = HiddenProcessesHead.Flink; while (Current != &HiddenProcessesHead) diff --git a/HyperHideDrv/KuserSharedData.cpp b/HyperHideDrv/KuserSharedData.cpp index 8380e76..f79f693 100644 --- a/HyperHideDrv/KuserSharedData.cpp +++ b/HyperHideDrv/KuserSharedData.cpp @@ -174,7 +174,7 @@ VOID UpdateDelta(PEPROCESS DebuggedProcess) HiddenProcess->Kusd.DeltaTimeUpdateLock += KernelKuserSharedData->TimeUpdateLock - HiddenProcess->Kusd.BeginTimeUpdateLock; HiddenProcess->Kusd.DeltaBaselineSystemQpc += KernelKuserSharedData->BaselineSystemTimeQpc - HiddenProcess->Kusd.BeginBaselineSystemQpc; - RtlZeroMemory(&HiddenProcess->Kusd.BeginInterruptTime, sizeof(ULONG64) * 6); + RtlZeroMemory(&HiddenProcess->Kusd.BeginInterruptTime, sizeof(ULONG64) * 5 + 4); /// oddd break; } } diff --git a/airhv b/airhv index 249375f..8c6f6fc 160000 --- a/airhv +++ b/airhv @@ -1 +1 @@ -Subproject commit 249375fc2679182a9d4759f501e6eaced4ebee8a +Subproject commit 8c6f6fc7ed356fe557b359e47cdd81597d861a80