Open mr-tz opened 1 year ago
binary2strings reads utf8 and wide strings (we don't expect or require the latter for Rust strings extraction).
In rust-hello64.exe we see
rust-hello64.exe
Which parsed as wide string starting at offset 0x1400BD04F, b2s sees as:
We then filter out the wide string and end up with args in the final Rust strings output.
args
Bumping the min_string length to 6 also mitigates this, but we could then miss shorter strings.
So, should we work on implementing something similar to b2s using Python?
Yes, currently we only require a function to find UTF-8 strings though.
binary2strings reads utf8 and wide strings (we don't expect or require the latter for Rust strings extraction).
In
rust-hello64.exe
we seeWhich parsed as wide string starting at offset 0x1400BD04F, b2s sees as:
We then filter out the wide string and end up with
args
in the final Rust strings output.Bumping the min_string length to 6 also mitigates this, but we could then miss shorter strings.