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 › Visual Basic Programming › [Tutorial] How to make an undetected module.

[Tutorial] How to make an undetected module.

Posts 1–15 of 30 · Page 1 of 2
WR
wr194t
[Tutorial] How to make an undetected module.
These are the strings that you will edit all together:

Code:
GetWindowThreadProcessId
OpenProcess
WriteProcessMemory
CloseHandle
FindWindow
GetKeyPress
ReadProcessMem
WriteAByte
WriteAnInt
WriteALong
ReadAByte
ReadAnInt
ReadALong
ReadAFloat
WriteAFloat
hWnd
pid
phandle
Note: If you don't have all of the strings as shown below in your module:

Code:
WriteAByte
WriteAnInt
WriteALong
ReadAByte
ReadAnInt
ReadALong
ReadAFloat
WriteAFloat
Then just edit the ones you do have.

Ok so these are some of the parts that need editing (the coloured parts):

Code:
Public Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As Long, lpdwProcessId As Long) As Long
Public Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Public Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Public Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal Classname As String, ByVal WindowName As String) AsLong
Public Declare Function GetKeyPress Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Long) As Integer
Public Declare Function ReadProcessMem Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, ByRef lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As
Lets start with the first line:

Code:
Public Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As Long, lpdwProcessId As Long) As Long
After "user32" paste this code:

Code:
Alias "GetWindowThreadProcessId"
Now you can edit the function name and your code will look like this:

Code:
Public Declare Function GWTPId Lib "user32" Alias "GetWindowThreadProcessId"(ByVal hWnd As Long, lpdwProcessId As Long) As Long
Do the exact same method with the following strings:

Code:
GetWindowThreadProcessId (This string has just being shown above.)
OpenProcess
WriteProcessMemory
CloseHandle
But not these ones:

Code:
FindWindow
GetKeyPress
ReadProcessMem
Because they already have the Alias parts added in their line of code so you would just edit the function names.

And as for:

Code:
WriteAByte
WriteAnInt
WriteALong
ReadAByte
ReadAnInt
ReadALong
ReadAFloat
WriteAFloat
hWnd
pid
phandle
All you do is Search & Replace and your done. have fun with your undetected module.

+rep me if this tutorial helped or was useful to you

Note2: Make your own string names up so your module is truly undetected.

Credits:
The hard work: Cobra
Re-write: wr194t (AKA 5c0tt.)
#1 · edited 18y ago · 18y ago
obsedianpk
obsedianpk
ahh i wud test it , but since i already made my UDM

looks a bit to easy but i think it has a chance of 97% to work

well done
#2 · 18y ago
WR
wr194t
Quote Originally Posted by obsedianpk View Post
ahh i wud test it , but since i already made my UDM

looks a bit to easy but i think it has a chance of 97% to work

well done
Thank you for your comment and yeah it is quite easy. Some people have had difficulty with this tutorial so i re-wrote it to make it is easier to follow.
#3 · 18y ago
pbsucks
pbsucks
I have already tried to rename for myself but it didnt work

i have forgotten to make the "alias" part

but know it works great

thx very much...
#4 · 18y ago
nub_g0t_high
nub_g0t_high
Thank You

helped me out alot.
#5 · 18y ago
FO
FOXXX
a nother dumb question!!
is this to make VB6 undetected?
#6 · 18y ago
WR
wr194t
Quote Originally Posted by FOXXX View Post
a nother dumb question!!
is this to make VB6 undetected?
Makes your VB6 module undetected.
#7 · 18y ago
W0
w00t?
ot: man why u got banned from W/R/H/A/X ?
#8 · 18y ago
WR
wr194t
Quote Originally Posted by w00t? View Post
ot: man why u got banned from W/R/H/A/X ?
Because theDude doesn't like D X T. I didn't do anything.
#9 · 18y ago
RGewrsgywergeryt4yerhrh
RGewrsgywergeryt4yerhrh
Aww i dint get that
Wr194t help me Theres these WriteAFloat and ReadALong when ive gotta replace them with what i replace them :S
#10 · 18y ago
WR
wr194t
Quote Originally Posted by micopiira5 View Post
Wr194t help me Theres these WriteAFloat and ReadALong when ive gotta replace them with what i replace them :S
Just replace them with some made up things like asdf65jnf56hs67. You also have to use that edited string with your hacks.
#11 · 18y ago
OL
olie122333
ty
ty really helpful
#12 · 18y ago
OL
olie122333
doh
i would add to your rep but i need to share around my reps apparently so it won't let me give u another (i gave you one earlier)

#13 · 18y ago
WR
wr194t
Thank you.
#14 · 18y ago
WR
wr194t
By the way when you edit:
Code:
OpenProcess
WriteProcessMemory
CloseHandle
You would do this:

Code:
OpenProcess = Alias "OpenProcess"
WriteProcessMemory = Alias "WriteProcessMemory"
CloseHandle = Alias "CloseHandle"
Don't use:

Code:
Alias "GetWindowThreadProcessId"
On more than one line of coding.

PS: Sorry for double posting.
#15 · edited 18y ago · 18y ago
Posts 1–15 of 30 · Page 1 of 2

Post a Reply

Similar Threads

  • [Video Tutorial] How to make an undetected module.By wr194t in Visual Basic Programming
    24Last post 18y ago
  • [Tutorial] How to make your own undetected module in VB6By markfracasso11 in Visual Basic Programming
    17Last post 18y ago
  • [Tutorial] How to make your own undetected module in VB6By markfracasso11 in WarRock - International Hacks
    22Last post 19y ago
  • [Tutorial] How to make a module undetected.By kizzyy in Visual Basic Programming
    7Last post 18y ago
  • [Tutorial] how to make undetected moduleBy wieter20 in Visual Basic Programming
    12Last post 18y ago

Tags for this Thread

None