MirrorMan

Activation Loader v2 Tutorial by countryboy

Dec 30th, 2020 (edited)
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1. https://youtu.be/Fb4epvAJNu8
  2.  
  3. Activation Loader V2.2 ( Memory Patching + Extra Features ) : by countryboy
  4.  
  5. The version 2 Loader Code has been totally rewritten ! Unlimited Memory Writes, and executable commands !
  6. Version 2 has Extra features that previously required writing New Code, and compiling Loader for specific programs.
  7.  
  8. Need a Loader to patch a program in memory because of CRC, File Certificate, or Packed to prevent File changes ?
  9. A Loader so simple, and easy to use : Just enter a Name, Version, File to Patch in a text file using Windows Notepad.
  10.  
  11. EDIT BLANK EXAMPLE with Notepad : Name, Version, FileName, FileSize, OFFSET, CODE, NewCODE to create memory patch.
  12. EXTRA FEATURES : Run : Programs, Dos, Files : Open, Copy, Delete, Registry : Edit, Add, Delete, Import. Need a TRIAL RESET ?
  13.  
  14. Version 2.1 has extra features : Test=1 under [Window] enables Test Mode to display received Command Line Parameters, and
  15. the Command Line sent to Program being Loaded if used as a Plugin by another program. The Loader can also be placed in a
  16. Sub Folder inside the Folder of Program being Loaded, but LoaderConfig.txt must be in same Folder as Loader. The Loader
  17. allows any Name for Sub Folder, and Loader itself can be Re-Named to Load a Renamed Program, but Name must be correctly
  18. listed as FileName= in LoaderConfig.txt. Test= will allow view of Parameters Passed, typing mistakes, and errors.
  19. Using Loader as Trial Reset with FileName= BLANK : Now requires [Patch] not be listed in LoaderConfig.txt := Error Message.
  20.  
  21.  
  22. HOW THE ACTIVATION LOADER WORKS :
  23.  
  24. I wrote the v1 Loader Code many years ago for HitFilm 64 bit, and BuildBox 32 bit, because no 64 bit Loaders were available.
  25. HitFilm can be run in a Debugger, and Code changed, but changes can't be saved, because all Files check others CRC.
  26. BuildBox is slow, unpacks in memory, checks CRC of Patched Network.dll, and checks Code Segment Memory CRC of itself.
  27.  
  28. LOADER START : Open LoaderConfig.TXT : Set Defaults, Check version, File Size, Setup messages, and minimize Window.
  29. KILL TASK( Program to Patch ) in case it's hung in memory from a previous run.
  30. KILL TASK( START ) : Protection Guards, or Crack protection programs loaded by Program to Patch. Needed in HitFilm.
  31. Message Box( START ), RUN( START ), RUN REGISTRY( Start only ), RUN( BEFOREPATCH ), and after Registry is done.
  32.  
  33. ASLR : Windows loads programs into random selected Memory requiring search for Program Name to get Segment offset.
  34. GOD LIKE PRIVILEGES are requested to Debug, and change programs memory before loading, and starting.
  35. TIME CRITICAL : Need to wait for Windows to read Hard drive, and load program into Memory before starting search.
  36. Windows Function WaitForSingleObject() waits ReadmemWaitTime : max time in milliseconds to load, and exist in memory,
  37. and Windows Function WaitForDebugEvent waits additional 10 milliseconds maximum to finish loading.
  38.  
  39. LET THE SEARCH BEGIN : Windows Function EnumProcessModules() used to search for Programs Name in Memory.
  40. While not found : If error then wait 1 millisecond before trying again & if not found after ASLRmemory_MaxAttempts=5000
  41. Set Image Base to Default ASLR, and create a Image Base not found message after 5 seconds the Attempt count.
  42. PACKED SLOW LOADING PROGRAMS : use Windows Function WaitForInputIdle() to wait for program to unpack itself.
  43.  
  44. IMAGE BASE FOUND : Program Thread is suspended for Patching, and any Error Messages saved.
  45. LoaderConfig.txt opened, and list of Patches done. Code verified to exist before NewCode is written at Offset.
  46. If a Error occurs, Patch number is saved, and Patching continues. Critical Errors are displayed later in a Message Box.
  47. While Thread is suspended : Error messages displayed, and any RUN( AFTERPATCH ), or MsgBox( AFTERPATCH ) are done.
  48.  
  49. CONTINUE : Resume Thread with Program continuing to Load. Restore any defaults changed like Normal Dos video.
  50. If Close Pop Up Box then Loop through list, close WindowName, and all numerical WindowName1 starting with 1,2,3
  51. If WaitTime= Default wait 35 seconds Maximum for Pop up to load. HitFilm Pop up slow due to Loading Internet images.
  52. BEFORE QUIT : KILL TASK( END ) Kill Programs, RUN( END ) Start Programs, or Message Box( END ), and QUIT !
  53.  
  54. PROBLEMS : ERRORS Numbering Patch, Wait2, Run3, Message Box4 prevents Run of next item listed under that Section.
  55. INI SECTIONS : Read in loop, numbering, missing items like Destination for Copy, or any Error mark end & breaks the loop.
  56. If only part of Section in LoaderConfig.TXT is done then check for Typing, and numbering Errors as I had a few.
  57. SHOW ALL MESSAGES when Creating, Setting ReadmemWaitTime, and Testing Loader. Disable after Testing if desired.
  58. USE LoaderConfig.TXT EXAMPLES TUTORIAL AS GUIDELINE TO SETUP PATCHES, RUNS, TASK KILLS, AND MESSAGE BOXES.
  59.  
  60. Released to Public Domain <(:-)> by countryboy
  61.  
  62. Credit to countryboy for creating Loader would be nice ...
  63.  
  64. Happy cracking, and Have a great day, countryboy
Add Comment
Please, Sign In to add comment