flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
fasmis 07 Sep 2008, 21:31
hi all
i want write a simple file encrypting like this : http://board.flatassembler.net/topic.php?t=8951 but WITHOUT ANY MACRO , completely in assembly . but i don't know how . please help me . thanks in advance . |
|||
![]() |
|
dxl 07 Sep 2008, 22:55
A macro isn't a function.
If you dont know anything about PE format, it would be hard to write such stuff. |
|||
![]() |
|
dacid 08 Sep 2008, 08:16
you can add the size of your decryptor to the last section and copy there or create a new section and copy the decryptor to it. You also need to modify the EntryPoint in PE header to point to your decryptor (in last section or in the new section). At finish you must "jump" to the original entrypoint so the original program will execute.
|
|||
![]() |
|
dxl 09 Sep 2008, 10:48
do not forget to add the Writing attribute to the section you want to encrypt especially the code section.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.