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

Failed reconstructing the payload (Ursnif) #32

Closed
hasherezade opened this issue Mar 9, 2019 · 4 comments
Closed

Failed reconstructing the payload (Ursnif) #32

hasherezade opened this issue Mar 9, 2019 · 4 comments
Assignees

Comments

@hasherezade
Copy link
Owner

Test case

633521d921ddad8671293319f0fd9daab9a0a606887ada3ab3709027cbb1e591

Problem

The payload has a partially corrupt header (starting from file header):
hdr_start

PE-sieve was able to find some artefacts:
artefact
However, if failed to reconstruct the PE.

@hasherezade hasherezade self-assigned this Mar 9, 2019
@hasherezade hasherezade changed the title Failed reconstructing the payload Failed reconstructing the payload (Ursnif) Mar 10, 2019
@bartblaze
Copy link

Was going to open an issue about this over the weekend, but seems like you already identified it 😄

Another sample if needed:
a28b197f2cf9d82101980e302f16732fd09eb9b4760e13699a3c0d2c6cd18cc3

For me, pe-sieve crashes as soon as it starts scanning the memory regions.

OS: Windows 7 x86
pe-sieve v0.1.6

Seems like header is corrupted and RVA can't be fetched.

@hasherezade
Copy link
Owner Author

hasherezade commented Mar 13, 2019

@bartblaze - the crash was another issue (#28), and I already fixed it, please check the latest builds and let me know if it works for you: https://github.com/hasherezade/pe-sieve/blob/master/README.md
It will be in the official release soon.

@bartblaze
Copy link

Thanks @hasherezade, I can confirm that solved the crashing issue. (and thanks for a great tool!)

@hasherezade
Copy link
Owner Author

Result: the payload got shifted (to make space for the DOS header), realigned to Virtual (because of damaged raw headers) and dumped:
result1
Report:
report

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