Detect-It-Easy/db/MSDOS/protector_Secure.2.sg
DosX 9e621e1954 Rename and reorganize rule files
Renamed and moved numerous .sg files in the db directory to follow a more consistent naming convention and directory structure, grouping by type (e.g., compiler, cruncher, packer, protector, etc.). This improves maintainability and clarity of the signature database organization.
2026-01-25 11:20:39 +03:00

25 lines
No EOL
936 B
JavaScript

// Detect It Easy: detection rule file
// Author: hypn0 <hypn0@mail.ru>
meta("protector", "Secure");
function detect() {
if (MSDOS.compareEP("8CC805....50B8....50B0..068CD20683....50B0..52FC508CD28CCDBB....03EB4A8EDD8EC24DB9....33FFBE....AD35....ABE2")) {
sVersion = "2.1b";
bDetected = true;
} else if (MSDOS.compareEP("8CC805....50B8....50CB")) {
sVersion = "2.1b";
bDetected = true;
} else if (MSDOS.compareEP("e8$$$$fa4c904c81f3....56be....5eeb$$eb$$81f3....444490fb5bf7c2....eb$$53b9....eb")) {
sVersion = "0.29";
bDetected = true;
} else if (MSDOS.compareEP("e8")) {
var offset = MSDOS.readWord(MSDOS.getEntryPointOffset() + 1) + MSDOS.getEntryPointOffset() + 3;
if (MSDOS.findSignature(offset, MSDOS.getSize() - offset, "2e8037..43e2f9") != -1) {
sVersion = "0.19";
bDetected = true;
}
}
return result();
}