-
@@ -18387,7 +18406,7 @@
- - 21 June 2024 (4 messages) + 21 June 2024 (35 messages)
-
@@ -18533,9 +18552,475 @@
2020
+
+
+ -
+ + ++ ++ +++ + @HughEverett Can I commit and push to submodule for phnt ? + ++ + +
+
+
+
+
-
+ + + + ++ ++ +++ + I believe we should wait for the 'phnt' authors to fix the issue. Modifying the submodules ourselves can lead to problems when updating them in the future. Even though we had forced to do it once before, it's usually not a good idea. Let's give the phnt authors some time to address the issue, then we can update accordingly. ++ + +
+
I've created an issue for them here: https://github.com/winsiderss/phnt/issues/34 +
+
If they are slow in fixing the issue, we will inevitably have to update our forked submodule. + ++ + Build issue with newest SDK/WDK (redefinition of structures) · Issue #34 · winsiderss/phnt + ++ +Hi, I would like to report an issue regarding the compilation of HyperDbg against the newest SDK/WDK. It seems that the new SDK has the definition of _FILE_STAT_LX_INFORMATION and other functions m...
+ + +
+
+
+
+ -
+ + + + ++ ++ +++ + I think in the meanwhile you can switch to this version of phnt https://github.com/oberrich/phnt_nightly as the fix for this issue was already merged there ++ + +
+
This one is basically the same phnt but it automatically obtains it from the systeminformer repository so as soon as they push any updates to the systeminformer's phnt(they're first merging new stuff to the systeminformer and then after some time merging to the phnt repo) they'll end up in that repo too. + ++ + GitHub - oberrich/phnt_nightly: Native API header files for the Process Hacker project (nightly). + ++ +Native API header files for the Process Hacker project (nightly). - oberrich/phnt_nightly
+ + +
+
+
+
+ -
+ + ++ ++ +++ + hi, stupid question - in script can i write out current timestamp ? + ++ + +
+
+
+
+
-
+ + + + ++ ++ +++ + As long as I remember, I didn't implement a timing function. 🤔 ++ + +
Though not sure 😄 +
Because I remember at some point we had a discussion about the time with someone else but I don't know whether we ended up implementing anything or not. +
+
Anyway, go and modify this function, add a LogInfo("message") above this function and LogInfo is a function we use for debugging HyperDbg itself. It shows the current time. + +
+
+
+
+ -
+ + + + ++ ++ +++ + And if you're interested in adding this as a separate function to HyperDbg, create an issue in the GitHub and I'll add it (hopefully) to the next version. + ++ + +
+
+
+
+
-
+ + ++ ++ +++ + I tried hyperdbg(master) and hyperdbg(cpuid_flags). neither can handle cpuid and rdtsc with flags.tf . including with the test trap off option. + ++ + +
+
+
+
+
-
+ + ++ ++ +++ + exceptions can only be handled with windbg enabled (with options test trap off) + ++ + +
+
+
+
+
-
+ + + + ++ ++ +++ + Can you send just the code files? Like the main trick assembly codes. + ++ + +
+
+
+
+
-
+ + ++ ++ +++ + BOOL bExceptionHit = FALSE; ++ + +
+
__try { +
+
_asm +
+
{ +
+
pushfd +
+
or dword ptr[esp], 0x100 +
+
popfd +
+
cpuid +
// Set the Trap Flag +
+
// Load value into EFLAGS register +
+
nop +
+
} +
+
} +
+
__except (EXCEPTION_EXECUTE_HANDLER) { +
+
bExceptionHit = TRUE; +
+
// An exception has been raised – +
+
// there is no debugger. +
+
} +
+
if (bExceptionHit == FALSE) +
+
printf("A debugger is present.n"); +
+
else +
+
printf("There is no debugger present.n"); + +
+
+
+
+ -
+ + ++ ++ +++ + the exception is not delivered to the boundaries of the instructions ;((( (nop) + ++ + +
+