Skip to main content
Commonmark migration
Source Link

I'm in a reverse engineering class. Our current assignment is to edit a notepad.exe application. Just to start out, I opened my notepad.exe in FlexHex, went to the end of the.rsrc section, changed a byte in one of the stock text strings from "70" to "31" and then saved the new file as an .exe. The size of the section and the overall file remains the same. Below is the line I changed.

[![.rsrc line I changed][1]][1].rsrc line I changed

When I try to run the file, I get an error that Windows cannot run the file, specifically "This app cannot run on your PC". I didn't think that I changed anything essential. I'm wondering if Windows is preventing me from running a modified version of a Window's program. Is there a way to specify that Windows should run this program?

Any help is appreciated, thank you. [1]: https://i.sstatic.net/XDfp3.png

I'm in a reverse engineering class. Our current assignment is to edit a notepad.exe application. Just to start out, I opened my notepad.exe in FlexHex, went to the end of the.rsrc section, changed a byte in one of the stock text strings from "70" to "31" and then saved the new file as an .exe. The size of the section and the overall file remains the same. Below is the line I changed.

[![.rsrc line I changed][1]][1]

When I try to run the file, I get an error that Windows cannot run the file, specifically "This app cannot run on your PC". I didn't think that I changed anything essential. I'm wondering if Windows is preventing me from running a modified version of a Window's program. Is there a way to specify that Windows should run this program?

Any help is appreciated, thank you. [1]: https://i.sstatic.net/XDfp3.png

I'm in a reverse engineering class. Our current assignment is to edit a notepad.exe application. Just to start out, I opened my notepad.exe in FlexHex, went to the end of the.rsrc section, changed a byte in one of the stock text strings from "70" to "31" and then saved the new file as an .exe. The size of the section and the overall file remains the same. Below is the line I changed.

.rsrc line I changed

When I try to run the file, I get an error that Windows cannot run the file, specifically "This app cannot run on your PC". I didn't think that I changed anything essential. I'm wondering if Windows is preventing me from running a modified version of a Window's program. Is there a way to specify that Windows should run this program?

Any help is appreciated, thank you.

Source Link
lll
  • 135
  • 5

Windows 10 will not run hex edited application

I'm in a reverse engineering class. Our current assignment is to edit a notepad.exe application. Just to start out, I opened my notepad.exe in FlexHex, went to the end of the.rsrc section, changed a byte in one of the stock text strings from "70" to "31" and then saved the new file as an .exe. The size of the section and the overall file remains the same. Below is the line I changed.

[![.rsrc line I changed][1]][1]

When I try to run the file, I get an error that Windows cannot run the file, specifically "This app cannot run on your PC". I didn't think that I changed anything essential. I'm wondering if Windows is preventing me from running a modified version of a Window's program. Is there a way to specify that Windows should run this program?

Any help is appreciated, thank you. [1]: https://i.sstatic.net/XDfp3.png