Detect-It-Easy/db_extra/PE/protector_Adept_Protector.2.sg
DosX 4eebb1c386 Standardize and clarify PE rule file naming
Renamed numerous db_extra/PE and db/Binary rule files to use consistent prefixes (e.g., cryptor_, protector_, installer_, etc.) for improved organization and clarity. Minor metadata and whitespace adjustments were made in a few files to match naming conventions.
2026-01-12 16:01:58 +03:00

20 lines
No EOL
547 B
JavaScript

// Detect It Easy: detection rule file
meta("protector", "Adept Protector");
function detect() {
if (PE.isNET()) {
var nOffset = PE.findString(PE.section[0].FileOffset, PE.section[0].FileSize, "ByAdeptProtector");
if (nOffset != -1) {
if (PE.compare("'Smashed'", nOffset - 7)) {
sOptions = "Evaluation";
} else if (PE.compare("'STAThreadAttribute'", nOffset + 17)) {
sVersion = "2.1";
}
bDetected = true;
}
}
return result();
}