[Forensic] IHDR header 복구 (feat. CRC)


[Forensic] IHDR header 복구 (feat. CRC)

IHDR 헤더 복구하는 문제를 풀다가 정리용으로 하나 남긴다. IHDR(Image HeaDeR) PNG 파일의 Critical Chunk로서, PNG 시그니처(8 byte)뒤에 위치하고 이미지의 헤더 정보를 담고 있으며 세부 정보는 아래와 같다. struct PNG_CHUNK_IHDR { Length : 00 00 00 0D Chunk Type : 49 48 44 52 Chunk Data { Width : 4byte Height : 4byte Bit depth : 1byte Color Type : 1byte Compression method : 1byte Filter method : 1byte Interlace method : 1byte } CRC : 4byte } Length는 00 00 00 0D(13 byte), Chunk Type은 IHDR 헤더이므로 49 48 44 52(ASCII : IHDR)이다. 관련 문제를 통해 확인해본다. N0Named Wargame - Recove...


#CRC #이미지 #복구 #wargame #PNG #ihdr #header #forensic #ctf #포렌식

원문링크 : [Forensic] IHDR header 복구 (feat. CRC)