@hyperdbg

@hyperdbg / Public archive of HyperDbg Telegram messages.

  • 2025

    • May 2025 (97)
    • Apr 2025 (303)
    • Mar 2025 (443)
    • 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
  • 1
  • 2
  • 25 June 2023 (57 messages)
  • @ricnar #1287 09:28 AM, 25 Jun 2023
    This will be awesome for unpacking
  • @ricnar #1288 09:29 AM, 25 Jun 2023
    I will try, maybe I will share a video with my experiences using it in some time
  • @ricnar #1289 09:30 AM, 25 Jun 2023
    Thanks
  • @5820127461 #1290 11:51 AM, 25 Jun 2023
    Joined.
  • @afkuvzrkar #1291 12:27 PM, 25 Jun 2023
    Joined.
  • @prekvapko ↶ Reply to #1267 #1293 01:55 PM, 25 Jun 2023
    When running the command.
  • @prekvapko #1294 01:56 PM, 25 Jun 2023
    I tried to patch vmcall on a pid with 90 90 90
  • @prekvapko #1295 01:56 PM, 25 Jun 2023
    i.e, the custom code thingy
  • @prekvapko #1296 01:56 PM, 25 Jun 2023
    I tried to use it with conditions as well, nope.
  • @prekvapko #1297 01:56 PM, 25 Jun 2023
    Tried a script to log at least, also not allowed
  • @HughEverett ↶ Reply to #1293 #1298 02:10 PM, 25 Jun 2023
    Didn't get the point. You gonna patch a VMCALL like change the memory (editing memory)?
  • @prekvapko #1299 02:30 PM, 25 Jun 2023
    Yes.
  • @prekvapko #1300 02:31 PM, 25 Jun 2023
    I guess I could’ve searched for bytes and added an ept hook
  • @prekvapko #1301 02:31 PM, 25 Jun 2023
    it’s just hard to do because I need to clone an entire driver, ept hook the complete binary (due to access timings)
  • @prekvapko #1302 02:31 PM, 25 Jun 2023
    forward read to the clone
  • @prekvapko #1303 02:32 PM, 25 Jun 2023
    or ept hook only the instructions but its a pita to automate with a script
  • @prekvapko #1304 02:32 PM, 25 Jun 2023
    maybe the sdk will be easier to use
  • @prekvapko #1305 02:32 PM, 25 Jun 2023
    (and I also can’t load hyperdbg until after the driver’s loaded, because it freezes my system)
  • @prekvapko #1306 02:32 PM, 25 Jun 2023
    anyways; got myself a laptop and new mobo with com port, so I can find where the freeze happens and patch that..
  • @prekvapko #1307 02:33 PM, 25 Jun 2023
    Just waiting for the cable to come, I didn’t have it in any of my 6 pcs, some had ports but not the correct cable :/
  • @HughEverett ↶ Reply to #1300 #1308 02:47 PM, 25 Jun 2023
    Still didn't get the point but anyway, if you want to edit memory then you can use 'e*' commands like:
    https://docs.hyperdbg.org/commands/debugging-commands/e

    If you want to intercept VMCALLs then it's a completely different thing. In this case, you can use the '!vmcall' event command:
    https://docs.hyperdbg.org/commands/extension-commands/vmcall

    But in case if you want to modify (patch) the memory once you encounter a VMCALL, then you could write an script for the '!vmcall' event, in which it modifies the memory using script functions:
    https://docs.hyperdbg.org/commands/scripting-language/functions/memory/eb-ed-eq
    eb, ed, eq (edit virtual memory)

    Description of 'eb, ed, eq' commands in HyperDbg.

  • @prekvapko #1309 02:54 PM, 25 Jun 2023
    Yes, but !vmcall interception seems to not work under VMI.
  • @prekvapko #1310 02:54 PM, 25 Jun 2023
    At least from when I tried.
  • @HughEverett ↶ Reply to #1309 #1311 03:19 PM, 25 Jun 2023
    Are you sure that the target machine execute VMCALL? Because, it's not really common. The only virtual machine that I encounter to execute VMCALL is hyper-v. In nested virtualization environments like VMware, no VMCALLs will be executed. HyperDbg executes VMCALL for its internal usage but those VMCALLs are supposed to be transparent from the 'events'.
  • @HughEverett #1312 03:20 PM, 25 Jun 2023
    I mean it's kinda weird for me why your target environment wants execute VMCALL? If it a hypervisor itself, then how HyperDbg can even debug it?
  • @HughEverett #1313 03:21 PM, 25 Jun 2023
    🤔
  • @prekvapko #1314 05:00 PM, 25 Jun 2023
    The anti-hv aspects call it.
  • @prekvapko #1315 05:00 PM, 25 Jun 2023
    Of the driver
  • @prekvapko #1316 05:01 PM, 25 Jun 2023
    Wrapped in SEH
  • @prekvapko #1317 05:01 PM, 25 Jun 2023
    along with other things
  • @Candrias #1318 05:24 PM, 25 Jun 2023
    Joined.
  • 26 June 2023 (42 messages)
  • @Be_molaaa #1319 03:01 AM, 26 Jun 2023
    Joined.
  • @ricnar #1320 10:50 AM, 26 Jun 2023
    hello
  • @ricnar #1321 10:50 AM, 26 Jun 2023
    i changed the context to this process
  • @ricnar #1322 10:50 AM, 26 Jun 2023

    photo_2023-06-26_10-50-59.jpg
  • @ricnar #1323 10:51 AM, 26 Jun 2023
    how is the equivalent of windbg !process 0 -1
  • @ricnar #1324 10:52 AM, 26 Jun 2023
    to check the actual process
  • @HughEverett ↶ Reply to #1323 #1325 10:52 AM, 26 Jun 2023
    Hi, what does "!process 0 -1" do ? Does it show the information of the running processes? or the current process?
  • @ricnar #1326 10:53 AM, 26 Jun 2023
    current process context
  • @ricnar #1327 10:54 AM, 26 Jun 2023
    i this is !process -1 0 sorry
  • @HughEverett #1328 10:54 AM, 26 Jun 2023
    .process (without any parameter) showes the current context and '.process list' shows all processes.

    https://docs.hyperdbg.org/commands/meta-commands/.process#examples
    .process, .process2 (show the current process and switch to another process)

    Description of '.process, .process2' commands in HyperDbg.

  • @ricnar #1329 10:54 AM, 26 Jun 2023
    thanks
  • @ricnar #1330 10:55 AM, 26 Jun 2023

    photo_2023-06-26_10-55-34.jpg
  • @ricnar #1331 10:55 AM, 26 Jun 2023
    👍🏻
  • @HughEverett ↶ Reply to #1330 #1332 10:56 AM, 26 Jun 2023
    anyway, there is a command map (between debuggers), might be useful. Sure it doesn't cover everything but might be helpful:

    https://hyperdbg.github.io/commands-map/
  • @ricnar #1333 10:56 AM, 26 Jun 2023
    thanks
  • @ricnar #1334 10:57 AM, 26 Jun 2023
    another question the lm command in windbg shows the pdb file downloaded
  • @ricnar #1335 10:57 AM, 26 Jun 2023
    and you can know if the symbol is downloaded or not
  • @ricnar #1336 10:58 AM, 26 Jun 2023
    here the lm command does not show if the file has the symbol downloaded or not
  • @ricnar #1337 10:58 AM, 26 Jun 2023

    photo_2023-06-26_10-58-38.jpg
  • @HughEverett ↶ Reply to #1336 #1339 11:02 AM, 26 Jun 2023
    Not exactly the same but '.sym table' works somehow in the same way.
  • @ricnar #1340 11:21 AM, 26 Jun 2023
    perfect thanks
  • @ricnar #1341 11:24 AM, 26 Jun 2023
    why this happem?
  • @ricnar #1342 11:24 AM, 26 Jun 2023
    1: kHyperDbg> .sym download
    loading symbol 'c:\Symbols\ntdll.pdb\75f14e124f6f8595b922d69f10c037891\ntdll.pdb'... could not be loaded
    loading symbol 'c:\Symbols\kernel32.pdb\d40085df05d6d9e38611c48f717c20521\kernel32.pdb'... could not be loaded
    loading symbol 'c:\Symbols\kernelbase.pdb\b5bee0e5d00b2fc77c9d4568aa7cb0aa1\kernelbase.pdb'... could not be loaded
    loading symbol 'c:\Symbols\advapi32.pdb\cd5ba18dc9d5b08b75f2a08f368012e01\advapi32.pdb'... loaded
    loading symbol 'c:\Symbols\msvcrt.pdb\8f2b808e7da36eb90342fdd8bca575db1\msvcrt.pdb'... could not be loaded
    loading symbol 'c:\Symbols\sechost.pdb\f0ccaf8276ce8711a7e0e92ad742f0701\sechost.pdb'... could not be loaded
    loading symbol 'c:\Symbols\rpcrt4.pdb\af37c920e612b73650237fa1e0be85261\rpcrt4.pdb'... could not be loaded
    loading symbol 'c:\Symbols\shlwapi.pdb\755b230288bf549eb86d22f54afa45f71\shlwapi.pdb'... could not be loaded
    loading symbol 'c:\Symbols\ws2_32.pdb\5c73fc6f5404081459a8538913657c761\ws2_32.pdb'... loaded
    loading symbol 'c:\Symbols\psapi.pdb\ee2878ac2a70fe7d5febbfc5e9b124a01\psapi.pdb'... could not be loaded
  • @ricnar #1343 11:24 AM, 26 Jun 2023
    not loaded
  • @ricnar #1344 11:25 AM, 26 Jun 2023
    sorry so many questions
  • @ricnar #1345 11:27 AM, 26 Jun 2023
    i made a reload
  • @HughEverett ↶ Reply to #1342 #1346 11:46 AM, 26 Jun 2023
    Probably it's already loaded?
  • @HughEverett ↶ Reply to #1344 #1347 11:47 AM, 26 Jun 2023
    Sure thing.
  • @ricnar #1348 11:48 AM, 26 Jun 2023
    Sorry
  • @HughEverett ↶ Reply to #1348 #1349 12:18 PM, 26 Jun 2023
    Is it solved? Was it already loaded?
  • @ricnar #1350 12:19 PM, 26 Jun 2023
    yes but i have another problem
  • @ricnar #1351 12:20 PM, 26 Jun 2023
    from remote kernel debugging a process cannot start
  • @ricnar #1352 12:20 PM, 26 Jun 2023
    0: kHyperDbg> .start path C:\Users\ricnar456\Desktop\caffeine64.exe
    debuggee is running...
  • @ricnar #1353 12:20 PM, 26 Jun 2023
    does not start in the target
  • @ricnar #1354 12:20 PM, 26 Jun 2023
    and does not return to the host debugger
  • @ricnar #1355 12:21 PM, 26 Jun 2023

    photo_2023-06-26_12-21-44.jpg
  • @ricnar #1356 12:22 PM, 26 Jun 2023

    photo_2023-06-26_12-22-30.jpg
  • @HughEverett ↶ Reply to #1352 #1357 12:23 PM, 26 Jun 2023
    yes; this is a problem that recently occurs. Probably something is changed in Windows that our process starting mechanism is not working anymore. I have to find it and solve it.
  • @ricnar #1358 12:24 PM, 26 Jun 2023
    thanks
  • @HughEverett ↶ Reply to #1358 #1359 12:24 PM, 26 Jun 2023
    I'll let you know once it's fixed.
  • @ricnar #1360 12:25 PM, 26 Jun 2023
    thanks
  • @oldCyberThief #1361 01:15 PM, 26 Jun 2023
    Joined.
  • 27 June 2023 (131 messages)
  • @ricnar #1362 07:36 AM, 27 Jun 2023
    hello
  • @ricnar #1363 07:36 AM, 27 Jun 2023

    photo_2023-06-27_07-36-53.jpg
  • @ricnar #1364 07:36 AM, 27 Jun 2023
    i have this error
  • @HughEverett ↶ Reply to #1363 #1365 07:43 AM, 27 Jun 2023
    Hi,
    For which command? How can I reproduce it?
  • @HughEverett #1366 07:44 AM, 27 Jun 2023
    Triple fault error typically occurs during guest execution when the CPU encounters three consecutive faults without successfully recovering from any of them.
  • @ricnar #1367 07:45 AM, 27 Jun 2023
    i don't know, yesterday i let the target debbugging, running with G command and today appears in this state
  • @ricnar #1368 07:45 AM, 27 Jun 2023
    nothing can be made only restart
  • @ricnar #1369 07:45 AM, 27 Jun 2023
    cannot be paused or break with ctrl c
  • @ricnar #1370 07:45 AM, 27 Jun 2023
    or return to the execution of the target
  • @HughEverett #1371 07:45 AM, 27 Jun 2023
    you mean, you can't use HyperDbg anymore? even restarting guest doesn't help ?
  • @ricnar #1372 07:46 AM, 27 Jun 2023
    restarting was the only way
  • @ricnar #1373 07:46 AM, 27 Jun 2023
    cannot break in the host console
  • @ricnar #1374 07:46 AM, 27 Jun 2023
    with ctrl C
  • @HughEverett ↶ Reply to #1373 #1375 07:46 AM, 27 Jun 2023
    Yes; this is bad fault that can't be recovered.
  • @HughEverett #1376 07:47 AM, 27 Jun 2023
    but the thing is, how can I reproduce it to handle this situation?
  • @ricnar #1377 07:47 AM, 27 Jun 2023
    maybe a bsod tonigth
  • @HughEverett #1378 07:47 AM, 27 Jun 2023
    Can you reproduce it ?
  • @ricnar #1379 07:47 AM, 27 Jun 2023
    i don't know the target was running tonigth
  • @ricnar #1380 07:48 AM, 27 Jun 2023
    maybe some bsod happen
  • @HughEverett #1381 07:48 AM, 27 Jun 2023
    oh, you mean after some (probably) hours, HyperDbg starts showing triple fault errors?
  • @ricnar #1382 07:49 AM, 27 Jun 2023
    i don't know
  • @HughEverett #1383 07:50 AM, 27 Jun 2023
    Did you just run hyperdbg's hypervisor without any event (e.g., !syscall, or !epthook)?
  • @ricnar #1384 07:50 AM, 27 Jun 2023
    this is a laboratory target maybe some fault can occurr
  • @ricnar #1385 07:51 AM, 27 Jun 2023
    only connect hyperdbg to target and type G
  • @HughEverett ↶ Reply to #1385 #1386 07:51 AM, 27 Jun 2023
    At the very start point, HyperDbg starts showing triple faults?
  • @HughEverett #1387 07:52 AM, 27 Jun 2023
    or after some times?
  • @ricnar #1388 07:52 AM, 27 Jun 2023
    if this happens again i will give more attention
  • @HughEverett ↶ Reply to #1388 #1389 07:52 AM, 27 Jun 2023
    👌👍
  • @ricnar #1390 07:52 AM, 27 Jun 2023
    this happened while i was sleeping
  • @ricnar #1391 07:52 AM, 27 Jun 2023
    i found the cmd looping in this state
  • @ricnar #1392 07:53 AM, 27 Jun 2023
    i don't know was happen in the night
  • @ricnar #1393 07:53 AM, 27 Jun 2023
    if this happen again i give it more attention
  • @HughEverett #1394 07:53 AM, 27 Jun 2023
    I have to create a guide for debugging HyperDbg itself. Because these errors are really hard to investigate and reproduce.
  • @HughEverett #1395 07:54 AM, 27 Jun 2023
    Specially when it comes to multi core systems
  • @HughEverett #1396 07:54 AM, 27 Jun 2023
    🤪
  • @5539033269 #1397 07:54 AM, 27 Jun 2023
    😘
  • @ricnar #1398 07:55 AM, 27 Jun 2023
    👍
  • @ricnar #1399 08:01 AM, 27 Jun 2023
    which is the command similar to .reload /user
  • @ricnar #1400 08:01 AM, 27 Jun 2023
    to load the user mode symbols
  • @ricnar #1401 08:02 AM, 27 Jun 2023
    in a context
  • @ricnar #1402 08:02 AM, 27 Jun 2023
    it loads the kernel symbols only
  • @ricnar #1403 08:03 AM, 27 Jun 2023

    photo_2023-06-27_08-03-01.jpg
  • @HughEverett ↶ Reply to #1399 #1404 09:42 AM, 27 Jun 2023
    do you mean only user-mode symbols? because generally, '.sym reload' should load symbols for both user-mode and kernel-mode.
  • @ricnar #1405 09:44 AM, 27 Jun 2023
    I mean all the symbols user and kernel, in the list only kernel symbols are listed, user mode symbols are omitted
  • @ricnar #1406 09:46 AM, 27 Jun 2023
    I am in the context of an executable not listed, ntdll.dll, kernel 32.dll etc are not listed too
  • @ricnar #1407 09:47 AM, 27 Jun 2023
    In windbg reload /f only load kernel symbols when remote kernel debugging are performed
  • @ricnar #1408 09:48 AM, 27 Jun 2023
    Only using reload / user loads user symbols
  • @ricnar #1409 09:49 AM, 27 Jun 2023

    photo_2023-06-27_09-49-06.jpg
  • @ricnar #1410 09:49 AM, 27 Jun 2023
    Look the addresses user mode addresses are not displayed
  • @HughEverett ↶ Reply to #1409 #1411 10:00 AM, 27 Jun 2023
    It also loads user-mode symbols as well.

    photo_2023-06-27_10-00-32.jpg
  • @HughEverett ↶ Reply to #1411 #1412 10:00 AM, 27 Jun 2023
    It's the result of '.sym table'
  • @HughEverett #1413 10:01 AM, 27 Jun 2023

    photo_2023-06-27_10-01-15.jpg
  • @ricnar #1414 10:02 AM, 27 Jun 2023
    i see
  • @ricnar #1415 10:02 AM, 27 Jun 2023
    the command lm is incomplete
  • @ricnar #1416 10:02 AM, 27 Jun 2023
    it does not list all the modules
  • @ricnar #1417 10:02 AM, 27 Jun 2023
    only kernel modules
  • @HughEverett ↶ Reply to #1409 #1418 10:02 AM, 27 Jun 2023
    This is the result of 'lm' command. Do you want to see the user-mode modules? or load symbols for user-mode modules?
  • @ricnar #1419 10:03 AM, 27 Jun 2023
    i use lm in windbg to see the pdbs, but is used to list all the modules
  • @ricnar #1420 10:03 AM, 27 Jun 2023
    lm not list all the modules here
  • @HughEverett #1421 10:03 AM, 27 Jun 2023
    No, lm command also shows user-mode modules. (but it won't load symbols for them, loading symbols are only available on '.sym' command).
  • @ricnar #1422 10:03 AM, 27 Jun 2023
    lm list only kernel modules
  • @ricnar #1423 10:03 AM, 27 Jun 2023
    lm does not list the user modules here
  • @HughEverett ↶ Reply to #1423 #1424 10:04 AM, 27 Jun 2023

    photo_2023-06-27_10-04-12.jpg
  • @ricnar #1425 10:04 AM, 27 Jun 2023

    photo_2023-06-27_10-04-26.jpg
  • @ricnar #1426 10:04 AM, 27 Jun 2023
    look the table
  • @ricnar #1427 10:04 AM, 27 Jun 2023

    photo_2023-06-27_10-04-51.jpg
  • @ricnar #1428 10:04 AM, 27 Jun 2023
    look the lm command
  • @ricnar #1429 10:05 AM, 27 Jun 2023
    the user modules are not displayed
  • @HughEverett ↶ Reply to #1428 #1430 10:06 AM, 27 Jun 2023
    what's the result of 'lm um' command ?
  • @ricnar #1431 10:06 AM, 27 Jun 2023
    display only kernel modules
  • @ricnar #1432 10:06 AM, 27 Jun 2023
    ahh
  • @ricnar #1433 10:06 AM, 27 Jun 2023
    i see
  • @HughEverett #1434 10:06 AM, 27 Jun 2023
    lm um

    should only display user-mode modules. not kernel mode.
  • @ricnar #1435 10:07 AM, 27 Jun 2023
    the list is parted in two parts
  • @ricnar #1436 10:07 AM, 27 Jun 2023
    yes yes
  • @ricnar #1437 10:07 AM, 27 Jun 2023
    i think in one only list like windbg
  • @ricnar #1438 10:07 AM, 27 Jun 2023
    but here there are two list
  • @ricnar #1439 10:07 AM, 27 Jun 2023
    user mode and kernel mode
  • @ricnar #1440 10:07 AM, 27 Jun 2023
    sorry
  • @HughEverett #1441 10:07 AM, 27 Jun 2023
    👍
  • @ricnar #1442 10:08 AM, 27 Jun 2023
    shame.mp4
  • @HughEverett ↶ Reply to #1442 #1443 10:12 AM, 27 Jun 2023
    EpVCeWpXMAEAZu6.mp4
  • @ricnar #1444 10:13 AM, 27 Jun 2023
    I'm used to working with windbg for years sorry
  • @HughEverett ↶ Reply to #1444 #1445 10:13 AM, 27 Jun 2023
    That's pretty okay. Don't be sorry.
  • @ricnar #1446 10:14 AM, 27 Jun 2023
    other question
  • @ricnar #1447 10:14 AM, 27 Jun 2023
    is normal the context change when using some command?
  • @ricnar #1448 10:14 AM, 27 Jun 2023
    i changed the context to me process
  • @HughEverett #1449 10:14 AM, 27 Jun 2023
    yes; some commands change the context.
  • @ricnar #1450 10:14 AM, 27 Jun 2023
    thanks
  • @HughEverett ↶ Reply to #1450 #1451 10:15 AM, 27 Jun 2023
    Some commands change the context, some commands won't . It's mentioned on 'Remarks' section of each command in the documentation. For example for 'lm' command:
    https://docs.hyperdbg.org/commands/debugging-commands/lm#remarks
    lm (view loaded modules)

    Description of the 'lm' command in HyperDbg.

  • @ricnar #1452 10:16 AM, 27 Jun 2023
    by example if i change the context to my process and use lm, the list is the hyperdbg modules
  • @ricnar #1453 10:16 AM, 27 Jun 2023
    ah i see
  • @ricnar #1454 10:16 AM, 27 Jun 2023
    the pid need to be used
  • @HughEverett ↶ Reply to #1451 #1455 10:16 AM, 27 Jun 2023
    Some commands won't. E.g., bp command.

    photo_2023-06-27_10-16-53.jpg
  • @ricnar #1456 10:17 AM, 27 Jun 2023
    thanks
  • @HughEverett ↶ Reply to #1454 #1457 10:18 AM, 27 Jun 2023
    yes, it gets a 'pid' in parameters.
    https://docs.hyperdbg.org/commands/debugging-commands/lm#parameters
    lm (view loaded modules)

    Description of the 'lm' command in HyperDbg.

  • @HughEverett ↶ Reply to #1452 #1458 10:23 AM, 27 Jun 2023
    This one is one of the fundamental changes that should be fixed in the future versions.

    For example, one of the users also mentioned some scenarios that are not possible to handle in HyperDbg :

    https://github.com/HyperDbg/HyperDbg/issues/231#issuecomment-1560746770

    photo_2023-06-27_10-23-16.jpg
  • @ricnar #1459 10:28 AM, 27 Jun 2023
    maybe the tonight error was produced for the target entering in sleep mode and hyperdbg loose conection or so
  • @HughEverett ↶ Reply to #1459 #1460 10:29 AM, 27 Jun 2023
    this is probable. I never test it in sleep mode.
  • @HughEverett ↶ Reply to #1444 #1461 10:33 AM, 27 Jun 2023

    photo_2023-06-27_10-33-29.jpg
  • @ricnar #1462 10:33 AM, 27 Jun 2023
    hehe
  • @NimaSadeghpour10 #1463 12:23 PM, 27 Jun 2023
    Joined.
  • @heydardsm #1464 12:23 PM, 27 Jun 2023
    Joined.
  • @Promenak #1465 12:24 PM, 27 Jun 2023
    Joined.
  • @Developer_Network #1466 12:29 PM, 27 Jun 2023
    Joined.
  • @YMahmoudnia ↶ Reply to #1461 #1467 12:30 PM, 27 Jun 2023
    This one was new 😄.
  • @RADIOX20 #1468 12:49 PM, 27 Jun 2023
    Joined.
  • @kacperhl #1469 01:12 PM, 27 Jun 2023
    Joined.
  • @DeAref #1470 01:31 PM, 27 Jun 2023
    Joined.
  • @DeAref ↶ Reply to #1461 #1471 01:31 PM, 27 Jun 2023
    😂😂
  • @283945114 #1472 01:31 PM, 27 Jun 2023
    Joined.
  • @Incincible9 #1473 02:06 PM, 27 Jun 2023
    Joined.
  • @ZiroCol #1474 02:09 PM, 27 Jun 2023
    Joined.
  • @Emre_sec #1475 03:18 PM, 27 Jun 2023
    Joined.
  • @ricnar #1476 03:29 PM, 27 Jun 2023
    it happened again the bug
  • @ricnar #1477 03:29 PM, 27 Jun 2023
    when i returned from eating
  • @ricnar #1478 03:29 PM, 27 Jun 2023

    photo_2023-06-27_15-29-45.jpg
  • @Angtiong #1479 03:35 PM, 27 Jun 2023
    Joined.
  • @HughEverett ↶ Reply to #1478 #1480 03:51 PM, 27 Jun 2023
    Did it go to sleep mode?
  • @HexDx001 #1481 03:51 PM, 27 Jun 2023
    Joined.
  • @HughEverett ↶ Reply to #1478 #1482 03:59 PM, 27 Jun 2023
    If you can build HyperDbg again, please add the following code in the 'Vmexit.c' file.

    LogError("Err, triple fault error occurred");

    LogInfo("Target RIP: %llx\n", VCpu->LastVmexitRip);
    CHAR Instruction[MAXIMUM_INSTR_SIZE] = {0};

    MemoryMapperReadMemorySafeOnTargetProcess(VCpu->LastVmexitRip, Instruction, MAXIMUM_INSTR_SIZE);

    for (size_t i = 0; i < MAXIMUM_INSTR_SIZE; i++)
    {
    Log("%x ", Instruction[i]);
    }

    DbgBreakPoint();

    photo_2023-06-27_15-59-57.jpg
  • @HughEverett ↶ Reply to #1482 #1483 04:02 PM, 27 Jun 2023
    It will help investigate the problem, but in any case, if you can find a deterministic way of reproducing the error, it would be even better.
  • @HughEverett #1484 04:08 PM, 27 Jun 2023
    @ricnar The good news is that I found the reason why the '.start' command behaves abnormally. One of the assumptions (that works previously) was setting Hardware Debug Breakpoints (#DB) on the entrypoint when the module was loaded. For some reason, one raise condition happens there and it eventually fails the starting process. I changed the mechanism and instead of using #DBs, I manipulate the EPT page-level attributes to prevent instruction fetch once the target entrypoint page is loaded and it works like a charm! However, I have to find a way of invalidating EPT entries on all the cores after reaching the target entrypoint. I think it would be completely fixed (hopefully) tomorrow and a new version of HDbg (v3.1) will be ready with a working '.start' command.
  • @244956467 #1485 04:18 PM, 27 Jun 2023
    Joined.
  • @939629639 #1486 04:40 PM, 27 Jun 2023
    Joined.
  • @208944408 #1487 04:43 PM, 27 Jun 2023
    Joined.
  • @R3S1l13n7 #1488 05:08 PM, 27 Jun 2023
    Joined.
  • @ricnar ↶ Reply to #1480 #1489 06:14 PM, 27 Jun 2023
    Nope
  • @ricnar ↶ Reply to #1484 #1490 06:14 PM, 27 Jun 2023
    Thanks
  • @ricnar ↶ Reply to #1483 #1491 06:15 PM, 27 Jun 2023
    Tomorrow I will rebuild the driver to get the error
  • @ricnar #1492 06:15 PM, 27 Jun 2023
    Thanks
  • 28 June 2023 (70 messages)
  • @1900286589 #1493 01:36 AM, 28 Jun 2023
    Joined.
  • @xatat26 ↶ Reply to #1332 #1494 03:04 AM, 28 Jun 2023
    Thanks for sharing it here. I was frequently looking it up while trying to learn hyperdbg. I was searching if there is anything equivalent to 'dx' commands
  • @HughEverett ↶ Reply to #1494 #1495 03:13 AM, 28 Jun 2023
    no, HyperDbg doesn't have anything like dx command, unfortunately.
  • @w_l_a_n #1496 05:29 AM, 28 Jun 2023
    Joined.
  • @xroot_x #1497 07:20 AM, 28 Jun 2023
    Joined.
  • @mde313 #1498 09:56 AM, 28 Jun 2023
    Joined.
  • @ricnar ↶ Reply to #1482 #1499 10:36 AM, 28 Jun 2023
    hello
  • @ricnar #1500 10:36 AM, 28 Jun 2023
    where i put this code?
  • @ricnar #1501 10:36 AM, 28 Jun 2023
    replacing something?
  • @ricnar #1502 10:36 AM, 28 Jun 2023
    or at the end?
  • @ricnar #1503 10:38 AM, 28 Jun 2023

    photo_2023-06-28_10-38-49.jpg
  • @ricnar #1504 10:38 AM, 28 Jun 2023
    there?
  • @HughEverett ↶ Reply to #1504 #1505 10:39 AM, 28 Jun 2023
    yes
  • @ricnar #1506 10:39 AM, 28 Jun 2023

    photo_2023-06-28_10-39-27.jpg
  • @HughEverett ↶ Reply to #1506 #1507 10:41 AM, 28 Jun 2023
    Exactly
  • @HughEverett ↶ Reply to #1506 #1508 10:42 AM, 28 Jun 2023
    But, I'm not really optimistic about finding the exact reason for this error this way. There might be some clues but bugs that are not deterministically reproducible are really hard to investigate.
  • @ricnar #1509 10:46 AM, 28 Jun 2023
    It does not compile
  • @ricnar #1510 10:46 AM, 28 Jun 2023
    A lot of errors
  • @HughEverett ↶ Reply to #1510 #1511 10:47 AM, 28 Jun 2023
    VS 2022? Did you clone it with '--recurisve' git flag?
  • @ricnar #1512 10:48 AM, 28 Jun 2023
    Yes
  • @ricnar #1513 10:48 AM, 28 Jun 2023
    git clone --recursive https://github.com/HyperDbg/HyperDbg.git
    GitHub - HyperDbg/HyperDbg: State-of-the-art native debugging tool

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

  • @ricnar #1514 10:49 AM, 28 Jun 2023
    Severity Code Description Project File Line Suppression State
    Error LNK1181 cannot open input file 'C:\Users\ricnar\Desktop\NEW HYPRDBG\HyperDbg\hyperdbg\build\bin\release\HPRDBGCTRL.lib' hyperdbg-cli C:\Users\ricnar\Desktop\NEW HYPRDBG\HyperDbg\hyperdbg\hyperdbg-cli\LINK 1
  • @ricnar #1515 10:50 AM, 28 Jun 2023

    photo_2023-06-28_10-50-39.jpg
  • @ricnar #1516 10:50 AM, 28 Jun 2023
    this file is not locate there
  • @HughEverett ↶ Reply to #1515 #1517 10:51 AM, 28 Jun 2023
    can you compile 'hprdbgctrl' just this project?
  • @ricnar #1518 10:52 AM, 28 Jun 2023
    i openned the sln and complie
  • @ricnar #1519 10:52 AM, 28 Jun 2023

    photo_2023-06-28_10-52-38.jpg
  • @ricnar #1520 10:52 AM, 28 Jun 2023

    photo_2023-06-28_10-52-51.jpg
  • @HughEverett ↶ Reply to #1519 #1521 10:53 AM, 28 Jun 2023
    What are other errors? There are 7 errors there.
  • @ricnar #1522 10:53 AM, 28 Jun 2023

    photo_2023-06-28_10-53-29.jpg
  • @ricnar #1523 10:54 AM, 28 Jun 2023
    Severity Code Description Project File Line Suppression State
    Error MSB3073 The command "msbuild C:\Users\ricnar\Desktop\NEW HYPRDBG\HyperDbg\hyperdbg\\dependencies\zydis\msvc\Zydis.sln /m /p:Configuration="Release MT" /p:Platform=x64 /target:zydis /target:zycore /p:OutDir=C:\Users\ricnar\Desktop\NEW HYPRDBG\HyperDbg\hyperdbg\/libraries/zydis/user/
    :VCEnd" exited with code 1. hprdbgctrl C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets 150
  • @ricnar #1524 10:54 AM, 28 Jun 2023
    Severity Code Description Project File Line Suppression State
    Error MSB1008 Only one project can be specified. hprdbgctrl C:\Users\ricnar\Desktop\NEW HYPRDBG\HyperDbg\hyperdbg\hprdbgctrl\MSBUILD 1
  • @ricnar #1525 10:54 AM, 28 Jun 2023
    Severity Code Description Project File Line Suppression State
    Error LNK1181 cannot open input file 'C:\Users\ricnar\Desktop\NEW HYPRDBG\HyperDbg\hyperdbg\build\bin\release\hprdbghv.lib' hprdbgkd C:\Users\ricnar\Desktop\NEW HYPRDBG\HyperDbg\hyperdbg\hprdbgkd\LINK 1
  • @ricnar #1526 10:55 AM, 28 Jun 2023

    photo_2023-06-28_10-55-14.jpg
  • @HughEverett #1527 10:55 AM, 28 Jun 2023
    maybe removing the space ' ' between "NEW HYPRDBG" folder?
  • @ricnar #1528 10:57 AM, 28 Jun 2023
    11>Driver is 'Universal'.
    11>Inf2Cat task was skipped as there were no inf files to process
    11>Done building project "hprdbgkd.vcxproj".
    ========== Rebuild All: 12 succeeded, 0 failed, 0 skipped ==========
    ========== Rebuild started at 7:56 AM and took 26.093 seconds ==========
  • @ricnar #1529 10:57 AM, 28 Jun 2023
    document_2023-06-28_10-57-40.mp4
  • @HughEverett ↶ Reply to #1528 #1530 10:58 AM, 28 Jun 2023
    GOBOYS (7)_H.264.mp4
  • @HughEverett #1531 10:58 AM, 28 Jun 2023
    I have to also fix this issue. Probably it needs some quotations there.
  • @ricnar #1532 11:00 AM, 28 Jun 2023
    i will copy to the another machine when i have the problem
  • @ricnar #1533 11:01 AM, 28 Jun 2023
    in this machine i let hyperdbg running since saturday and continues working
  • @ricnar #1534 11:01 AM, 28 Jun 2023
    i wll try and let you know
  • @ricnar #1535 11:01 AM, 28 Jun 2023
    thanks
  • @Dr_secretstar #1536 11:37 AM, 28 Jun 2023
    Joined.
  • @ricnar #1537 11:55 AM, 28 Jun 2023

    photo_2023-06-28_11-55-11.jpg
  • @HughEverett ↶ Reply to #1537 #1538 11:56 AM, 28 Jun 2023
    The current mechanism for '.start' is not good right now. Sometimes it might not break on the entrypoint, specially in the newer version of Windows.
  • @HughEverett ↶ Reply to #1537 #1539 11:57 AM, 28 Jun 2023
    But, the newest version is also available which addresses all of these issues. It's currently available (and working) in the 'dev' branch. But right now, I'm testing it.
  • @ricnar #1540 11:57 AM, 28 Jun 2023

    photo_2023-06-28_11-57-43.jpg
  • @ricnar #1541 11:57 AM, 28 Jun 2023
    at least it started
  • @HughEverett ↶ Reply to #1539 #1542 11:57 AM, 28 Jun 2023
    I'll let you know, when the new mechanism for process interception is ready.
  • @HughEverett ↶ Reply to #1541 #1543 11:58 AM, 28 Jun 2023
    It might sometimes work, sometimes not work.
  • @ricnar #1544 11:58 AM, 28 Jun 2023
    0: kHyperDbg> u rip
    00000001`4002601c 48 83 EC 28 sub rsp, 0x28
    00000001`40026020 E8 33 3C 00 00 call 0x0000000140029C58
    00000001`40026025 48 83 C4 28 add rsp, 0x28
    00000001`40026029 E9 1A FE FF FF jmp 0x0000000140025E48
    00000001`4002602e CC int3
    00000001`4002602f CC int3
    00000001`40026030 48 89 5C 24 08 mov qword ptr ss:[rsp+0x08], rbx
    00000001`40026035 57 push rdi
    00000001`40026036 48 83 EC 20 sub rsp, 0x20
    00000001`4002603a 48 8D 05 5F 15 02 00 lea rax, ds:[0x00000001400475A0]
    00000001`40026041 8B DA mov ebx, edx
    00000001`40026043 48 8B F9 mov rdi, rcx
    00000001`40026046 48 89 01 mov qword ptr ds:[rcx], rax
    00000001`40026049 E8 BE 3C 00 00 call 0x0000000140029D0C
    00000001`4002604e F6 C3 01 test bl, 0x01
    00000001`40026051 74 08 jz 0x000000014002605B
    00000001`40026053 48 8B CF mov rcx, rdi
    00000001`40026056 E8 99 4D FE FF call 0x000000014000ADF4
  • @ricnar #1545 11:59 AM, 28 Jun 2023
    perfect
  • @ricnar #1546 11:59 AM, 28 Jun 2023
    i let the target running
  • @ricnar #1547 11:59 AM, 28 Jun 2023
    trying to reproduce the other bug
  • @HughEverett ↶ Reply to #1545 #1548 12:00 PM, 28 Jun 2023
    The current state of detecting and intercepting the entrypoint in HyperDbg is really complicated. We didn't use any Windows API or any debug flag to start the process. That's why it's not stable right now. But, I'll tell you to test once I conclude the new patch is working.
  • @ricnar #1549 12:07 PM, 28 Jun 2023
    perfect
  • @ricnar #1550 12:07 PM, 28 Jun 2023
    i am working now but i let the target running to catch the triple bug
  • @fly55555 ↶ Reply to #1461 #1551 01:35 PM, 28 Jun 2023
    sexy
  • @ricnar #1552 04:23 PM, 28 Jun 2023
    it does not crash now
  • @ricnar #1553 04:23 PM, 28 Jun 2023
    when i restart the machine i change two things
  • @ricnar #1554 04:24 PM, 28 Jun 2023
    the memory was too low (2g) i changed to 8g
  • @ricnar #1555 04:24 PM, 28 Jun 2023
    i changed 2 processors to 1 processor
  • @ricnar #1556 04:25 PM, 28 Jun 2023
    maybe the memory was too low or the 2 processors affects
  • @HughEverett ↶ Reply to #1554 #1557 04:25 PM, 28 Jun 2023
    2GB might be the reason.
  • @HughEverett ↶ Reply to #1556 #1558 04:25 PM, 28 Jun 2023
    Yeah, agree.
  • @ricnar #1559 04:25 PM, 28 Jun 2023
    tomorrow i let the 8g and will return to 2 processors
  • @ricnar #1560 04:26 PM, 28 Jun 2023
    if does not crash again it was the low memory
  • @HughEverett ↶ Reply to #1560 #1561 04:26 PM, 28 Jun 2023
    Yes.
  • @jorker95 #1562 08:38 PM, 28 Jun 2023
    Joined.
  • 29 June 2023 (1 messages)
  • @Liebs2 #1563 03:12 PM, 29 Jun 2023
    Joined.
  • 30 June 2023 (3 messages)
  • @AlirezaHabibzadeh #1564 09:33 AM, 30 Jun 2023
    Joined.
  • @6102309500 #1565 03:35 PM, 30 Jun 2023
    Joined.
  • @sadmosv #1566 11:42 PM, 30 Jun 2023
    Joined.
  • 1
  • 2
  • 03 Jun 2023 (1)
  • 04 Jun 2023 (1)
  • 05 Jun 2023 (1)
  • 06 Jun 2023 (18)
  • 08 Jun 2023 (6)
  • 09 Jun 2023 (1)
  • 10 Jun 2023 (1)
  • 12 Jun 2023 (1)
  • 13 Jun 2023 (2)
  • 16 Jun 2023 (6)
  • 17 Jun 2023 (3)
  • 20 Jun 2023 (330)
  • 21 Jun 2023 (47)
  • 22 Jun 2023 (1)
  • 24 Jun 2023 (55)
  • 25 Jun 2023 (57)
  • 26 Jun 2023 (42)
  • 27 Jun 2023 (131)
  • 28 Jun 2023 (70)
  • 29 Jun 2023 (1)
  • 30 Jun 2023 (3)