in reply to how to search binary file

Well, you'd open the file, read some of the contents, and see if those contents contain the bytes you're interested in. If not, read more of the file. Lather, rinse, repeat.

(Post what you've already tried and you'll get more helpful responses.)