Skip to content

Serial port #192

Answered by SinaKarvandi
qhdwight asked this question in Q&A
Jul 17, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hi,
Thanks for creating this discussion.

Yes, you've got it right. HyperDbg initializes the serial port from user mode and later uses KdHyperDbgSendByte to send bytes from kernel-mode. We spent a lot of hours figuring out how to initialize the serial port correctly; while, our initialization works perfectly in the physical computer (we test it with a serial device), the same initialization doesn't work on the VMware workstation, and I don't know why!

That's why we initialize the serial port from user-mode, but after that, we use KdHyperDbgSendByte in the kernel (VMX-root mode).

If I find time, I'll investigate how Windows initializes serial port in VMware workstation and update the initia…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@qhdwight
Comment options

@qhdwight
Comment options

Answer selected by qhdwight
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants