@hyperdbg

@hyperdbg / Public archive of HyperDbg Telegram messages.

  • 2025

    • Mar 2025 (385)
    • Feb 2025 (220)
    • Jan 2025 (167)
  • 2024

    • Dec 2024 (72)
    • Nov 2024 (235)
    • Oct 2024 (83)
    • Sep 2024 (263)
    • Aug 2024 (332)
    • Jul 2024 (403)
    • Jun 2024 (570)
    • May 2024 (245)
    • Apr 2024 (156)
    • Mar 2024 (90)
    • Feb 2024 (134)
    • Jan 2024 (309)
  • 2023

    • Dec 2023 (62)
    • Nov 2023 (326)
    • Oct 2023 (76)
    • Sep 2023 (315)
    • Aug 2023 (757)
    • Jul 2023 (2215)
    • Jun 2023 (778)
    • May 2023 (300)
    • Apr 2023 (1)
    • Feb 2023 (5)
    • Jan 2023 (1)
  • 2022

    • Nov 2022 (1)
    • Oct 2022 (2)
    • Sep 2022 (1)
    • Aug 2022 (1)
    • Jul 2022 (39)
    • Jun 2022 (23)
    • May 2022 (256)
  • 2021

    • Dec 2021 (1)
    • Oct 2021 (82)
    • Jun 2021 (1)
    • Feb 2021 (1)
    • Jan 2021 (2)
  • 2020

    • Dec 2020 (1)
    • Nov 2020 (2)
