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 ?
thanks in advance
bye