Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Kernel - Lab Env #3

Open
nixawk opened this issue Sep 4, 2017 · 0 comments
Open

Windows Kernel - Lab Env #3

nixawk opened this issue Sep 4, 2017 · 0 comments

Comments

@nixawk
Copy link
Owner

nixawk commented Sep 4, 2017

Debug Windows Kernel on Mac OS X

kernel-sample

Server

serial0.present = "TRUE"
serial0.fileType = "pipe"
serial0.fileName = "/private/tmp/com1"
serial0.tryNoRxLoss = "FALSE"
serial0.pipe.endPoint = "server"

[Windows XP SP3]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional Kernel Debugging" /noexecute=optin /fastdetect /debug /debugport=com1 /baudrate=115200

[Windows 7]

bcdedit /enum OSLOADER
bcdedit /enum ACTIVE
bcdedit /dbgsettings serial baudrate:115200 debugport:1
bcdedit /copy {current} /d "Windows Debug Entry"
bcdedit /displayorder {current} {995296e0-793b-11e7-9ce1-b6eb54ee5b23}
bcdedit /debug {995296e0-793b-11e7-9ce1-b6eb54ee5b23} ON
bcdedit -set TESTSIGNING on
bcdedit /dbgsetting

Client

[Windows 7 X64]

serial0.present = "TRUE"
serial0.fileType = "pipe"
serial0.fileName = "/private/tmp/com1"
serial0.tryNoRxLoss = "FALSE"
serial0.pipe.endPoint = "client"

References

  1. https://samsclass.info/126/proj/p12-WinDbg
  2. https://www.dcl.hpi.uni-potsdam.de/research/WRK/2009/06/running-the-wrk-on-mac-os/
  3. https://blog.ephrain.net/windbg-%E5%9C%A8-mac-virtualbox%E4%B8%8A%E8%A8%AD%E5%AE%9A-windows-kernel-debugging-%E7%92%B0%E5%A2%83/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant