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

Payload won't execute on windows #6

Closed
arthurvanderwal81 opened this issue Jun 15, 2018 · 2 comments
Closed

Payload won't execute on windows #6

arthurvanderwal81 opened this issue Jun 15, 2018 · 2 comments

Comments

@arthurvanderwal81
Copy link

The windows payload relies on that windows will somehow automatically enter the payload in a command window or in the 'run' program. However this is not how windows works.

When USB drive gets inserted, and it starts to send out the payload key strokes, it will result in nothing, or at the very best a focussed text box to receive these keystrokes. (similar issue has been reported for Mac).

To fix this on windows send a Windows-key + r key combination before the payload to open the run program dialog.

@jmichelp
Copy link
Collaborator

That's exactly what is being done here: https://github.com/ebursztein/malusb/blob/master/payload/payload.c#L343

And this function, win_open_execute is called before any windows payload injection.

@arthurvanderwal81
Copy link
Author

You're absolutely right! My oversight

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

2 participants