Apple Biome Forensics: Parsing Biome Files
Finding Biome files on an iPhone is only the first step. The records inside them are Protocol Buffer (Protobuf) messages with no published schema: fields have numbers instead of names, and some records nest more data several layers deep. Before you rely on a Biome record as evidence, you need to extract it, decode it, and work out what each value means.
In this article, you will learn:
- How to find a record in a SEGB file and extract its payload
- How to decode a Protobuf payload without a schema
- How to interpret the decoded fields
- How to parse nested payloads, such as App Intent records
- Where manual parsing falls short
This is the second article in our Apple Biome forensics series. The first article covers Biome artifact locations and the SEGB format, and the third article explains how to interpret Biome artifacts. Belkasoft X parses Biome records automatically, but knowing how the parsing works helps you verify a finding and explain it in a report. Read on to learn how to parse Apple Biome records step by step: find a SEGB record, decode its Protobuf payload, and check the result with Belkasoft X.
How to parse SEGB files
Apple has not documented the Biome storage format or its Protobuf schemas. Everything below comes from reverse engineering by the forensic community and from our own tests. Parsing a record takes four steps:
- Find the record in the SEGB file.
- Extract the payload from the record.
- Decode the payload from Protobuf into numbered fields.
- Interpret the fields by matching values to what you already know about the event.
The example below follows one real record through all four steps. The record comes from the application installation stream (_DKEvent.App.Install) of a test iPhone and describes the installation of Slack.
Step 1: Find the record
First, identify the SEGB version. Open the file in a hex viewer and find the SEGB signature. If it sits at offset 0, the file is SEGB v2. If it sits at offset 52 (0x34), the file is SEGB v1.

The SEGB signature at offset 0x34 (52) in the Belkasoft X hex viewer marks a SEGB v1 file
Then locate the records:
- SEGB v1. The first record starts at offset 56. Read the payload length from the first 4 bytes of the record header. The payload starts right after the 32-byte record header. The next record header starts at the next offset divisible by 8.
- SEGB v2. Read the record count from the file header, then read the same number of trailer entries from the end of the file. Calculate the start and end of each record from the trailer entries, as described in the first article of this series. SEGB v2 has no length field, so calculate the payload length as the record end offset minus the record start offset minus 8 bytes for the record header.
In our example, we found the Slack record by walking through the records from the start of the file:
- Read the first record header at offset 56 (0x38). Its first 4 bytes, A0 00 00 00, give a payload length of 160 bytes. The record ends at 0x38 + 32 + 160 = 0xF8. This offset is already divisible by 8, so the second record header starts right there.
- Pass on to examine the next record. In our file, the first 53 records have state 3, which marks a deleted record. Their payloads are filled with zeros, so they hold no event data. Records 54 and 55 describe the installation of Microsoft Teams and Reddit.
- Record 56 is found at offset 0x3080 and holds the Slack installation details.
Walking a large file by hand takes time. The ccl-segb modules described in Step 3 perform the same walk automatically. Proper forensic solutions, such as Belkasoft X, can parse Biome files into artifacts.
Step 2: Extract the payload
Let us look into the Slack installation record we found. The file is SEGB v1, so the record starts with a 32-byte record header:

