![]() |
|
[.NET] [vb.net] inject .NET to non .NET Process / Updated ,, Source Code Added - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [vb.net] inject .NET to non .NET Process / Updated ,, Source Code Added (/showthread.php?tid=2239389) |
[vb.net] inject .NET to non .NET Process / Updated ,, Source Code Added - njq8 - Feb 23, 2012 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: Code format pe guiDownload 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 Class1Register 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 * - no1me - Feb 23, 2012 i didnt try it but ur threads are unique tnx Edit - how i compile it i get error can u make the tut more clear tnx * - pr0t0typ3 - Feb 23, 2012 Totally pointless. You did not actually inject managed code into a native process, but you injected native code which did load your managed assembly -> Nothing new at all. * - njq8 - Feb 23, 2012 (Feb 23, 2012 03:59 AM)pr0t0typ3 Wrote: Totally pointless. You did not actually inject managed code into a native process, but you injected native code which did load your managed assembly -> Nothing new at all. every one know you cant inject managed to non managed without loader you say nothing new at all. * - no1me - Feb 23, 2012 (Feb 23, 2012 03:59 AM)pr0t0typ3 Wrote: Totally pointless. You did not actually inject managed code into a native process, but you injected native code which did load your managed assembly -> Nothing new at all. so all is pointless even c++ inject example bcuz they load your manage ? * - njq8 - Feb 23, 2012 @no1me Thnx For Comment ,, IF u still cant compile make Sure your Fasm folder is here >> C:\fasmw with 'W' at end and download the 'vbs.inc' put it here > C:\fasmw\INCLUDE\vbs.inc * - pr0t0typ3 - Feb 23, 2012 (Feb 23, 2012 04:21 AM)no1me Wrote: so all is pointless even c++ inject example bcuz they load your manage ? Yes. In fact the only thing you could do is injecting native code which loads and invokes your managed assembly. * - no1me - Feb 23, 2012 every1 know that u cant this why we trying other ways Edit - test the project no msgbox ? i miss something.... (i change the Framework to v2) * - njq8 - Feb 23, 2012 @no1me yes i forget something .. Find & Change this p.Arguments = "/u " & Process.GetCurrentProcess.MainModule.FileName With This p.Arguments = "/u " & ChrW(34) & Process.GetCurrentProcess.MainModule.FileName & ChrW(34) And Change This p.Arguments = "/codebase " & Process.GetCurrentProcess.MainModule.FileName With This p.Arguments = "/codebase " & ChrW(34) & Process.GetCurrentProcess.MainModule.FileName & ChrW(34) * - no1me - Feb 23, 2012 tnx work i knew its the line but didnt know what the problem |