mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
17 lines
No EOL
488 B
JavaScript
Executable file
17 lines
No EOL
488 B
JavaScript
Executable file
// Detect It Easy: detection rule file
|
|
|
|
init("protector", "HackShield");
|
|
|
|
function detect() {
|
|
var nImportSection = PE.getImportSection();
|
|
if (nImportSection != 0) {
|
|
var nOffset = PE.section[nImportSection].FileOffset;
|
|
var nSize = PE.section[nImportSection].FileSize;
|
|
nSize = Math.min(nSize, 0x2048);
|
|
if (PE.findString(nOffset, nSize, "TerminateHackShield") != -1) {
|
|
bDetected = true;
|
|
}
|
|
}
|
|
|
|
return result();
|
|
} |