Linked Questions
17 questions linked to/from CreateProcess from memory buffer
0 votes
1 answer
79 views
C - ProcessCreation Problems with WinAPI [duplicate]
I am trying to fopen a file into a file buffer and then create a new process with it. I was trying ASM to goto the start of the file but sadly because of windows it wouldn't actually do anything ...
10 votes
1 answer
5k views
How can i execute an executable from memory?
Let's say I have included a binary into my program during compilation so, I keep it in a variable something like var myExec =[]byte{'s','o','m','e',' ','b','y','t','e','s'} So my question is whether ...
6 votes
2 answers
4k views
How To Run A Downloaded File From Memory? [duplicate]
Possible Duplicate: Load an EXE file and run it from memory using C# I am using the WebClient class to download a .exe from a web server. Is there a way that I can run the .exe without saving it ...
2 votes
2 answers
3k views
Run Assembly as Process
For example, I download an EXE or MSI file from dataBase as byte array. And I want to run it. I can save it in a file and then Process.Start(path). But if I don't want to create a real file, can I do ...
16 votes
3 answers
1k views
Run an assembly .exe from a buffer in C
I'm working in a project related with sandboxing technologies. Currently I'm writing a C program that gets a small assembly .exe binary (.NET) from a remote web server. This binary is stored in ...
5 votes
1 answer
4k views
Execute an executable program (.exe) from memory in Java
I want to execute a program in memory on Windows. I do not want to write the file to disk. I just want to pass in a byte array (which is the program I want to execute) as a parameter. I am not ...
4 votes
1 answer
4k views
c++ how to run an .exe file whose contents are stored in a char array?
I'm making a specific program and i just wondered if I could do this: run a file whose contents are stored in a char array ON WINDOWS. this is the code that reads the executable and stores it in a ...
1 vote
2 answers
2k views
Run exe file from FileStream
I'm trying to run an exe file through filestream , but nothing is happens when I call the command. My code: string filePath = AppDomain.CurrentDomain.BaseDirectory + "OUT\\WAMServer.exe"; // read ...
1 vote
2 answers
3k views
Run a program included in the resources
I'm developing a simple video player in Visual Basic 2010 Express. The program that plays the videos is in the compiled resources, and I'm trying to find a way to run it without having to place the ...
6 votes
1 answer
1k views
Does Windows supports running a program from memory?
I have found out that you can run a program from memory in Windows. But is this functionality considered to be a hack (that could one day not work anymore), or does Windows supports this functionality?...
0 votes
1 answer
2k views
CreateProcess() From Memory Buffer Doesn't Work On Windows 7
I was searching for awhile for how to read an exe into memory and execute it directly from memory. Then I've passed by this answer which was very useful CreateProcess from memory buffer. Fortunately ...
-1 votes
2 answers
1k views
VB.NET Resource exe in memory with argument
Alright so i am pretty new to really anything in memory execution. I usually just write the bytes from the embedded resource into the file on the hard drive but for the program i am making for a work ...
0 votes
2 answers
2k views
Unlock running EXE file from itself
Which WinAPI functions should I use to make a program unlock its own executable file so I can update or recompile it at runtime even if it's running? Should I use the regular file unlocking functions, ...
1 vote
0 answers
943 views
Execute exe stored in a byte array in java?
I am trying to write a java program which will receive an exe as byte stream and store it in a byte array and this byte array should be executed directly. The byte array cannot be written to a file ...
2 votes
1 answer
766 views
Executing .NET applications from memory with powershell
Hello i have this code: # Note: This must be an executable or DLL compiled for .NET $Path = "C:\Users\sadettin\desktop\tok.exe" # Get Base64-encoded representation of the bytes that make up ...