The Slack installation record in the Belkasoft X File System window: the 32-byte record header at offset 0x3080, followed by the Protobuf payload
All values in the record header are little-endian, so read the bytes of each value in reverse order. The bytes break down as follows:
- D2 00 00 00—payload length: 0xD2, or 210 bytes
- 01 00 00 00—record state: 1, Written
- 3E 3C 41 0A 77 9E C5 41—first timestamp: 725,413,396.51 seconds in Mac Absolute Time (counted from January 1, 2001, UTC), or December 27, 2023, 23:43:16 UTC
- 3E 3C 41 0A 77 9E C5 41—second timestamp: the same value
- D7 12 BD 59—CRC32 checksum of the payload: 0x59BD12D7
- 02 00 00 00—unknown value
The payload starts right after the header, at 0x30A0. It is 210 bytes long, so it ends at 0x3171, which is also the end of the record. The next record header starts at 0x3178, the next offset divisible by 8.
To check that you selected exactly the right bytes, calculate the CRC32 checksum of the payload and compare it with the value in the record header. For this record, both values are 0x59BD12D7. Then save these 210 bytes to a file, such as record_payload.bin. Any hex editor that can export a selection is suitable.
Step 3: Decode the Protobuf payload
A Protobuf message is a sequence of fields. Each field starts with a field number and a wire type. The wire type tells the decoder how to read the value, for example, as a variable-length integer, a fixed 8-byte value, or a length-prefixed block of bytes. Field names and exact data types are defined in a separate schema file (.proto), and Apple does not publish its schemas. Without the schema, a decoder shows only field numbers and has to guess how to display each value.
The Google protoc utility decodes a payload without a schema when you run it with the --decode_raw option:
protoc --decode_raw < record_payload.bin
Run the command in Command Prompt or a Unix shell. PowerShell does not support the < redirection operator.
For the Slack installation record, the output looks like this:
1 {
1: "/app/install"
2 {
1: 2
2: 6584185901589580638
}
}
2: 0x41c59e7702000000
3: 0x41c59e7702000000
4 {
1 {
1: 2
2: 6584185901589580638
}
3: "com.tinyspeck.chatlyio"
}
5: "FFE90A50-368B-42A5-B888-AA6ECC6668B3"
7 {
1: ""
2 {
1 {
1: 2
2: 0
}
3: "Slack"
}
3: 2000
}
7 {
1: ""
2 {
1 {
1: 2
2: 0
}
3: "Business"
}
3: 2002
}
7 {
1: ""
2 {
1 {
1: 0
2: 0
}
4: 1
}
3: 2001
}
8: 0x41c59e770a413b32
10: 18446744073709533616
Braces enclose embedded messages. For example, field 4 contains its own fields 1 and 3. Field 7 appears three times, which means that it is a repeated field that holds a list of items.
The --decode_raw option cannot always choose the right data type. In this output, fields 2, 3, and 8 appear as hexadecimal numbers, although they are timestamps. Field 10 appears as a very large number, although it is negative.
Step 4: Interpret the fields
Field numbers carry no names, so you need to work out what each field means. Start with values you can recognize, then compare them with other sources, such as the parsed artifact in Belkasoft X or the application database. For the Slack record, the fields read as follows:
- Field 1 contains the stream name, /app/install. This is the same name that the stream had in knowledgeC.db.
- Fields 2 and 3 are 8-byte doubles. Read as Mac Absolute Time, both equal 725,413,380, or December 27, 2023, 23:43:00 UTC. These are the start and end times of the event, which coincide for an installation. The time is rounded to the whole minute, which matches the precision that Apple defines for this stream. The article on Biome Artifact Analysis explains where this precision comes from.
- Field 4 identifies the application. Its subfield 3 holds the bundle ID com.tinyspeck.chatlyio, which belongs to Slack.
- Field 5 holds the event GUID.
- Field 7 is a list of metadata items. Each item stores a value and a key number. Key 2000 holds the application name, Slack, and key 2002 holds its category, Business. Key 2001 holds the number 1, whose meaning is not confirmed.
- Field 8 is another double: 725,413,396.51, or 23:43:16 UTC. It matches the record header timestamp to within a millisecond, so it is the time when the record was written, 16 seconds after the event.
- Field 10, read as a signed 64-bit integer, equals −18,000. That is −5 hours in seconds, which is most likely the device UTC offset. It matches New York time in winter.
Belkasoft X shows this record in the Biome app install node. The Time (UTC) column shows 12-27-2023 11:43:00 PM, the event time from field 2. The Title column shows the name and category from field 7, and the Name column shows the bundle ID from field 4.

