flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
resoftw 28 Dec 2005, 21:18
Here you can create a PE with encrypted strings and imports using win32x.inc. This is my first try of fasm's great macro.
You can add mimas's code encryption on thread: flat assembler > Macroinstructions > XOR Crypting Macro So it will be a full encrypted PE... Sorry for the bad english! ![]() btw i'm new here n in 'FASM World' greets to all! ![]() FASM ROCKS! Thanks Thomasz! Some question: Why cant I use the JohnFound's Global Macro on FASM 1.64? ![]() nb: assemble blank.asm and put the resulting .exe to the same dir as win32x.inc, that is your fasminc directory. ![]()
_________________ ![]() ^_^ Last edited by resoftw on 30 Dec 2005, 18:54; edited 1 time in total |
|||||||||||
![]() |
|
shism2 28 Dec 2005, 23:51
how to compile.....
|
|||
![]() |
|
resoftw 29 Dec 2005, 17:59
shism2 wrote: how to compile..... Code: include "win32x.inc" ;include this ;declare dbx strings (encrypted strings) hello dbx 'Hello World!',0 title dbx 'Win32X test App',0 main: ; program's main... ; define this if using win32x.inc undbxall ; decrypting all dbx strings... ; call it before using any dbx strings ; and should be placed after all of dbx declarations... ; coz it's a macro.. invoke MessageBox,0,hello,title,0 invoke ExitProcess,0 That's all, use FASMW 1.64, I never tried lower version BLANK.ASM is source code for DOS STUB (blank.exe) ![]() vid: Thanks alot for your great help.... I was using nasm just before I use fasm.. that's why I want this macro to be working badly.... regards _________________ ![]() ^_^ |
|||
![]() |
|
vid 29 Dec 2005, 18:31
resoftw: nasm had ability / macro to move parts of code elsewhere? Or you mean concatenating sections by linker?
|
|||
![]() |
|
resoftw 29 Dec 2005, 20:03
vid: yes that's it, concatenating sections by linker, i know it's a linker's job, but with powerful 'Flat Assembler' and it's macro features, why not?
Your solution helps so much, thanks vid! ![]() _________________ ![]() ^_^ |
|||
![]() |
|
shism2 30 Dec 2005, 02:58
This is what I get
File not found : format PE gui on 'BLANK.EXE' |
|||
![]() |
|
vid 30 Dec 2005, 09:57
shihsm: remove on 'BLANK.EXE', it can go without it
|
|||
![]() |
|
resoftw 30 Dec 2005, 18:41
![]() actualy blank.exe has nothing to do with the encryption it self, it's just in order to make the dos exe header smaller... (default fasm pe stub is 0x80 in size, while this 'blank.exe' produce a stub that has 0x40 in size) optionally you can remove on 'BLANK.EXE' like vid said. regards _________________ ![]() ^_^ |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.