22 Votes

Search Byte Sequence in Binary Files

Question by Guest | 2024-10-10 at 17:45

I'm looking for a way to search for byte sequences in binary files.

That means I have a byte sequence such as "A0 B1 C2" and one or more binary files (not text files) and would like to know in which of these files this byte sequence occurs and if so, at which byte offset the sequence can be found.

Can anyone help me with this task?

ReplyPositiveNegative
2Best Answer2 Votes

Simply add all the files you want to search to the file list in the FileAnalyzer and then click on the button "Search" below the list.

Alternatively, you can also use the menu "Tools > Search" or press the keyboard shortcut CTRL + S.

  1. In the window that opens, you can then enter the byte sequence you want to search for in the top left under "Search for Byte Sequences" and click on "Search".
  2. You will then receive a table with the search result, in which you will find out not only the offset but also in which path and in which property within the file structure your byte sequence was found.
  3. The result, you can either copy directly to the clipboard or export it in various formats such as CSV, TSV, XLSX, ODS, DIF, HTML or TXT. In addition, you can display the location of the byte sequence in the hex view of the file by clicking on a table row.

And if your byte sequence is based on a number in a certain format or a string in a certain encoding, you do not need to determine the byte sequence yourself but you can simply use one of the functions "Search for Number" or "Search for String" that can be found in the same window.

For more information on this topic, see the tutorial on searching binary files.
2024-10-11 at 02:09

ReplyPositive Negative
Reply

Related Topics

The Askingbox Search

Info | 0 Comments

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.

Participate

Ask your own question or write your own article on askingbox.com. That’s how it’s done.