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 auto attach/debug child process #670

Open
Maxou56800 opened this issue Nov 26, 2024 · 1 comment
Open

Windows auto attach/debug child process #670

Maxou56800 opened this issue Nov 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Maxou56800
Copy link

Hi,

What is the feature you'd like to have?

Be able to auto attach/debug child process using binja debugger on Windows.

Is your feature request related to a problem?

I have a program (PE) that requires user input to be sent to stdin. I haven't found any method other than using “cmd.exe /c program.exe < data_to_send_in_stdin.bin”. But as cmd launches a new process (program.exe), the latter is not debugged.

Additional Information:

Debug adapter settings for send stdin data to the program, but not debugged (breakpoints not hits):

image

x64dbg has a plugin for this functionality: https://github.com/therealdreg/DbgChild

@Maxou56800 Maxou56800 added the enhancement New feature or request label Nov 26, 2024
@xusheng6
Copy link
Member

xusheng6 commented Dec 3, 2024

WinDbg actually has a childdbg command that is relevant to this. It might make the thing quite easy to implement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants