Hacktivitycon 2021


Solved By : thewhiteh4t

  • We are given a file named 2ez
  • the file format is not known when I tested it with file command

  • next I tried binwalk to look for any hidden files but the output was blank
  • next I checked the MAGIC of the file i.e. the header
  • file magic is responsible for the correct file format
  • file command checks magic and file footer to determine correct file type

  • JFIF header means a jpeg file
  • correct header for JFIF in hex is : FF D8 FF
  • but if we look at the file given to us its different, so I fixed it using a hex editor

  • Saved it as a new file and solved

Published on : 20 Sep 2021