kevoreilly / capemon

capemon: CAPE's monitor
GNU General Public License v3.0
102 stars 49 forks source link

Detonation failure due to VS2022 #61

Open kevoreilly opened 1 year ago

kevoreilly commented 1 year ago

The sample 5e56a3c4d4c304ee6278df0b32afb62bd0dd01e2a9894ad007f4cc5f873ab5cf (PowerLoader) fails to detonate properly with 64-bit capemon compiled with VS2022 on Windows 7 x64.

The issue appears to be with the WriteProcessMemory hook which is called early in capture of the injected explorer.exe. Even with an 'empty' hook detonation fails.

image

If capemon is compiled with VS2017 the sample detonates fine, as seen below:

image