Skip to main content
Filter by
Sorted by
Tagged with
6 votes
0 answers
280 views

We have sandbox.exe, app.exe and app.dll. If users want to run the not sandboxed application, they run app.exe. If users want to run the application in the sandbox, they run sandbox.exe that loads app....
3CEZVQ's user avatar
  • 42.9k
0 votes
1 answer
62 views

So I have these two macros #define ESTART \ _Pragma("optimize(\"\", off)") \ _Pragma("section(\".secure\", execute, read, write)") \ _Pragma("...
Aspis's user avatar
  • 7
0 votes
0 answers
29 views

When I run this program in cmd, it instantly ends without printing anything and doesn't even reach the loop "wat2: jmp wat2" right after WriteFile. if I place the wat2 loop before WriteFile, ...
Kun Xiang's user avatar
2 votes
2 answers
169 views

I'm having some struggles with my PowerShell script. I am trying to make an Automated Script that will Perform the Utilman.exe Hack. The script has menus and options: Load, Unload, List Disk and ...
WillyNull's user avatar
2 votes
1 answer
333 views

I need an x64 Reflective DLL Injector written in Delphi. I found a C version that works fine (compiled with DevC++ with 64bit app support). I made a Delphi version that compiles fine and without any ...
FLASHCODER's user avatar
1 vote
0 answers
31 views

I'm writing a minimal PE loader that parses the export table to locate functions by name, in my hypervisor. However, when I try to retrieve the RVA of a function, the value seems incorrect. Here's the ...
עמית ברוניצקי's user avatar
3 votes
1 answer
80 views

I got following C code compiled with GCC on Windows #include <stdio.h> #include <conio.h> int main() { int a = 68639977; printf("int: %d", a); getch(); a++; ...
popouu's user avatar
  • 43
1 vote
0 answers
139 views

struct IMAGE_DOS_HEADER from Win11 SDK: typedef struct _IMAGE_DOS_HEADER { // DOS .EXE header WORD e_magic; // Magic number WORD e_cblp; // ...
Jet Tang's user avatar
0 votes
0 answers
32 views

From what I read, although PE format is used mostly for executable files it can also be used for object files. And usually, on Windows systems classic COFF format is used for object files. Is there a ...
roeegg's user avatar
  • 344
3 votes
0 answers
141 views

I am trying to export a Godot project in a CI/CD pipeline on GitHub Actions. Godot doesn't offer functionality for adding icons to the exported Windows .exe out of the box and uses rcedit instead. ...
Cassiterite's user avatar
2 votes
1 answer
213 views

I'm working on a project where I want to create a new executable file by copying the sections of a running PE (Portable Executable) file from memory to disk using C on Windows. However, I'm running ...
MasterYii's user avatar
0 votes
1 answer
345 views

I've been analysing Windows PE executables' binary file format. I know how to differentiate PE32 (32 bit) vs PE32+ (64 bit) and how to differentiate x86 vs x64. But I know that managed code uses the ...
hippietrail's user avatar
  • 17.3k
0 votes
1 answer
107 views

I am trying to recover the imported functions from a PE file. The code looks for call instructions in the disassembled .text section and then checks the call destination address against the function ...
Stephen O'Shaughnessy's user avatar
0 votes
1 answer
104 views

I'm making a packer in Rust. packer/src/main.rs: #[link_section = ".pe"] #[used] static mut PE: &[u8] = &[]; fn main() { unsafe { rspe::reflective_loader(common::...
Xobtah's user avatar
  • 545
0 votes
0 answers
175 views

I use gcc (mingw) on Windows and I want to add a custom section into the PE file similar to the way this is discussed for ELF in https://stackoverflow.com/a/30617411/1630083 But I did not find a way ...
qknight's user avatar
  • 954
0 votes
1 answer
32 views

I've been looking for a certain cl flag that would generate me an executable without any additional debug information, I need to optimize the space I am using as much as possible for my project ...
Yakari TunetMic's user avatar
0 votes
1 answer
741 views

Okay, I have one rather suspicious file that is even taking some control over my PC. However, I need it, so I decided to decompile it and see if it was harming my PC and can I cut it out? I've used a ...
faygoLover's user avatar
0 votes
1 answer
312 views

There are many sources including Microsoft documents that say "Optional header doesn't have fixed size and its size is stored at FileHeader.SizeOfOptionalHeader". But the ...
mНBr's user avatar
  • 71
1 vote
0 answers
181 views

I want to extract raw bytes of DOS stub using pefile library. Does pefile have a feature for this? If it doesn't then I have to do it manually. I guess DOS stub always starts at offset 0x40 but where ...
kasper's user avatar
  • 11
0 votes
0 answers
77 views

I was trying to convert this MASM code .386 .model flat, stdcall .stack 4096 assume fs:nothing .code main proc mov eax, [fs:30h] ; Pointer to PEB (https://en.wikipedia.org/...
FAMO4S's user avatar
  • 47
0 votes
1 answer
601 views

I'm trying to learn PE format and how PE loaders work, I took this repository as an example, https://github.com/TheD1rkMtr/FilelessPELoader. The FilelessPELoader doesn't support relocation. Right now ...
David's user avatar
  • 59
0 votes
1 answer
232 views

I was tried this code: HMODULE hModule = LoadLibrary(argv[1]); PIMAGE_DOS_HEADER dosHeader = (PIMAGE_DOS_HEADER)hModule; PIMAGE_NT_HEADERS ntHeaders = (PIMAGE_NT_HEADERS)((DWORD_PTR)...
winapiadmin's user avatar
2 votes
1 answer
2k views

I want to install Edge in Windows programmatically using the official MSI Edge installer (151 MB) but avoid the use of administrator permissions, and place the extracted files in a custom folder (not ...
Boni García's user avatar
  • 4,878
0 votes
0 answers
132 views

In PE header, there are import directory which describes where the loader should bind the imported symbols. More precisely: typedef struct _IMAGE_IMPORT_DESCRIPTOR { union { DWORD ...
imakak's user avatar
  • 328
0 votes
1 answer
403 views

I have found the following code in a 32-bit binary running on a windows 64-bit system : mov eax,dword ptr fs:[18] mov ecx,dword ptr [eax+F70] mov eax,dword ptr [ecx+78] ret it seems that it returns ...
Nerios's user avatar
  • 43

1
2 3 4 5
22