mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Merge branch 'master' of https://github.com/horsicq/Detect-It-Easy
This commit is contained in:
commit
07eadbc2ed
1 changed files with 4 additions and 8 deletions
|
|
@ -2388,15 +2388,11 @@ function scanForPackersAndCryptors_NET_and_Native() { // For .NET and Native app
|
|||
|
||||
if (PE_Cached.numberOfSections === 3 &&
|
||||
(PE.section[0].Characteristics & SECTION_FLAGS_RWX_MASK) === SECTION_FLAGS_RWX_MASK &&
|
||||
(PE.section[1].Characteristics & SECTION_FLAGS_RWX_MASK) === SECTION_FLAGS_RWX_MASK && (
|
||||
(PE.section[2].Characteristics & SECTION_FLAGS_READ) === SECTION_FLAGS_READ ||
|
||||
(PE.section[2].Characteristics & (SECTION_FLAGS_READ | SECTION_FLAGS_WRITE)) === (SECTION_FLAGS_READ | SECTION_FLAGS_WRITE)
|
||||
) &&
|
||||
(PE.section[1].Characteristics & SECTION_FLAGS_RWX_MASK) === SECTION_FLAGS_RWX_MASK &&
|
||||
(PE.section[2].Characteristics & SECTION_FLAGS_READ) === SECTION_FLAGS_READ &&
|
||||
PE.isFunctionPresent("VirtualProtect") &&
|
||||
PE.isFunctionPresent("GetProcAddress") && (
|
||||
PE.isFunctionPresent("ExitProcess") || // Original
|
||||
PE.isFunctionPresent("CopyContext") // https://github.com/DosX-dev/UPX-Patcher
|
||||
)
|
||||
PE.isFunctionPresent("GetProcAddress") &&
|
||||
PE.isFunctionPresent("ExitProcess")
|
||||
) {
|
||||
log(logType.nothing, "UPX-like structure detected: [0]RWX/[1]RWX/[2]R");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue