| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 64699a3 commit 2c9875b
7 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,23 @@ | |||
| 1 | + del aplib_x86.bin | ||
| 2 | + del ntdll_x86.bin | ||
| 3 | + del main_x86.bin | ||
| 4 | + del aplib_x86.h | ||
| 5 | + del ntdll_x86.h | ||
| 6 | + del main_x86.h | ||
| 7 | + del TestDll_aplib.dll | ||
| 8 | + del TestDll_nt.dll | ||
| 9 | + ShellCode_Aplib.exe | ||
| 10 | + ShellCode_Ntdll.exe | ||
| 11 | + ShellCode_Main.exe | ||
| 12 | + DllToShellCode.exe c 1 TestDll.dll TestDll_nt.dll | ||
| 13 | + DllToShellCode.exe c 2 TestDll.dll TestDll_aplib.dll | ||
| 14 | + DllToShellCode.exe b aplib_x86.bin aplib_x86.h | ||
| 15 | + DllToShellCode.exe b ntdll_x86.bin ntdll_x86.h | ||
| 16 | + DllToShellCode.exe b main_x86.bin main_x86.h | ||
| 17 | + fasm tester_main_mode1.asm | ||
| 18 | + fasm tester_main_mode2.asm | ||
| 19 | + fasm tester_aplib_mode1.asm | ||
| 20 | + fasm tester_aplib_mode2.asm | ||
| 21 | + fasm tester_nt_mode1.asm | ||
| 22 | + fasm tester_nt_mode2.asm | ||
| 23 | + @pause | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,29 @@ | |||
| 1 | + format PE | ||
| 2 | + | ||
| 3 | + entry start | ||
| 4 | + | ||
| 5 | + section '.text' code readable executable | ||
| 6 | + | ||
| 7 | + tester: | ||
| 8 | + file 'main_x86.bin' | ||
| 9 | + | ||
| 10 | + param_data: | ||
| 11 | + invokeMode db 0 | ||
| 12 | + depackCodeOffset dd aplib_unpack_code - param_data | ||
| 13 | + unpackSize dd 179712 | ||
| 14 | + packedSize dd dll_data_end - dll_data_start | ||
| 15 | + dllDataOffset dd dll_data_start - param_data | ||
| 16 | + param db 'Tester' | ||
| 17 | + reserved rb 100 - 6 | ||
| 18 | + | ||
| 19 | + start: | ||
| 20 | + call tester | ||
| 21 | + ret | ||
| 22 | + | ||
| 23 | + aplib_unpack_code: | ||
| 24 | + file 'aplib_x86.bin' | ||
| 25 | + | ||
| 26 | + dll_data_start: | ||
| 27 | + file 'TestDll_aplib.dll' | ||
| 28 | + | ||
| 29 | + dll_data_end: | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,30 @@ | |||
| 1 | + format PE | ||
| 2 | + | ||
| 3 | + entry start | ||
| 4 | + | ||
| 5 | + section '.text' code readable executable | ||
| 6 | + | ||
| 7 | + tester: | ||
| 8 | + file 'main_x86.bin' | ||
| 9 | + | ||
| 10 | + param_data: | ||
| 11 | + invokeMode db 1 | ||
| 12 | + depackCodeOffset dd aplib_unpack_code - param_data | ||
| 13 | + unpackSize dd 179712 | ||
| 14 | + packedSize dd dll_data_end - dll_data_start | ||
| 15 | + dllDataOffset dd dll_data_start - param_data | ||
| 16 | + param db 'Test' | ||
| 17 | + reserved rb 100 - 4 | ||
| 18 | + | ||
| 19 | + start: | ||
| 20 | + call tester | ||
| 21 | + call eax | ||
| 22 | + ret | ||
| 23 | + | ||
| 24 | + aplib_unpack_code: | ||
| 25 | + file 'aplib_x86.bin' | ||
| 26 | + | ||
| 27 | + dll_data_start: | ||
| 28 | + file 'TestDll_aplib.dll' | ||
| 29 | + | ||
| 30 | + dll_data_end: | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,25 @@ | |||
| 1 | + format PE | ||
| 2 | + | ||
| 3 | + entry start | ||
| 4 | + | ||
| 5 | + section '.text' code readable executable | ||
| 6 | + | ||
| 7 | + tester: | ||
| 8 | + file 'main_x86.bin' | ||
| 9 | + | ||
| 10 | + param_data: | ||
| 11 | + invokeMode db 0 | ||
| 12 | + depackCodeOffset dd 0 | ||
| 13 | + unpackSize dd dll_data_end - dll_data_start | ||
| 14 | + packedSize dd dll_data_end - dll_data_start | ||
| 15 | + dllDataOffset dd dll_data_start - param_data | ||
| 16 | + param db 'Tester' | ||
| 17 | + reserved rb 100 - 6 | ||
| 18 | + | ||
| 19 | + start: | ||
| 20 | + call tester | ||
| 21 | + ret | ||
| 22 | + dll_data_start: | ||
| 23 | + file 'TestDll.dll' | ||
| 24 | + | ||
| 25 | + dll_data_end: | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,26 @@ | |||
| 1 | + format PE | ||
| 2 | + | ||
| 3 | + entry start | ||
| 4 | + | ||
| 5 | + section '.text' code readable executable | ||
| 6 | + | ||
| 7 | + tester: | ||
| 8 | + file 'main_x86.bin' | ||
| 9 | + | ||
| 10 | + param_data: | ||
| 11 | + invokeMode db 1 | ||
| 12 | + depackCodeOffset dd 0 | ||
| 13 | + unpackSize dd dll_data_end - dll_data_start | ||
| 14 | + packedSize dd dll_data_end - dll_data_start | ||
| 15 | + dllDataOffset dd dll_data_start - param_data | ||
| 16 | + param db 'Test' | ||
| 17 | + reserved rb 100 - 4 | ||
| 18 | + | ||
| 19 | + start: | ||
| 20 | + call tester | ||
| 21 | + call eax | ||
| 22 | + ret | ||
| 23 | + dll_data_start: | ||
| 24 | + file 'TestDll.dll' | ||
| 25 | + | ||
| 26 | + dll_data_end: | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,29 @@ | |||
| 1 | + format PE | ||
| 2 | + | ||
| 3 | + entry start | ||
| 4 | + | ||
| 5 | + section '.text' code readable executable | ||
| 6 | + | ||
| 7 | + tester: | ||
| 8 | + file 'main_x86.bin' | ||
| 9 | + | ||
| 10 | + param_data: | ||
| 11 | + invokeMode db 0 | ||
| 12 | + depackCodeOffset dd nt_unpack_code - param_data | ||
| 13 | + unpackSize dd 179712 | ||
| 14 | + packedSize dd dll_data_end - dll_data_start | ||
| 15 | + dllDataOffset dd dll_data_start - param_data | ||
| 16 | + param db 'Tester' | ||
| 17 | + reserved rb 100 - 6 | ||
| 18 | + | ||
| 19 | + start: | ||
| 20 | + call tester | ||
| 21 | + ret | ||
| 22 | + | ||
| 23 | + nt_unpack_code: | ||
| 24 | + file 'ntdll_x86.bin' | ||
| 25 | + | ||
| 26 | + dll_data_start: | ||
| 27 | + file 'TestDll_nt.dll' | ||
| 28 | + | ||
| 29 | + dll_data_end: | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,30 @@ | |||
| 1 | + format PE | ||
| 2 | + | ||
| 3 | + entry start | ||
| 4 | + | ||
| 5 | + section '.text' code readable executable | ||
| 6 | + | ||
| 7 | + tester: | ||
| 8 | + file 'main_x86.bin' | ||
| 9 | + | ||
| 10 | + param_data: | ||
| 11 | + invokeMode db 1 | ||
| 12 | + depackCodeOffset dd nt_unpack_code - param_data | ||
| 13 | + unpackSize dd 179712 | ||
| 14 | + packedSize dd dll_data_end - dll_data_start | ||
| 15 | + dllDataOffset dd dll_data_start - param_data | ||
| 16 | + param db 'Test' | ||
| 17 | + reserved rb 100 - 4 | ||
| 18 | + | ||
| 19 | + start: | ||
| 20 | + call tester | ||
| 21 | + call eax | ||
| 22 | + ret | ||
| 23 | + | ||
| 24 | + nt_unpack_code: | ||
| 25 | + file 'ntdll_x86.bin' | ||
| 26 | + | ||
| 27 | + dll_data_start: | ||
| 28 | + file 'TestDll_nt.dll' | ||
| 29 | + | ||
| 30 | + dll_data_end: | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments