-
Notifications
You must be signed in to change notification settings - Fork 455
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
Unable to find stack strings in large functions alloca_probe / XMM registers #942
Comments
I suspect XMM / SSE instructions to be the issue and will take a look in the next couple of days. Thanks for reporting this here as well! |
On further investigation, I can pinpoint some functions with many stack strings where no strings was found by either flare-floss or ironstrings: 0x1802b4d40 |
The disassembly and emulation tool (vivisect) has multiple issues with this binary. Most notably, errors during disassembly and unsupported instructions (as suspected above, e.g. So, I'm afraid we have to call this out of reach for now. FYI, to analyze specific functions only, see the -H help output:
So, here e.g. |
@mr-tz Thanks for looking, about the unsupported instructions I think those come from the statically linked openssl in this binary but all the functions with stack strings only use XMM registers with mov. About the The main part that is being really slow is the analyze program phase which seems to scan with FLIRT sigs. Is there any way to save the scanning results and reuse it for faster debugging of this issue? |
Hello!
I have this sample referenced in this other issue: mandiant/flare-ida#127
I also ran it through your tool and very few strings were found, ironstrings found way more. I don't know exactly why but this program has lots of stack strings constructed with XMM registers and that may be the reason but it also was able to find some strings that used XMM registers.
by default flare-floss will be very slow on this sample, to speed up we can blacklist some functions from analysis but those functions may also contain useful stack strings to extract, it would be nice to have flare-floss be faster on those. I already ran flare-floss fully without blacklisting any function, it takes something like 3 hours but then it doesnt find any more stack strings.
Add
After:
flare-floss/floss/string_decoder.py
Line 151 in b2ca8ad
This will speed up the execution by a lot.
If you have any clues why this does not work I can help fixing but I did not find any solution for now. For example the function at 0x1802b4d40 has a lot of stack strings but none are found there, in this function ironstrings didnt find any strings either because it errors trying to do so.
Thanks a lot!
The text was updated successfully, but these errors were encountered: