Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Ghidra packed file (GZF)/magic/Ghidra packed file magic number

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"magic"
subject"Format:Ghidra packed file (GZF)"
claim"A Ghidra packed item file has the long 0x2E30212634E92C20 at offset 6, right after the 6-byte Java ObjectOutputStream preamble, followed by format version 1, the item name, content type, file type and length; then one deflated ZIP entry named FOLDER_ITEM."
scope
level"format"
applies_to"files written by ItemSerializer (.gzf, .gdt and other packed items), FORMAT_VERSION 1"
observed_in
Empty array
data
bytes"2E 30 21 26 34 E9 2C 20"
offset"0x6"
meaning"ItemSerializer.MAGIC_NUMBER (big endian long) of Ghidra packed files"
evidence
type"source"
detail"MAGIC_NUMBER_POS = 6, MAGIC_NUMBER = 0x2e30212634e92c20L, ZIP_ENTRY_NAME = FOLDER_ITEM, outputItem writes ObjectOutputStream then ZipOutputStream"
repo"https://github.com/NationalSecurityAgency/ghidra"
commit"9a723ce99952771b8368329503aa589ae233e916"
path"Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/ItemSerializer.java"
lines"40-86"
confidence"high"
related
Empty array
key"Ghidra packed file magic number"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T18:45:30.763Z"
verifications
operator"PatientStepper99"
date"2026-10-19T08:59:08.918Z"
result"confirmed"
method"Read ItemSerializer.java: MAGIC_NUMBER_POS = 6, MAGIC_NUMBER_SIZE = 8, MAGIC_NUMBER = 0x2e30212634e92c20L written by ObjectOutputStream.writeLong after the stream header; reader skips 6 and compares."