Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Inject DLL into a defined process

Hi, I want to create a program that downloads a dll and then injects it into a process that is already defined into the code.

I want to inject a .dll file into csgo.exe

I have found many sources for DLL injectors which require user input and I am unable to edit those to work automatically
Depends on what type of injection you want to do (there are many).
Popular is CreateRemoteThread (CRT) and Manual Mapping (MM).
Pretty sure CRT will be detected by VAC, no idea though.
http://www.codingvision.net/miscellaneou...motethread

There was a library for injections on another forum somewhere. I believe Luminosity link uses it.
[Image: PVoDiqS.png]
(Jun 8, 2016 07:25 AM)Cecilia Wrote:  Depends on what type of injection you want to do (there are many).
Popular is CreateRemoteThread (CRT) and Manual Mapping (MM).
Pretty sure CRT will be detected by VAC, no idea though.
http://www.codingvision.net/miscellaneou...motethread

There was a library for injections on another forum somewhere. I believe Luminosity link uses it.

ok, thank you very much for the link though that is for C and not VB.net
(Jun 8, 2016 07:33 AM)ОЯВІТ Wrote:  ok, thank you very much for the link though that is for C and not VB.net

C# can be easily converted to vb.net.
Learn to c#.
[Image: PVoDiqS.png]
(Jun 8, 2016 07:40 AM)Cecilia Wrote:  C# can be easily converted to vb.net.
Learn to c#.

Many people have told me that Vb.net is nooby and limited.
Should I just move directly to C++ (which is my main goal) or should I pass through C# ?
(Jun 8, 2016 07:41 AM)ОЯВІТ Wrote:  Many people have told me that Vb.net is nooby and limited.
Should I just move directly to C++ (which is my main goal) or should I pass through C# ?

C# prepares you for C++ syntax.
Up to you to decide.
You asked how to inject a dll.
You're going to have to have a native dll (you can do managed, but please don't especially for csgo hacks -.-) to inject to csgo.
CRT is simple, but probably not VAC proof.
[Image: PVoDiqS.png]
(Jun 8, 2016 07:43 AM)Cecilia Wrote:  C# prepares you for C++ syntax.
Up to you to decide.
You asked how to inject a dll.
You're going to have to have a native dll (you can do managed, but please don't especially for csgo hacks -.-) to inject to csgo.
CRT is simple, but probably not VAC proof.

Ok, I'll go into C# at first. Kinda sucks because in school we will be taught vb.net and not C# or C++
(Jun 8, 2016 07:47 AM)ОЯВІТ Wrote:  Ok, I'll go into C# at first. Kinda sucks because in school we will be taught vb.net and not C# or C++

There are online converters to convert C# to vb.net.
They're the same language at runtime (minus a lib or two).
[Image: PVoDiqS.png]
(Jun 8, 2016 07:48 AM)Cecilia Wrote:  There are online converters to convert C# to vb.net.
They're the same language at runtime (minus a lib or two).

Yeah I ran it through one of those and it gives me no errors, but I don't understand what a class is compared to Sub and why I can't call it
(Jun 8, 2016 07:53 AM)ОЯВІТ Wrote:  Yeah I ran it through one of those and it gives me no errors, but I don't understand what a class is compared to Sub and why I can't call it

Class is a type, it's not a method.
You can call 'methods' inside of it if they are public.

Perhaps read up on OOP in .NET a bit more (especially classes and the likes).

Say I had the class foo with method bar inside.
I can call foo.bar() to get the result bar gives me.
I can't call bar if bar is not public (modifier).
[Image: PVoDiqS.png]
(Jun 8, 2016 07:57 AM)Cecilia Wrote:  Class is a type, it's not a method.
You can call 'methods' inside of it if they are public.

Perhaps read up on OOP in .NET a bit more (especially classes and the likes).

Say I had the class foo with method bar inside.
I can call foo.bar() to get the result bar gives me.
I can't call bar if bar is not public (modifier).

Thank you, I wrote BasicInject.Main() and it worked, now my csgo crashes when it injects but that's separate
(Jun 8, 2016 07:57 AM)Cecilia Wrote:  Class is a type, it's not a method.
You can call 'methods' inside of it if they are public.

Perhaps read up on OOP in .NET a bit more (especially classes and the likes).

Say I had the class foo with method bar inside.
I can call foo.bar() to get the result bar gives me.
I can't call bar if bar is not public (modifier).

Also declare the class first unless the method is static.
do not inject anything into csgo

work with reading the memory

no writes pls, you will get VACCED instantly
My gott, the Phallic Mother!

Probably the only postmodern neo-marxist who exists.
(Jun 8, 2016 08:41 AM)Slavoj Žižek Wrote:  do not inject anything into csgo

work with reading the memory

no writes pls, you will get VACCED instantly

I have an internal dll that already works


dw about this anymore
I think i'm just going to learn some c++ and maybe recreate the screenshot tool I made in vb
(Jun 8, 2016 07:43 AM)Cecilia Wrote:  C# prepares you for C++ syntax.
Up to you to decide.
You asked how to inject a dll.
You're going to have to have a native dll (you can do managed, but please don't especially for csgo hacks -.-) to inject to csgo.
CRT is simple, but probably not VAC proof.

CRT is not a valid detection vector for VAC as there is legitimate uses of it. The same principle is in use when it comes to open handles. Now I must say writing native code is preferred when the game is, any language in the .NET framework works fine though. OP seems to lack knowledge since he thinks C# will make it easier for him to reach his goal.

OP: is there any particular reason to why you want to go internal?


(Jun 8, 2016 08:41 AM)Slavoj Žižek Wrote:  do not inject anything into csgo

work with reading the memory

no writes pls, you will get VACCED instantly

Why are you spreading old misinformation? Whether you read or write memory has no effect on the detection ratio, skid. 'Cant tell if troll or serious.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by odeseyAug 20, 2021 11:57 AM 6 489 Aug 20, 2021 11:57 AM
Last Post: Sajuuk
[C] by SecurifierJan 17, 2020 07:20 AM 12 416 Jan 17, 2020 07:20 AM
Last Post: SIM-3602340
[C] by uid7683Mar 15, 2019 04:06 PM 1 144 Mar 15, 2019 04:06 PM
Last Post: YouthInAsia