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

Patched binary requires Admin rights #5

Open
AlEscher opened this issue Jul 24, 2021 · 1 comment
Open

Patched binary requires Admin rights #5

AlEscher opened this issue Jul 24, 2021 · 1 comment

Comments

@AlEscher
Copy link

I had a simple executable that was meant for a Reverse Engineering challenge. I wanted to patch a JZ to a JNZ. This worked normally with Ghidra's "Export Binary" function, however I also wanted to try this extension since it is supposed to fix some issues.
After selecting the line and running the script, the produced binary now requires Admin priveleges to run, even though it did not before (the binary produced by Ghidra previously did not have this issue).
Is this normal behaviour? I don't see why that should happen.
I am on Windows 10 21H1 with Ghidra version 10.0

@spaniel64
Copy link

spaniel64 commented May 29, 2024

I had this issue too. Strangely, removing the word "patch" or "patched" from the file name removed this requirement. It seems that Windows must have a "feature" to automatically force files with the word "patch" in their name to run as administrator.

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