Synology router configuration backup file

application/octet-stream

Safe

Magic Bytes

Offset: 0
02 64 73 73

Synology router configuration backup (DSS) is a proprietary binary file format developed by Synology Inc. for their Synology Router Manager (SRM) operating system. It serves as a comprehensive archive of system parameters, firewall rules, and user settings, facilitating device restoration or hardware migration. Although the format is non-executable, these files frequently contain sensitive network credentials and should be managed with strict access controls to prevent unauthorized administrative access or potential network reconfiguration.

Extension

.dss

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .dss files in Python

Python
def is_dss(file_path: str) -> bool:
    """Check if file is a valid DSS by magic bytes."""
    signature = bytes([0x02, 0x64, 0x73, 0x73])
    with open(file_path, "rb") as f:
        return f.read(4) == signature

How to validate .dss files in Node.js

Node.js
function isDSS(buffer: Buffer): boolean {
  const signature = Buffer.from([0x02, 0x64, 0x73, 0x73]);
  return buffer.subarray(0, 4).equals(signature);
}
Go
func IsDSS(data []byte) bool {
    signature := []byte{0x02, 0x64, 0x73, 0x73}
    if len(data) < 4 {
        return false
    }
    return bytes.Equal(data[:4], signature)
}

API Endpoint

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

Related Formats