klezVirus / inceptor

Template-Driven AV/EDR Evasion Framework
Other
1.6k stars 262 forks source link

Dotnet packing error #45

Open Bratox opened 1 year ago

Bratox commented 1 year ago

Hello,

I would like to pack my EXE to EXE with dotnet, but I always have this issue when I am trying, what could be the problem here ?

image

Thank you for your work

klezVirus commented 1 year ago

Hi @Bratox, thanks for reaching out. To help you with your issue, I would need some other info. Specifically:

Bratox commented 1 year ago

Hi @klezVirus

Command used : python.exe inceptor.py dotnet exe_to_pack.exe -o packed.exe Binary : It is a 32/64 bits binary Template : Yes I use built-in PE-LOAD template

I have tried different way, with -O, with modules, by selecting each template, I always have the same issue

klezVirus commented 1 year ago

I've pushed a fix to correct the specific error you are getting. This will not fix your problem, it will just help tracking down the real issue, cause the issue you are getting is just an output parsing issue from the compiler, which cannot show up properly.

When we get the real issue, we can try and fix it.

Side note: can you try with -t loader option as well?

Bratox commented 1 year ago

Here is the result that I get Command : python.exe inceptor.py dotnet exe_to_pack.exe -o packed.exe -t loader

image

There is the translation of the fatal error part, it is in French Unexpected error when writing metadata to the file 'c:\Users\brato\Desktop\Taffe\inceptor\inceptor\temp\packed-temp.exe' -- 'No logical space left for creating additional user strings.

It is doing the same thing without -t loader