Closed bannsec closed 7 years ago
I ran into the same issue and made some fixes: https://github.com/trailofbits/manticore/pull/215 https://github.com/trailofbits/manticore/pull/216 https://github.com/trailofbits/manticore/pull/217 https://github.com/trailofbits/manticore/pull/218
With those PRs the binary works at least with a debug build of the musl libc (./configure --enable-debug && sudo make install
)
We merged all those PRs so it should work with musl now!
Is there a new issue with non-musl libc's that we should fix? I don't know the exact details of this challenge.
It still doesn't work for the version of musl provided by the Ubuntu repos (but does work for a version compiled from the current source tree). Apparently the cvtsi2ss
instruction is emulated incorrectly. I'm working on a fix.
Nothing else should be required for manticore to solve the challenge.
It should work once this PR is merged into Unicorn: https://github.com/unicorn-engine/unicorn/pull/819 As a temporary workaround we could read both YMM and XMM registers back from Unicorn.
This should now be totally fixed.
Attempting to run the binaries from the
magic
challenge from this past DEFCON, manticore does not get past the initial loader and never hits the main binary itself.