Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Programming Tutorials › Simple Injection. An in-depth look.

Simple Injection. An in-depth look.

Posts 16–30 of 57 · Page 2 of 4
hack2learn
hack2learn
oh boy... to bad my english are not so good to understand much of those words... but i'd thanks very much for Chooka/Jason... my motivations up...
#16 · 15y ago
Jason
Jason
ROFL made a woeful mistake in there, closed a completely irrelevant handle. Glad noone spotted it
#17 · 15y ago
akp123
akp123
ummmmmmmm what ? i dont under stand this at all >.<
#18 · 15y ago
Jason
Jason
Quote Originally Posted by akp123 View Post
ummmmmmmm what ? i dont under stand this at all >.<
Cool story bro. Don't make an injector then.
#19 · 15y ago
Void
Void
Edit:

I am a tool, Jason is better than me in everything including arts & crafts and the guitar. I have no friends.
#20 · edited 15y ago · 15y ago
Jason
Jason
Quote Originally Posted by Void View Post
Edit:

I am a tool, Jason is better than me in everything including arts & crafts and the guitar. I have no friends.
You get extra points for being honest. GG.
#21 · 15y ago
LY
Lyoto Machida
Jason can you say the steps like this:?

FindWindow()
OpenProcess()
...
WriteProcessMemory()
CloseHandle()
...

?
Im going to make it in C++
#22 · 15y ago
Jason
Jason
Quote Originally Posted by -Away View Post
Jason can you say the steps like this:?

FindWindow()
OpenProcess()
...
WriteProcessMemory()
CloseHandle()
...

?
Im going to make it in C++
Erm, can't you just read the steps yourself?
#23 · 15y ago
LY
Lyoto Machida
Quote Originally Posted by Cho Chang View Post


Erm, can't you just read the steps yourself?
Ah you're the minion here

I tried to read but my english sucks too mutch to understand it right
#24 · 15y ago
Jàzzà_
Jàzzà_
Quote Originally Posted by Cho Chang View Post


Read the thread? This needs to be compiled as x86 application. It works on 64 bit computers then. My PC is a x64 and it injects fine as long as the project is compiled as x86.
I was about to ask that question but I found my answer thank you,
I also had a read of the thread I really like how you actually explained everything in detail
I still get confused on stuff like:
"ByVal flProtect As Integer"
From
Code:
Private Declare Function VirtualAllocEx Lib "kernel32" (ByVal hProcess As Integer, ByVal lpAddress As Integer, ByVal dwSize As Integer, ByVal flAllocationType As Integer, ByVal flProtect As Integer) As Integer

What does "flProtect" actually do?
Reason why I ask about this is because if I had to code example a injector like this I wouldn't know wat that means yet to even put it in

Cheers Jazza (:
#25 · edited 15y ago · 15y ago
Jason
Jason
Quote Originally Posted by -Away View Post


Ah you're the minion here
Minion doesn't make me your little bitch you know.

@Jàzzà_ flProtect specifies the protection on the committed region of memory allocated by VirtualAllocEx. We need Read/Write access to the memory so we specify 0x04 (&H4)
For more info see the VirtualAllocEx MSDN page:
http://msdn.microsof*****m/en-us/libr...=vs.85%29.aspx
#26 · 15y ago
Jason
Jason
Temp stickied 'cos I'm a vain bastard.
#27 · 15y ago
topblast
topblast
In reading this, your putting a Byte array into the process to call LoadLibrary with.. Thats not gonna work
#28 · 15y ago
LY
Lyoto Machida
Quote Originally Posted by topblast View Post
In reading this, your putting a Byte array into the process to call LoadLibrary with.. Thats not gonna work
Explain him
#29 · 15y ago
Jason
Jason
Quote Originally Posted by topblast View Post
In reading this, your putting a Byte array into the process to call LoadLibrary with.. Thats not gonna work
Sigh, please read the tutorial. Strings are NOT stored as alphanumerics in memory, everything is written into bytes (bits if you go even further down, obviously, but writeprocessmemory just writes chunks of bytes) so to write directly to process memory you don't just say: "Put this string into memory", you convert the string to it's byte representation and then write it into allocated memory.

CreateRemoteThread calls a specified function and is capable of providing a single parameter to the called function, this works nicely with LoadLibrary seeing as LoadLibrary only accepts a single parameter anyway so we don't need to get messy working with stubs and shit. The parameter is a string, you point the CreateRemoteThread param to wherever you wrote your string to memory and LoadLibrary will re-interpret the bytes as a string. To understand this you've got to understand how variables work. They are stored in memory.

All this is doing it writing you DLL location to the processes memory, then calling LoadLibrary and telling it what file to be loading (by pointing it where you just wrote your DLL's location)

If you don't understand that, I dunno how else to explain it.
#30 · 15y ago
Posts 16–30 of 57 · Page 2 of 4

Post a Reply

Similar Threads

  • Simple InjectBy 2vivi in Combat Arms Hacks & Cheats
    20Last post 16y ago
  • eJect - Simple Injection.By Jason in CrossFire Spammers, Injectors and Multi Tools
    74Last post 13y ago
  • [SUGGESTIONS] Simple InjectBy 2vivi in Visual Basic Programming
    6Last post 16y ago
  • Cf Simple Inject 0,1By HaxPro in CrossFire Spammers, Injectors and Multi Tools
    6Last post 15y ago
  • Simple InjectBy HaxPro in CrossFire Spammers, Injectors and Multi Tools
    7Last post 15y ago

Tags for this Thread

None