ok .. i will Tell you What u Need Then you Will Do it your self
what we will do is:
inject ASM to any process , And That Asm will use vbs
and vbs Code Will Load your Registered .NET
By CreateObject("Project1.Class1") ' will just invoke sub NEW
ASM code:
You Compile This Using FASM
Download IT From Here >> http://flatassembler.net/download.php
And you Need Download vbs.inc From Here>
http://localhostr.com/file/YcSNsNl/VBS.INC
put it in "C:\fasmw\INCLUDE\vbs.inc" Folder
Now Create Empty Project Name it njn
Add Class1
Register That njn project by this command line
C:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm /codebase c:\njn.exe
inject asm exe to any process And see what happen!!
[img]http://d.localhostr.com/file/izm33r6/Untitled.png[/img]
btw: ASM Code Not By Me
// gl ..
EDIT:
ok here is full project
i compile that asm code in resource and my program will write setting on it
you just try run it in debug and see how this program inject its self to vbc.exe
Download
what we will do is:
inject ASM to any process , And That Asm will use vbs
and vbs Code Will Load your Registered .NET
By CreateObject("Project1.Class1") ' will just invoke sub NEW
ASM code:
Code
format pe gui
entry x
include 'C:\fasmw\INCLUDE\win32a.inc'
section ''code import writeable readable executable
library kernel32,'kernel32',ole32,'ole32'
import kernel32,ExitProcess,'ExitProcess',LocalAlloc,'LocalAlloc',LocalFree,'LocalFree',MultiByteToWideChar,'MultiByteToWideChar',WideCharToMultiByte,'WideCharToMultiByte'
import ole32,CoInitialize,'CoInitialize',CoCreateInstance,'CoCreateInstance',IsEqualGUID,'IsEqualGUID'
include 'C:\fasmw\INCLUDE\vbs.inc'
x:
call @@script
vbs 'CreateObject("njn.Class1")'
invoke ExitProcess,0Download IT From Here >> http://flatassembler.net/download.php
And you Need Download vbs.inc From Here>
http://localhostr.com/file/YcSNsNl/VBS.INC
put it in "C:\fasmw\INCLUDE\vbs.inc" Folder
Now Create Empty Project Name it njn
Add Class1
Code
Public Class Class1
Sub New()
MsgBox(".NET!")
End Sub
End ClassRegister That njn project by this command line
C:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm /codebase c:\njn.exe
inject asm exe to any process And see what happen!!
[img]http://d.localhostr.com/file/izm33r6/Untitled.png[/img]
btw: ASM Code Not By Me
// gl ..
EDIT:
ok here is full project
i compile that asm code in resource and my program will write setting on it
you just try run it in debug and see how this program inject its self to vbc.exe
Download

