unable to encode using shikata ga nai encoder

Report errors found in any assets.
Post Reply
User avatar
Donnieclark
New Member
New Member
Posts: 1
Joined: Tue Oct 24, 2017 1:16 am

hi all,
I am using a bt5 install on a laptop HDD partition.
I am trying to encode an executable using the msfencode command . I used the following syntax :-
Code:
./msfencode -t exe -x trojan.exe -k -o trojan_enc.exe -e x86/shikata_ga_nai -c 1
However, shikata_ga_nai first indicates it succeeded and then aborts saying .text section is too small to be usable
I have seen a tutorial about extending the pe file sections and could add the bytes to the last section of the pe file. But as I understand, I
have to add the extra bytes to the .text section, which is the first section in the section table and that means I have to relocate the other sections.
I couldnot succeed doing that! So can someone help me on extending the .text section of an exe and thus overcome the msfencode problem indicated above ?


I didn't find the right solution from the internet.

References:
https://www.backtrack-linux.org/forums/ ... =537808465

motion graphics videos
Post Reply