Sign in to follow this  
Followers 0
MariusN

using MemVirtualAlloc

6 posts in this topic

I am trying to get hold of a LOCKABLE usb-drive with programs on it to use on pc's infected with viruses. Can someone maybe give me an example on how ro run a program with "MemVirtualAlloc", as a locked usb-drive cant execute some programs due to the "write-access" on the flash...so i need to run the program in Virtual Memory"...

tia

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

...or let me rephrase...Can i use _MemVirtualAlloc to create virtual ram for a program to run in?

Edited by MariusN

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Why not just use a boot CD, boot into something like a Linux OS with your anti-virus software on it and the most current AV defs on your lockable USB?

Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

Have a look at trancexx's example It demonstrates running a program from memory, but I don't think it would solve the problem your describing. Does the program need to extract a dll to be used?

Share this post


Link to post
Share on other sites

Have a look at trancexx's example It demonstrates running a program from memory, but I don't think it would solve the problem your describing. Does the program need to extract a dll to be used?

Nope...just a single .exe file from a "locked" flash-drive...( the ones that has a slide-thingy on the side to prevent viruses to write to the flash being used as a AntiVirus device...)

Thing is, i DO use LiveCD, but i would like to create my own program to run in an allocated "virtual ram"...without using Autoramresizer ( a BartPe plugin ). To be honest, i have no clue what "_MemVirtualAlloc" actually does,,,i was under the impression it creates a certain area of memory as a "virtual-disk"

Share this post


Link to post
Share on other sites

Nope...just a single .exe file from a "locked" flash-drive...( the ones that has a slide-thingy on the side to prevent viruses to write to the flash being used as a AntiVirus device...)

Thing is, i DO use LiveCD, but i would like to create my own program to run in an allocated "virtual ram"...without using Autoramresizer ( a BartPe plugin ). To be honest, i have no clue what "_MemVirtualAlloc" actually does,,,i was under the impression it creates a certain area of memory as a "virtual-disk"

It doesn't, it just allocates a block of memory, similar to C's malloc() and somewhat analogous to dllstructcreate.
1 person likes this

Ever wanted to call functions in another process? ProcessCall UDFConsole stuff: Console UDFC Preprocessor for AutoIt OMG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0