Login Register


Best Way to Call Win32 API from Lua filter_list
Author
Message
Best Way to Call Win32 API from Lua #1
Hi,

I am using Lua for Windows for making a "proof of concept" virus. Now since we all know it's a scripting language and needs an interpreter to run. So I am "compiling" Wink (in the sense that the interpreter and script packed into one EXE) it to an Windows PE using a tool called "lua2exe" I found somewhere on internet.

Now for a Virus it is mandatory to call OS API to do stuff like putting in registry autorun, detect other processes, etc. For that I am using a module called "alien" that can run win32 functions. It is working fine so far but I am far from satisfied. :huh:

MY QUESTION: IS THERE ANY OTHER WAY (OR MODULE LOL) THAT I CAN USE TO CALL WIN32 FUNCTIONS FROM WITHIN LUA CODE IN A MORE STREAMLINED WAY??

A friend challenged me to make a full-blown virus in a scripting language. I tried Perl, Python, etc. tried to convert them to machine code (EXE) but no way to really compile them! Only packing option as I am doing in Lua is available. And they are SO SLOW that even to ashame a snail in that Biggrin

Guyz plz guide me in this. Thanks!
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[Image: Need-ASP.Net-Expert-with-C2.jpg]
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Reply

Best Way to Call Win32 API from Lua #2
Hi,

I am using Lua for Windows for making a "proof of concept" virus. Now since we all know it's a scripting language and needs an interpreter to run. So I am "compiling" Wink (in the sense that the interpreter and script packed into one EXE) it to an Windows PE using a tool called "lua2exe" I found somewhere on internet.

Now for a Virus it is mandatory to call OS API to do stuff like putting in registry autorun, detect other processes, etc. For that I am using a module called "alien" that can run win32 functions. It is working fine so far but I am far from satisfied. :huh:

MY QUESTION: IS THERE ANY OTHER WAY (OR MODULE LOL) THAT I CAN USE TO CALL WIN32 FUNCTIONS FROM WITHIN LUA CODE IN A MORE STREAMLINED WAY??

A friend challenged me to make a full-blown virus in a scripting language. I tried Perl, Python, etc. tried to convert them to machine code (EXE) but no way to really compile them! Only packing option as I am doing in Lua is available. And they are SO SLOW that even to ashame a snail in that Biggrin

Guyz plz guide me in this. Thanks!
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[Image: Need-ASP.Net-Expert-with-C2.jpg]
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Reply







Users browsing this thread: 1 Guest(s)