PeTools icon indicating copy to clipboard operation
PeTools copied to clipboard

PeAddSection.exe crashes if section name contains non-alphabetical characters

Open beatcracker opened this issue 8 years ago • 2 comments

Example:

PeAddSection.exe somexe.exe .new 0x60000020

beatcracker avatar Jan 10 '18 06:01 beatcracker

Hi!

It's been a while since I haven't touched this code, plus it's a bench of PoC.

Are you sure this is related to the section name? Plus, I think that my PoCs don't handle x64 architectures.

If you have more information about the bug, I'd be glad to take a look at it.

Cheers,

Ge0 avatar Jan 10 '18 08:01 Ge0

Are you sure this is related to the section name?

Yep, as long as I use section name that contains only letters, it works.

Plus, I think that my PoCs don't handle x64 architectures.

Alas, yes. But it works fine for x86, aside from this issue.

If you have more information about the bug, I'd be glad to take a look at it.

It crashes with exit code 0xc0000417

image

Call stack:

image

I'll try to provide more info later. Thank you!

beatcracker avatar Jan 10 '18 08:01 beatcracker