// Detect It Easy: detection rule file
// Author: Arjan Onwezen
// Info: https://msopenspecs.azureedge.net/files/MS-PST/%5bMS-PST%5d.pdf

meta("format", "Microsoft Outlook Personal Storage Table (PST)");

function detect() {
    if (Binary.getSize() > 1024) {
        if (Binary.compare("21 42 44 4E") && Binary.compare("53 4D", 8)) {
            bDetected = true;
        }
    }

    return result();
}