RE Tips: Common String Representations
Originally posted 2022-05-09
Strings are a good way of determining the layout of an unknown binary blob. If you can figure out how the strings are stored, you can use it as an anchor to map out other structures around them.
Image Description:
A text file explaining the common string representations.
- Length First, where the length of the string is stored before the string.
- Null Terminated, where each string ends in a null byte.
- Fixed Width, where each field is a fixed size. These can also have padding if they need to be aligned to a certain amount of bytes, AKA they must be divisible by a certain number.