Nokia phone backup file
application/octet-stream
Magic Bytes
Offset: 0
CD 20 AA AA 02 00 00 00
Nokia Phone Backup (NBU) is a proprietary data archive created by Nokia for its mobile devices. It was primarily used with the Nokia PC Suite and Nokia Ovi Suite applications to back up user data, including contacts, calendar entries, and text messages. As a legacy format associated with older Symbian-based handsets, it is now largely obsolete and typically requires specialized utility software for modern data extraction or file conversion.
Validation Code
How to validate .nbu files in Python
Python
def is_nbu(file_path: str) -> bool:
"""Check if file is a valid NBU by magic bytes."""
signature = bytes([0xCD, 0x20, 0xAA, 0xAA, 0x02, 0x00, 0x00, 0x00])
with open(file_path, "rb") as f:
return f.read(8) == signature
How to validate .nbu files in Node.js
Node.js
function isNBU(buffer: Buffer): boolean {
const signature = Buffer.from([0xCD, 0x20, 0xAA, 0xAA, 0x02, 0x00, 0x00, 0x00]);
return buffer.subarray(0, 8).equals(signature);
}
Go
func IsNBU(data []byte) bool {
signature := []byte{0xCD, 0x20, 0xAA, 0xAA, 0x02, 0x00, 0x00, 0x00}
if len(data) < 8 {
return false
}
return bytes.Equal(data[:8], signature)
}
API Endpoint
GET
/api/v1/nbu
curl https://filesignature.org/api/v1/nbu