Skip to content

Paessler PRTG Monitoring System database file (.db)

.db file signature | application/octet-stream

Windows 7 thumbcache_sr.db or other thumbcache file(except thumbcache_idx.db)

Safe

Magic Bytes

Offset 0
53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 00

Sources: Wikipedia, Gary Kessler

All Known Signatures

9 signature variants are documented for .db files across multiple sources.

Hex Signature Offset Sources
53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 00 0 Wikipedia, Gary Kessler
00 06 15 61 00 00 00 02 00 00 04 D2 00 00 10 00 0 Gary Kessler
00 3B 05 00 01 00 00 00 0 Gary Kessler
43 4D 4D 4D 15 00 00 00 0 Gary Kessler
44 42 46 48 0 Gary Kessler
49 4D 4D 4D 15 00 00 00 0 Gary Kessler
CF FA ED FE 0 Gary Kessler
D0 CF 11 E0 A1 B1 1A E1 0 Gary Kessler
51 20 BE FF EF FF FF FF 04 00 00 00 0 Gary Kessler

Extension

.db

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .db files in Python

Python
def is_db(file_path: str) -> bool:
    """Check if file is a valid DB by magic bytes."""
    signature = bytes([0x53, 0x51, 0x4C, 0x69, 0x74, 0x65, 0x20, 0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x20, 0x33, 0x00])
    with open(file_path, "rb") as f:
        return f.read(16) == signature

How to validate .db files in Node.js

Node.js
function isDB(buffer: Buffer): boolean {
  const signature = Buffer.from([0x53, 0x51, 0x4C, 0x69, 0x74, 0x65, 0x20, 0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x20, 0x33, 0x00]);
  return buffer.subarray(0, 16).equals(signature);
}

How to validate .db files in Go

Go
func IsDB(data []byte) bool {
    signature := []byte{0x53, 0x51, 0x4C, 0x69, 0x74, 0x65, 0x20, 0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x20, 0x33, 0x00}
    if len(data) < 16 {
        return false
    }
    return bytes.Equal(data[:16], signature)
}

API Endpoint

GET /api/v1/db
curl https://filesignature.org/api/v1/db

See the full API documentation for all endpoints and parameters.

Frequently Asked Questions

What is a .db file?

A .db file is a Paessler PRTG Monitoring System database file file. Windows 7 thumbcache_sr.db or other thumbcache file(except thumbcache_idx.db)

What are the magic bytes for .db files?

The magic bytes for Paessler PRTG Monitoring System database file files are 53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 00 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .db file?

To validate a .db file, read the first bytes of the file and compare them against the known magic bytes (53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 00) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .db files?

There is no officially registered MIME type for .db files. Systems typically use application/octet-stream as a generic fallback when handling this format.

Is it safe to open .db files?

Paessler PRTG Monitoring System database file (.db) files are generally safe to open. They are classified as low risk because they primarily contain data rather than executable code. However, always ensure files come from a trusted source.