The Slack installation record in the Biome app install node of the Belkasoft X Artifacts window
A field mapping confirmed on one record is a working hypothesis, not a schema. Check it on several records before you rely on it. Field meanings can also differ between streams and iOS versions.
Nested payloads
Some Biome records contain several layers of nested data, which makes them harder to parse. Each SEGB record contains a header followed by the event data, which is typically a Protobuf payload. For most streams, such as App.Install or Device.Wireless.WiFi, you can read the event information directly from the fields of this outer Protobuf message.
App Intent records (SMS, Call, Conversation) are more complex. These records capture message and call activity that applications donate to the system as SiriKit intents, such as INSendMessageIntent. A donation is a short summary of a user action that an application hands to the system so that Siri and Spotlight can suggest repeating it later. A single record nests a binary plist inside the SEGB Protobuf payload, and that plist can contain another Protobuf message. Siri intent data can nest even deeper.

Nested payload structure of App Intent records
To decode such a record, work layer by layer. When a field holds bytes rather than text, check what those bytes start with. The bplist00 signature marks a binary plist, which you can open with any plist parser. If the bytes decode as a valid Protobuf message, decode them again with protoc or blackboxprotobuf. Otherwise, treat them as raw data. Repeat until you reach readable values, such as a phone number or message text.
The inner layers can hold valuable application data. Depending on the intent and the application, this may include message text, participants, contact information, timestamps, or call details. Not every application records the same information. For example, some messaging applications preserve participants and timestamps but not message content.

An App Intent SMS record in Belkasoft X compared with the manually decoded output
Even without field names, you can tell that the decoded record holds the message text, the phone numbers of both parties, the conversation identifier SMS;-;+16616152134, the time zone America/New_York, and the intent response class sirikit.
Limits of manual parsing
Keep two limits in mind when you work with decoded records:
- SEGB record header and trailer timestamps usually mark write time, not event time. When a payload holds its own event timestamp, as fields 2 and 3 do in the Slack record, use it for the timeline.
- Field meanings come from observation, not from documentation. Validate them on test data from the same iOS version, and corroborate key findings with other artifacts.
Belkasoft X helps with both limits for the streams it supports. The Time (UTC) column shows the event time from the payload, not the record write time, as you saw in the Slack example. The parsers also turn numbered fields into named columns, such as Title and Name, so you do not need to map the fields yourself. To check any value, you can still inspect the raw record in the File System window.

Belkasoft X shows the event time from the payload (purple), while the record header keeps the record write time (orange)
Conclusion
Parsing a Biome record by hand comes down to four steps: find the record in the SEGB file, extract its payload, decode the Protobuf data, and interpret the numbered fields. Nested records, such as App Intent records, need the same process repeated for each layer. Manual parsing takes time, but it lets you verify a finding, explain it in a report, and examine streams that your tools do not parse yet.
For everyday casework, Belkasoft X parses Biome records automatically and shows them in the Artifacts window together with the rest of your case data. When you need to check a finding, the File System window and the hex viewer let you inspect the raw SEGB records, as shown in the examples above.
To see how Belkasoft X handles iOS file system extractions and Biome data, download a trial and test it on your own evidence.
FAQ
How do I find the payload length in a SEGB v2 record?
SEGB v2 record headers store no payload length. Take the record end offset from the trailer entry, subtract the record start offset, and subtract 8 bytes for the record header.
How do I decode a Biome record without a Protobuf schema?
Extract the record payload from the SEGB file and run it through a decoder that does not need a schema, such as protoc with the --decode_raw option. The output shows numbered fields without names. To work out what the fields mean, compare their values with what you already know about the event and with other sources.
How do I check that I extracted the right payload bytes?
Calculate the CRC32 checksum of the bytes you selected and compare it with the checksum in the record header. If the values match, you have the exact payload.
Which timestamp in a Biome record shows when the event happened?
Use the timestamp inside the payload when the record has one. The timestamps in the SEGB record header (v1) or trailer entry (v2) usually mark the moment when the record was written. In the Slack example, the record was written 16 seconds after the event.
Why are App Intent records harder to parse than other Biome records?
App Intent records contain nested data. The Protobuf payload holds a binary plist, and that plist can hold another Protobuf message. You need to decode each layer in turn to reach values such as the message text or a phone number.
Can I automate Biome parsing?
Belkasoft X parses a broad set of Biome streams automatically and shows them in the Artifacts window.