RSS feed.    Made with tg-archive
  • 01 May 2024 (2 messages)
  • @1227734346 #6163 05:02 AM, 01 May 2024
    Joined.
  • @juicelover88 #6164 07:26 PM, 01 May 2024
    Joined.
  • 05 May 2024 (1 messages)
  • @1664838070 #6165 06:47 AM, 05 May 2024
    Joined.
  • 06 May 2024 (10 messages)
  • @6700383947 #6166 02:22 AM, 06 May 2024
    Joined.
  • @1906828983 #6167 08:01 AM, 06 May 2024
    I used the vm virtual machine (win11) for a day without shutting down. When I used it again, the virtual machine kept a black screen but no blue screen. Has anyone encountered this?
  • @prekvapko #6168 08:15 AM, 06 May 2024
    triple fault?
  • @ricnar #6169 08:20 AM, 06 May 2024
    This happens to me when I have configured kernel debugging with windbg and I close it, the target continues running and goes into power saving mode, the screen goes black and a crash occurs at THAT moment where the debugger should take control but as the debugger It is not running, the target remain frozen and everything is black.
  • @ricnar #6170 08:21 AM, 06 May 2024
    Maybe it can happen with hyperdbg too
  • @HughEverett ↶ Reply to #6168 #6171 08:55 AM, 06 May 2024
    If it's a triple-fault, then a VM-exit (unconditionally) should happen, which in this case, HyperDbg shows a message and notifies about the occurrence of triple-fault. So, it's probably not triple fault.
  • @HughEverett ↶ Reply to #6167 #6172 08:58 AM, 06 May 2024
    Not sure if I correctly understand it. HyperDbg keeps running on the system for ~1 day but when screen turns to black (because of some power options settings), HyperDbg freezes? Am I get it correctly?
  • @prekvapko #6173 09:13 AM, 06 May 2024
    I assume he used it for a day without issue and now he can't get it to launch again.
  • @1906828983 ↶ Reply to #6172 #6174 09:36 AM, 06 May 2024
    The whole system is frozen and cannot be woken up
  • @HughEverett ↶ Reply to #6174 #6175 09:45 AM, 06 May 2024
    That's really hard to investigate, since there is no crash or no vm-exit. I ran out of idea but that might also be a problem with VMware Workstation. 🤔
  • 07 May 2024 (47 messages)
  • @1906828983 ↶ Reply to #6175 #6177 06:30 AM, 07 May 2024
    I tested and found that this only occurs when using hvdbg
  • @1906828983 #6178 06:32 AM, 07 May 2024
    And I found that the system seemed to be running normally, it just couldn't be woken up.
  • @HughEverett ↶ Reply to #6178 #6179 10:58 AM, 07 May 2024
    Still don't have any idea. I think waking up has something to do with interrupts like the system should somehow interrupt the processor (Windows) to indicate some waking up events.
  • @HughEverett #6180 10:58 AM, 07 May 2024
    On the other hand, in HyperDbg by default (if you don't use commands like '!interrupt', won't intercept any external interrupts). So, I ran out of ideas as to why this happens.
  • @HughEverett #6181 10:58 AM, 07 May 2024
    @honorary_bot do you have any idea for this case? It seems that if the system goes on a power-saving halt state while running HyperDbg, it can't wake up again from sleep.
  • @honorary_bot #6182 10:59 AM, 07 May 2024
    Sorry, I missed the thread. Lemme rewind a bit
  • @honorary_bot #6183 11:07 AM, 07 May 2024
    So, I'm not quite sure I figured out the exact scenario. Were you guys using VMWare nested virtualization for HyperDbg or a real machine? Would it just hang after a power transition or without one?
  • @HughEverett ↶ Reply to #6183 #6184 11:09 AM, 07 May 2024
    I think he uses VMware Workstation as he previously mentioned a virtual machine.
  • @1906828983 #6185 11:09 AM, 07 May 2024
    hvdbg runs in a vmware virtual machine
  • @honorary_bot #6186 11:13 AM, 07 May 2024
    On vmware nested case: well it's up to VMWare I'm afraid. Even though I think it's nested VMX implementation is one of the best ones, there are still quircks. Last time I worked on VMware support was 2016, so take my words with a grain of salt. The bottom line is there are still bugs and the implementation of nested VMX is a subject to change between versions. For example, some VMware versions would skip INIT signals, the other ones would not apply X in EPT. So many things might happen with VMWare, especially for newer gen CPUs (12+ gen) because of hybrid cores. If your host hangs as well - it's definitely a VMWare problem, because the way VMWare is implemented is unsafe towards the OS - it resets every system related structure (like IDT f.e.) between task changes. So If something fails in between - there's no way for OS to recover - it has no control of the hardware at that point.
  • @honorary_bot #6187 11:15 AM, 07 May 2024
    The other topic is power management - depending on a state depth the hypervisor (yes, including hyperdbg) would need to implement power state recopvery mechanism. Nothing has to be doen for C6 for exmaple, because CPU is not being shut down in this state. But if the CPU shuts down as a part of power transition, you would need to intercept and implement S3 boot script procedure.
  • @honorary_bot #6188 11:15 AM, 07 May 2024
    I personally never implemented one, because I'm lazy. So I just turn off all power saving features when using debugger
  • @honorary_bot #6189 11:16 AM, 07 May 2024
    Hopefully it was useful
  • @HughEverett ↶ Reply to #6186 #6190 11:18 AM, 07 May 2024
    sof Do you see the same behavior on a physical machine (not VMware's nested virtualization)?
  • @honorary_bot #6191 11:18 AM, 07 May 2024
    My algo would be
    1. Disable power saving in the VMWare guest OS
    2. If it hangs with host - forget it, it's a VMWare problem
    3. If it hangs, but the host works - it's a hyperdbg problem
  • @honorary_bot ↶ Reply to #6190 #6192 11:19 AM, 07 May 2024
    No, physical machines are different. It's my primary case for use BTW
  • @honorary_bot #6193 11:20 AM, 07 May 2024
    I'm not sure I completely understood the conditions for the hang described there
  • @honorary_bot #6194 11:21 AM, 07 May 2024
    It's easier to work with physical machine, since VMWare nested is sort of emulation and you would have to troubeshooy VMware implemetation instead of x8664 arch
  • @honorary_bot ↶ Reply to #6192 #6195 11:22 AM, 07 May 2024
    Sorry, I thought that was for me :D
  • @HughEverett ↶ Reply to #6188 #6196 11:31 AM, 07 May 2024
    Yeah, unfortunately we're not currently handling these power state transition in HyperDbg too :(
  • @1906828983 #6197 11:54 AM, 07 May 2024
    So you might have good luck by never turning off the display, right?😂

    photo_2024-05-07_11-54-24.jpg
  • @honorary_bot ↶ Reply to #6197 #6198 12:05 PM, 07 May 2024
    No, not the display
  • @honorary_bot #6199 12:05 PM, 07 May 2024
    System standby should not be enabled
  • @honorary_bot #6200 12:06 PM, 07 May 2024
    There should be no “Sleep” option
  • @honorary_bot #6201 12:06 PM, 07 May 2024
    Display doesn’t matter
  • @honorary_bot ↶ Reply to #6197 #6202 12:06 PM, 07 May 2024
    Change advanced power settings
  • @1906828983 #6203 12:33 PM, 07 May 2024
    I can't find the never option in the advanced options, but I can find it in the settings.

    photo_2024-05-07_12-33-01.jpg
  • @honorary_bot #6204 12:33 PM, 07 May 2024
    Can you show all of your advanced options?
  • @honorary_bot #6205 12:34 PM, 07 May 2024
    These are not relevant
  • @1906828983 #6206 12:46 PM, 07 May 2024
    mstsc_4AlgmjsqAg.gif.mp4
  • @honorary_bot #6207 12:46 PM, 07 May 2024
    Sorry, it’s too blurry
  • @honorary_bot #6208 12:47 PM, 07 May 2024
    Lemme find what you might need
  • @honorary_bot #6209 12:48 PM, 07 May 2024
    “Put device to sleep after” - never. This is for win11 settings
  • @honorary_bot #6210 12:48 PM, 07 May 2024
    Under power and battery
  • @honorary_bot ↶ Reply to #6206 #6211 12:50 PM, 07 May 2024
    Sleep - sleep after - never
  • @1906828983 #6212 12:55 PM, 07 May 2024
    I didn't find the option you mentioned. Maybe the settings of the virtual machine and the real machine are different?
  • @honorary_bot #6213 12:57 PM, 07 May 2024
    Should not be like that, but I can’t be 100% sure - every setup is different
  • @honorary_bot #6214 12:57 PM, 07 May 2024
    Do you have a Sleep option in the start menu?
  • @1906828983 #6215 01:00 PM, 07 May 2024

    photo_2024-05-07_13-00-46.jpg
  • @1906828983 #6216 01:01 PM, 07 May 2024
    it locates this
  • @1906828983 #6217 01:01 PM, 07 May 2024
    screen and sleep
  • @honorary_bot #6218 01:04 PM, 07 May 2024
    Mine looks different, interesting
  • @honorary_bot ↶ Reply to #6214 #6219 01:05 PM, 07 May 2024
    Could you check this pls?
  • @honorary_bot #6220 01:05 PM, 07 May 2024
    As if you were to shut down pc, same menu
  • @1906828983 #6221 01:12 PM, 07 May 2024
    vTRcbaP.gif.mp4
  • @1906828983 #6222 01:24 PM, 07 May 2024
    I think it should be this, because when I set similar options in win10, the computer never sleep
  • @508397659 #6223 05:53 PM, 07 May 2024
    @sina

    but on github info : v0.8.3 Latest
    HyperDbg v0.8.3 is released!
    :)

    photo_2024-05-07_17-53-31.jpg
  • 08 May 2024 (1 messages)
  • @HughEverett ↶ Reply to #6223 #6224 01:23 AM, 08 May 2024
    Damn!
    I forgot to change that. 🤦‍♂️
  • 10 May 2024 (53 messages)
  • @revflash #6225 04:06 AM, 10 May 2024
    Hello team! Has anyone encountered this situation before? I wrote this test script in a single line and it worked, but when there's a line break, I get the following message: unknown parameter 'script'.

    photo_2024-05-10_04-06-53.jpg
  • @HughEverett ↶ Reply to #6225 #6226 04:50 AM, 10 May 2024
    This is a bug that doesn't exists in v0.8.1, probably caused by refactoring codes. I'll try to investigate it now.
  • @revflash ↶ Reply to #6226 #6227 05:13 AM, 10 May 2024
    Thank you for your response. I'll try the previous version. I'm not sure how I can be helpful, but if you need any kind of assistance, let me know.
  • @HughEverett ↶ Reply to #6227 #6228 05:32 AM, 10 May 2024
    I fixed the issue:
    https://github.com/HyperDbg/HyperDbg/commit/48c8c6e6e69f1abea57da1d2034b9c34c176e48d
    fix the signedness of the command parser · HyperDbg/HyperDbg@48c8c6e

    State-of-the-art native debugging tool. Contribute to HyperDbg/HyperDbg development by creating an account on GitHub.

  • @HughEverett #6229 05:34 AM, 10 May 2024
    And it was kinda weird! 😐
    It was just because of a overflow as I previously changed a signed int to and unsigned int in the refactoring process.
  • @HughEverett #6230 05:35 AM, 10 May 2024
    This is a critical bug since it directly influences the command parsing. So, I think it would be appropriate to have a version change (v0.8.4).
  • @HughEverett ↶ Reply to #6227 #6231 05:52 AM, 10 May 2024
    Fixed!
    Please check: https://github.com/HyperDbg/HyperDbg/releases/tag/v0.8.4
    Release v0.8.4 · HyperDbg/HyperDbg

    HyperDbg v0.8.4 is released! If you’re enjoying HyperDbg, don’t forget to give a star 🌟 on GitHub! Please visit Build & Install to configure the environment for running HyperDbg. Check out the ...

  • @HughEverett ↶ Reply to #6223 #6232 05:53 AM, 10 May 2024
    Also this issue is fixed. 😅

    photo_2024-05-10_05-53-58.jpg
  • @6635684860 #6233 08:46 AM, 10 May 2024
    Joined.
  • @zuypt #6234 08:47 AM, 10 May 2024
    Joined.
  • @zuypt #6235 08:47 AM, 10 May 2024
    Hi, Is it normal that the debugee reboot immediately after panic ?
  • @zuypt #6236 08:48 AM, 10 May 2024
    I was unable to see the crash context
  • @Lelha10 #6237 08:48 AM, 10 May 2024
    Joined.
  • @HughEverett ↶ Reply to #6235 #6238 08:49 AM, 10 May 2024
    Hi,
    Usually if VMware crashes (or a CPU-based crash), then the debuggee reboots immediately.
  • @atoum09 #6239 08:50 AM, 10 May 2024
    Joined.
  • @Zer0ODay #6240 08:55 AM, 10 May 2024
    Joined.
  • @m4drat #6241 08:58 AM, 10 May 2024
    Joined.
  • @6737682818 #6242 09:00 AM, 10 May 2024
    Joined.
  • @Mohammadkazemm #6243 10:08 AM, 10 May 2024
    Joined.
  • @virusito #6244 10:47 AM, 10 May 2024
    Joined.
  • @sun363587351 #6245 10:49 AM, 10 May 2024
    Joined.
  • @5796105021 #6246 11:05 AM, 10 May 2024
    Joined.
  • @idov31 #6247 11:07 AM, 10 May 2024
    Joined.
  • @5706142508 #6248 11:53 AM, 10 May 2024
    Joined.
  • @ezio31337 #6249 12:04 PM, 10 May 2024
    Joined.
  • @nabberr #6250 12:14 PM, 10 May 2024
    Joined.
  • @ezio31337 #6251 12:41 PM, 10 May 2024
    Hello I apologize if this question out of context just i want know how i can setup virtual box for exploitation and debug virtual box

    Like here : https://qriousec.github.io/post/vbox-pwn2own-2023/

    Can’t understand this
    • Host: Windows 10
    • Guest: Windows 10. VirtualBox will be built on this machine.
    • Guest 2 (the guest inside the VirtualBox VM): LUbuntu 18.04.3

    Is this mean setup virtual box and win 10 on it as guest then compile virtual box in win10 guest then use ubuntu as guest in win10 guest ? xD

    And using hyberdbg or windbg for debugging compiled vbox and ubuntu connection ?
    Analysis of VirtualBox CVE-2023-21987 and CVE-2023-21991

    Introduction Hi, I am Trung (xikhud). Last month, I joined Qrious Secure team as a new member, and my first target was to find and reproduce the security bugs that @bienpnn used at the Pwn2Own Vancouver 2023 to escape the VirtualBox VM. Since VirtualBox is an open-source software, I can just download the source code from their homepage. The version of VirtualBox at the time of the Pwn2Own competition was 7.

  • @Kcnaiamh #6252 12:50 PM, 10 May 2024
    Joined.
  • @WilliamJosephBurnsOfficial #6253 01:15 PM, 10 May 2024
    Joined.
  • @dARG666 #6254 01:34 PM, 10 May 2024
    Joined.
  • @1170542966 #6255 02:20 PM, 10 May 2024
    Joined.
  • @tacbliw #6256 02:45 PM, 10 May 2024
    Joined.
  • @704230165 #6257 03:27 PM, 10 May 2024
    Joined.
  • @VicenteGarciaDiez #6258 03:34 PM, 10 May 2024
    Joined.
  • @huhh0567 #6259 03:37 PM, 10 May 2024
    Joined.
  • @kaganim #6260 03:42 PM, 10 May 2024
    Joined.
  • @GreenMyron #6261 04:07 PM, 10 May 2024
    Joined.
  • @Mas0nShi #6262 04:20 PM, 10 May 2024
    Joined.
  • @xSpr1nter #6263 04:28 PM, 10 May 2024
    Joined.
  • @revflash ↶ Reply to #6231 #6264 04:42 PM, 10 May 2024
    I checked, and it's all good now. Thanks for fixing that. :)
  • @146701544 #6265 04:57 PM, 10 May 2024
    Joined.
  • @ws2022sw #6266 05:33 PM, 10 May 2024
    Joined.
  • @yachawang #6267 06:11 PM, 10 May 2024
    Joined.
  • @L337N4M3 #6268 06:25 PM, 10 May 2024
    Joined.
  • @wanfred #6269 07:04 PM, 10 May 2024
    Joined.
  • @cincout_1 #6270 07:46 PM, 10 May 2024
    Joined.
  • @me_4400 #6271 08:11 PM, 10 May 2024
    Joined.
  • @stark0de #6272 08:42 PM, 10 May 2024
    Joined.
  • @Robs1337 #6273 09:26 PM, 10 May 2024
    Joined.
  • @wgz0001 #6274 09:36 PM, 10 May 2024
    Joined.
  • @7043066698 #6275 09:49 PM, 10 May 2024
    Joined.
  • @therealdreg #6276 11:09 PM, 10 May 2024
    Joined.
  • @therealdreg #6277 11:24 PM, 10 May 2024
    wop
  • 11 May 2024 (18 messages)
  • @Icefrog2000 #6278 12:16 AM, 11 May 2024
    Joined.
  • @HughEverett ↶ Reply to #6277 #6279 03:35 AM, 11 May 2024
    Welcome 🤗
  • @AreYOU_Lost #6280 11:20 AM, 11 May 2024
    Joined.
  • @AreYOU_Lost #6281 11:23 AM, 11 May 2024
    hi guys
  • @punctured #6282 02:14 PM, 11 May 2024
    Joined.
  • @5647431463 #6283 02:18 PM, 11 May 2024
    Joined.
  • @bucks_burnt #6284 02:48 PM, 11 May 2024
    Joined.
  • @x0IAT #6285 04:03 PM, 11 May 2024
    Joined.
  • @t5uami #6286 04:14 PM, 11 May 2024
    Joined.
  • @5325743122 #6287 04:47 PM, 11 May 2024
    Joined.
  • @1128992690 #6288 07:26 PM, 11 May 2024
    Joined.
  • @6431674078 #6289 07:46 PM, 11 May 2024
    Joined.
  • @pipi0010 #6290 07:50 PM, 11 May 2024
    Joined.
  • @Some00ne #6291 09:53 PM, 11 May 2024
    Joined.
  • @shahriar_ee #6293 10:32 PM, 11 May 2024
    Joined.
  • @1543469948 #6294 10:54 PM, 11 May 2024
    Joined.
  • @785823904 #6295 11:30 PM, 11 May 2024
    Joined.
  • @777252047 #6297 11:57 PM, 11 May 2024
    Joined.
  • 12 May 2024 (18 messages)
  • @5940143981 #6298 02:35 AM, 12 May 2024
    Joined.
  • @CBObject #6299 05:29 AM, 12 May 2024
    Joined.
  • @c4d25d04dfa1cd11a83a8f01b81f0547 #6300 05:58 AM, 12 May 2024
    Joined.
  • @MBRsectoriscorrupted #6301 08:28 AM, 12 May 2024
    Joined.
  • @fbertone #6302 08:44 AM, 12 May 2024
    Joined.
  • @400897706 #6304 11:12 AM, 12 May 2024
    Hey Sina jan, is the GUI for hyperdbg still in development? I really like it!
  • @5368845718 ↶ Reply to #6304 #6305 11:27 AM, 12 May 2024
    Is there a gui under development? If you need any help i can do some contributions in my free times.
  • @5368845718 #6306 11:28 AM, 12 May 2024
    I had plans to implement one by myself but I never had much free time to do it. If you started it i can give some help.
  • @pmmiik #6307 12:11 PM, 12 May 2024
    Joined.
  • @400897706 ↶ Reply to #6306 #6308 02:13 PM, 12 May 2024
    Yeah take a look:
    https://github.com/HyperDbg/gui
    GitHub - HyperDbg/gui: HyperDbg's Graphical User Interface (GUI)

    HyperDbg's Graphical User Interface (GUI). Contribute to HyperDbg/gui development by creating an account on GitHub.

  • @HughEverett ↶ Reply to #6304 #6309 03:03 PM, 12 May 2024
    Nope, I think the development is stopped
  • @HughEverett #6310 03:04 PM, 12 May 2024
    Honestly, I'm not sure if we made a mistake of using 'go' as the primary language for the GUI as I think it's so hard to integrate it with the current code base of HyperDbg.
  • @HughEverett #6311 03:05 PM, 12 May 2024
    If you guys could help on developing a new GUI written in C/C++, that would be also great.
  • @HughEverett #6312 03:06 PM, 12 May 2024
    And of course we need something that is able to run on any operating systems (Windows, Linux, BSD). Since we already start working on porting HyperDbg into Linux.
  • @400897706 ↶ Reply to #6312 #6313 03:36 PM, 12 May 2024
    Qt is the best bet i guess
  • @5368845718 ↶ Reply to #6312 #6314 03:39 PM, 12 May 2024
    Sorry I can only help you with a native Windows GUI, that’s all I can and that’s what I had planned.
  • @grootdxb #6315 07:14 PM, 12 May 2024
    Joined.
  • @revflash ↶ Reply to #6313 #6316 11:35 PM, 12 May 2024
    I know how to code in C++/Qt. If you guys think it's cool, I may need some help to integrate the code.
  • 13 May 2024 (8 messages)
  • @x13368 ↶ Reply to #6312 #6317 10:07 AM, 13 May 2024
    I know use qt too
  • @x13368 #6318 10:08 AM, 13 May 2024
    Maybe use wxWidget
  • @HughEverett #6319 11:52 AM, 13 May 2024
    That's great. We could create a separate Telegram group for discussing plans for creating a better GUI. If anyone is interested in contributing in this GUI project, please let me know to add you to the group.
  • @revflash ↶ Reply to #6319 #6320 12:35 PM, 13 May 2024
    That would be great.
  • @TripleFriedBacon #6321 01:38 PM, 13 May 2024
    Joined.
  • @x13368 ↶ Reply to #6319 #6322 01:59 PM, 13 May 2024
    It is great time coming soon
  • @Nitr0_G ↶ Reply to #6319 #6323 03:15 PM, 13 May 2024
    Yes, it would really be better to create a separate channel. At the same time, I can provide most of the GUI on Imgui, we only need to write additional functions in some places and add a couple of parts.
  • @x13368 #6325 05:54 PM, 13 May 2024
    Just start it
  • 14 May 2024 (7 messages)
  • @HughEverett #6326 12:11 PM, 14 May 2024
    Alright.

    Please join @x863023 @Nitr0_G @revflash Amin Arash and anyone who is interested for discussing and contributing in GUI.

    https://t.me/+6EqMcs_gvMM0ZWJk
    mix

    LLMs, Microsoft's bing, Google’s Bard, it's a foregone conclusion

  • @x13368 #6327 12:43 PM, 14 May 2024
    1
  • @HughEverett #6328 03:53 PM, 14 May 2024
    https://twitter.com/HyperDbg/status/1790409522479268296
  • @HughEverett ↶ Reply to #6328 #6329 03:53 PM, 14 May 2024

    photo_2024-05-14_15-53-47.jpg
  • @invlpg ↶ Reply to #6328 #6330 03:54 PM, 14 May 2024
    sticker.webm
  • @HughEverett ↶ Reply to #6329 #6331 03:55 PM, 14 May 2024
    This one is really a good news. HyperDbg has been developed mainly by using VMware Workstation Pro. So, it's well-tested on this platform and now VMware Workstation Pro is free. 👌
  • @x13368 ↶ Reply to #6329 #6332 04:09 PM, 14 May 2024
    Nice bro 🎉🎊
  • 15 May 2024 (1 messages)
  • @notbelu #6333 02:04 PM, 15 May 2024
    Joined.
  • 17 May 2024 (19 messages)
  • @448554604 #6334 07:26 AM, 17 May 2024
    Joined.
  • @1906828983 #6335 01:59 PM, 17 May 2024
    Why does this exception sometimes occur?
    Access violation - code c0000005 (!!! second chance !!!)
    nt!HvlpGetRegister64+0xd6:
    fffff806`13885ece 48c1e220 shl rdx,20h
    1: kd> k
    # Child-SP RetAddr Call Site
    00 ffff8301`f44d06c0 fffff806`1387e54d nt!HvlpGetRegister64+0xd6
    01 ffff8301`f44d06f0 fffff806`1389eb6f nt!HvlLogGuestCrashInformation+0x39
    02 ffff8301`f44d0730 fffff806`137bf147 nt!KeBugCheck2+0x7cf
    03 ffff8301`f44d0e50 fffff806`138ab053 nt!KeBugCheckEx+0x107
    04 ffff8301`f44d0e90 fffff806`137ca05c nt!KiMcheckFastForward+0x223
    05 ffff8301`f44d0ed0 fffff806`1389b029 nt!KiNmiInterrupt+0x19c
    06 ffff8301`f44d0d40 00000000`00000000 nt!KiProcessNMI+0x179
  • @honorary_bot ↶ Reply to #6335 #6336 02:49 PM, 17 May 2024
    Looks like you’re trying to run with VBS enabled. I’m not sure if hyperdbg supports nested virtualization
  • @1906828983 #6337 02:51 PM, 17 May 2024
    No, if vbs is turned on, hvdbg cannot be started at all.
  • @HughEverett ↶ Reply to #6336 #6338 03:40 PM, 17 May 2024
    No, HyperDbg doesn't support nested virtualization for hyper-v (and of course VBS).
  • @HughEverett ↶ Reply to #6335 #6339 03:41 PM, 17 May 2024
    Is it happening randomly? Or any specific command (extension command) is running in the background?
  • @HughEverett #6340 03:42 PM, 17 May 2024
    How often it happens? Is there any way to deterministically reproduce it?
  • @1906828983 #6341 03:44 PM, 17 May 2024
    It's random and I can't reproduce it. I mainly used the !epthook command before
  • @1906828983 #6342 03:45 PM, 17 May 2024
    Also, I found that hvdbg is much more stable on a real machine than a virtual machine😂, but most people probably use virtual machines to analyze software.
  • @HughEverett ↶ Reply to #6342 #6343 03:46 PM, 17 May 2024
    The problem with virtual machines is that they are a custom implementation of Intel VT-x (nested virtualization).
  • @HughEverett #6344 03:47 PM, 17 May 2024
    Usually doesn't reflect the real implementation of Intel in real physical machines.
  • @1906828983 #6345 03:54 PM, 17 May 2024
    Okay, but using a real machine is much more expensive than a virtual machine. Will Microsoft's own Hyper-V have better compatibility? But it is not currently supported.
  • @HughEverett ↶ Reply to #6345 #6346 03:57 PM, 17 May 2024
    The problem with hyper-v is that basically Microsoft adds lots of stupid assumptions that needs handling different situations from hypervisor developers.
  • @HughEverett #6347 03:58 PM, 17 May 2024
    Even KVM developers have lots of problems when they were handling hyper-v. You can see it on their git and mailing logs.
  • @1906828983 #6348 04:00 PM, 17 May 2024
    Alright😂
  • @HughEverett #6349 04:00 PM, 17 May 2024
    Take a look at this tweet thread: https://twitter.com/Intel80x86/status/1523033338407235585
    Sinaei (@Intel80x86) on X

    @33y0re Microsoft TLFS is overwhelming indeed, yet, there's more than meets the eye, and this barely stems from the sheer volume of the documentation one would have to go through, and the full extent of the struggle would only reveal itself once one is deep into the development. (1/5)

  • @HughEverett #6350 04:01 PM, 17 May 2024
    I just don't wanna waste more time on it. Already spent months and months without a single bit of progress.
  • @ma_kariman #6351 06:01 PM, 17 May 2024
    Joined.
  • @1906828983 #6352 08:02 PM, 17 May 2024
    Does anyone here have experience using hvdbg to analyze patchguard?
  • 18 May 2024 (13 messages)
  • @jalynk_23 #6353 04:24 AM, 18 May 2024
    Joined.
  • @DancingSnow #6354 08:18 AM, 18 May 2024
    Joined.
  • @1906828983 #6355 11:44 AM, 18 May 2024
    @HughEverett I want to use hvdbg on my old Windows 10 machine, but it won't load because the current hvlog uses ExAllocatePool2, which this system doesn't support. When I change ExAllocatePool2 to ExAllocatePoolWithTag, it loads, but it causes the virtual machine to immediately restart.
  • @1906828983 #6356 11:48 AM, 18 May 2024
    I noticed that the [new API](https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/updating-deprecated-exallocatepool-calls) mainly zeros out the allocated buffer and returns null on failure. Besides these, there don't seem to be any other significant advantages. Is there any particular reason why it is necessary to use them? It's strange that changing it back causes the machine to immediately restart.
    Updating Deprecated ExAllocatePool Calls to ExAllocatePool2 and ExAllocatePool3 - Windows drivers

    Learn about Updating deprecated ExAllocatePool calls to ExAllocatePool2 and ExAllocatePool3

  • @honorary_bot #6357 11:53 AM, 18 May 2024
    ExAllocatePool3 is used for VBS secured allocations
  • @honorary_bot #6358 11:54 AM, 18 May 2024
    The driver may ask to enforce page attributes on the allocation. Those attributes cannot be changed even by modifying PTEs in a guest partition
  • @1906828983 ↶ Reply to #6357 #6359 12:05 PM, 18 May 2024
    But lost compatibility😅
  • @honorary_bot #6360 12:05 PM, 18 May 2024
    Well, this is a cost of progress
  • @1376494095 #6361 01:06 PM, 18 May 2024
    Which protections are currently the most difficult to crack?
  • @5781093824 ↶ Reply to #6311 #6362 04:19 PM, 18 May 2024
    Qt would be cool
  • @5368845718 ↶ Reply to #6359 #6363 04:20 PM, 18 May 2024
    You can always check which version of Windows is running
  • @HughEverett ↶ Reply to #6355 #6364 05:02 PM, 18 May 2024
    Is it just because we used ExAllocatePool2? Have you tried to replace it with the older version (ExAllocatePoolWithTag) and recompile?
  • @HughEverett #6365 05:03 PM, 18 May 2024
    As long as I remember we gathered all of the kernel pool allocations in only one platform-specific function, so you probably only needed to replace it on one single function.
  • 19 May 2024 (3 messages)
  • @1906828983 ↶ Reply to #6365 #6366 03:45 AM, 19 May 2024
    Yes, I only replaced the api of the following file and it loaded, but it triggered a restart (in vmware)
  • @1906828983 #6367 03:45 AM, 19 May 2024
    test.7z
  • @1906828983 ↶ Reply to #6367 #6368 03:50 AM, 19 May 2024
    The latest main branch I use
  • 20 May 2024 (33 messages)
  • @HughEverett ↶ Reply to #6366 #6369 05:56 AM, 20 May 2024
    What is the processor of your testing system? I mean which generation of Intel processors?
  • @HughEverett #6370 05:56 AM, 20 May 2024
    And what version of Windows?
  • @1906828983 ↶ Reply to #6370 #6371 08:07 AM, 20 May 2024
    Windows 10 Kernel Version 17763 MP (2 procs) Free x64
    Product: WinNt, suite: TerminalServer SingleUserTS
    Edition build lab: 17763.1.amd64fre.rs5_release.180914-1434
  • @1906828983 ↶ Reply to #6371 #6372 08:09 AM, 20 May 2024
    i7 9750h (Test in vmware)
  • @1906828983 ↶ Reply to #6372 #6373 08:10 AM, 20 May 2024

    photo_2024-05-20_08-10-50.jpg
  • @1906828983 #6374 08:34 AM, 20 May 2024
    https://docs.hyperdbg.org/commands/extension-commands/track Can't the track command specify a process ID or a certain driver module?
    !track (track and map function calls and returns to the symbols) | HyperDbg Documentation

    Description of the '!track' command in HyperDbg.

  • @HughEverett ↶ Reply to #6372 #6375 05:29 PM, 20 May 2024
    I'm skeptical that it might be a problem that we previously see with 9th gen Intel processors. 🤔
  • @HughEverett #6376 05:31 PM, 20 May 2024
    Could you inverstigate it to see whether the restart happens after executing VMLAUNCH instruction? You need to modify the source code and add a 'DbgBreakpoint();' before executing '__vmx_vmlaunch();' and check if it hits on WinDbg or not.
  • @HughEverett ↶ Reply to #6374 #6377 05:32 PM, 20 May 2024
    The '!track' command guarantees to maintain and stick to the current process in CPU without letting other cores and processes to run. So, basically having a PID doesn't make sense.
  • @1906828983 #6378 05:33 PM, 20 May 2024
    As a processor design specification, shouldn’t virtualization be very complete? In theory, there should not be such defects that are not supported across generations (because compatibility must be ensured)
  • @1906828983 ↶ Reply to #6376 #6379 05:34 PM, 20 May 2024
    Okay, I'll try it when I have time
  • @HughEverett ↶ Reply to #6378 #6380 05:36 PM, 20 May 2024
    Yep, that's right but this is a problem that was only reported on 9th gen processors. It's not necessarily a problem with the processor, maybe Windows behaves differently (use processor features differently) in 9th gen processors.
  • @1906828983 ↶ Reply to #6376 #6382 05:51 PM, 20 May 2024

    photo_2024-05-20_17-51-50.jpg
  • @1906828983 #6383 05:52 PM, 20 May 2024
    I modify it here, right?
  • @1906828983 #6384 05:57 PM, 20 May 2024
    There is no problem when executing vmlaunch for the first time and restarting for the second time.
  • @HughEverett ↶ Reply to #6383 #6385 06:09 PM, 20 May 2024
    Yes
  • @HughEverett ↶ Reply to #6384 #6386 06:09 PM, 20 May 2024
    What do you mean by first time and second time?
  • @1906828983 #6387 06:11 PM, 20 May 2024
    __vmx_vmlaunch() is used twice; the first call is normal, the second call causes the system to restart.
  • @HughEverett ↶ Reply to #6387 #6388 06:13 PM, 20 May 2024
    No, it's used only one time, the reason you see two calls is because you probably have two cores. Could you change your VM settings to only one core and test it again?
  • @1906828983 #6389 06:13 PM, 20 May 2024
    ok
  • @1906828983 #6390 06:17 PM, 20 May 2024
    reboot anyway
  • @HughEverett ↶ Reply to #6390 #6391 06:18 PM, 20 May 2024
    After running VMLAUNCH?
  • @1906828983 #6392 06:18 PM, 20 May 2024
    yes
  • @HughEverett ↶ Reply to #4088 #6393 06:19 PM, 20 May 2024
    This is again the same error reported here.
  • @1906828983 ↶ Reply to #6393 #6394 06:20 PM, 20 May 2024
    😂😂
  • @1906828983 #6395 06:21 PM, 20 May 2024
    Is there any good solution. I can help you debug now
  • @HughEverett ↶ Reply to #6395 #6396 06:21 PM, 20 May 2024
    The problem is I don't know what happens in this specific type of CPU (9750h).
  • @HughEverett #6397 06:22 PM, 20 May 2024
    Last time we try to investigate it thoroughly, but we couldn't find anything special. The same CPU error was also reported by @ricnar previously.
  • @HughEverett #6398 06:23 PM, 20 May 2024
    Something is really weird with this specific CPU. 🤔
  • @1906828983 #6399 06:27 PM, 20 May 2024
    I've tried hyperplatform before and it had no problems. Maybe compare the differences?
  • @1906828983 #6400 06:29 PM, 20 May 2024
    Try checking the code before this
    https://github1s.com/tandasat/HyperPlatform/blob/master/HyperPlatform/vm.cpp#L831-L832
  • @HughEverett ↶ Reply to #6399 #6401 06:30 PM, 20 May 2024
    That could be a good way to start by in that case you need to check all of the VMCS fields set by each hypervisors and see whether it fixes the problem or not which could be really time consuming.
  • @1906828983 #6402 06:32 PM, 20 May 2024
    I don’t know if @tandasat is in the group, otherwise I can ask him for advice.
  • 21 May 2024 (1 messages)
  • @zwcursed #6403 06:50 PM, 21 May 2024
    Joined.
  • 23 May 2024 (1 messages)
  • @Hamedsj5 #6404 05:42 PM, 23 May 2024
    Joined.
  • 24 May 2024 (1 messages)
  • @XCyber #6405 08:30 AM, 24 May 2024
    In addition to commendable HyperDbg project, if interested in a Ring 0 system freezer:
    https://cm64.pro
    Link

    A x64 freezer/debugger for windows

  • 28 May 2024 (1 messages)
  • @realfathonix #6406 09:27 AM, 28 May 2024
    Joined.
  • 29 May 2024 (7 messages)
  • @ma_jiajue #6407 01:35 PM, 29 May 2024
    Is this directory containing kernel drivers? For example, EPT, Intel PT, and so on..
  • @ma_jiajue #6408 01:35 PM, 29 May 2024

    photo_2024-05-29_13-35-53.jpg
  • @HughEverett ↶ Reply to #6407 #6409 05:32 PM, 29 May 2024
    Some Intel PT modules are implemented but then due to some technical problems we left it for the future support.
  • @HughEverett ↶ Reply to #6408 #6410 05:33 PM, 29 May 2024
    hprdbghv is the hypervisor core.
  • @HughEverett #6411 05:33 PM, 29 May 2024
    hprdbgkd is the kernel debugger source. hprdbgctrl is the main user interface.
  • @HughEverett #6412 05:35 PM, 29 May 2024
    Pls take a look at: https://github.com/HyperDbg/HyperDbg/blob/master/CONTRIBUTING.md#source-code-tree

    For the source tree
    HyperDbg/CONTRIBUTING.md at master · HyperDbg/HyperDbg

    State-of-the-art native debugging tool. Contribute to HyperDbg/HyperDbg development by creating an account on GitHub.

  • @6567189013 #6413 07:25 PM, 29 May 2024
    Joined.
  • 01 May 2024 (2)
  • 05 May 2024 (1)
  • 06 May 2024 (10)
  • 07 May 2024 (47)
  • 08 May 2024 (1)
  • 10 May 2024 (53)
  • 11 May 2024 (18)
  • 12 May 2024 (18)
  • 13 May 2024 (8)
  • 14 May 2024 (7)
  • 15 May 2024 (1)
  • 17 May 2024 (19)
  • 18 May 2024 (13)
  • 19 May 2024 (3)
  • 20 May 2024 (33)
  • 21 May 2024 (1)
  • 23 May 2024 (1)
  • 24 May 2024 (1)
  • 28 May 2024 (1)
  • 29 May 2024 (7)