[C++] [Windows] RtlRemoteCall 'Rewrite' menu

Shout-Out

User Tag List

Results 1 to 8 of 8
  1. #1
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C++] [Windows] RtlRemoteCall 'Rewrite'

    As I promised in this thread, I'm releasing my RtlRemoteCall 'rewrite'.

    This is similar to what is posted above, but with key differences:
    • No use of ASM
    • Full native x64 support
    • Uses a new thread rather than an existing one
    • More reliable


    Full info and code is available on my blog.
    Ramblings++ » Blog Archive » RtlRemoteCall ‘Rewrite’ - Just another periodically updated, syndicated website

    Linking rather than copypastaing because it means if I want to change the post I only have to change it in one location.

    P.S. In b4 Kurios removes my thread because I'm just linking to my blog, despite the fact it's a contribution to the community and I'm just using my blog as a central message post rather than having to duplicate it to the multiple places I wish to share it.

    P.S.S. Yes, the above really has happened before. >_>
    Last edited by Cypher; 08-18-2009 at 09:06 AM.

    [C++] [Windows] RtlRemoteCall 'Rewrite'
  2. #2
    vulcanaoc's Avatar Member
    Reputation
    31
    Join Date
    Jul 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really nice.. I'll look at this technique more in-depth when I get some time.

    TBH, I hadn't even heard of RtlRemoteCall before you mentioned it.

  3. #3
    vulcanaoc's Avatar Member
    Reputation
    31
    Join Date
    Jul 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really nice.. I'll look at this technique more in-depth when I get some time.

    TBH, I hadn't even heard of RtlRemoteCall before you mentioned it.

  4. #4
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So, first, nice code.

    Second, why would you use this rather than CreateRemoteThread, seeing as how the both, well, create a remote thread (I understand that what happens behind the scenes is very different, but the effect is the same... I create a thread in a target process and run some arbitrary code). Is it just the variable number of params that's an upgrade?

    Not meaning to rain on the parade and all. It's still nice code, as usual. I gotta pull my head outta bot land and start doing system code again. It's fun...

    Edit: MMO is super slow lately, which may be causing some double-posts...
    Don't believe everything you think.

  5. #5
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by amadmonk View Post
    So, first, nice code.

    Second, why would you use this rather than CreateRemoteThread, seeing as how the both, well, create a remote thread (I understand that what happens behind the scenes is very different, but the effect is the same... I create a thread in a target process and run some arbitrary code). Is it just the variable number of params that's an upgrade?

    Not meaning to rain on the parade and all. It's still nice code, as usual. I gotta pull my head outta bot land and start doing system code again. It's fun...

    Edit: MMO is super slow lately, which may be causing some double-posts...
    Primarily because CreateRemoteThread only lets you pass one param.

    Like I said, this is written for my DLL loader, I need to be able to call DllMain, and CreateRemoteThread can't do that.

    Also, it means I can support different calling conventions (which CreateRemoteThread can't do).

    Lastly, I can easily push the previous context onto the stack, so if you control the function being called, you can then do a NtContinue with the previous context and use it to hijack existing threads. This is something I'll be adding when I get around to it.

  6. #6
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Like it, thanks for your afford & sharing it.

  7. #7
    ramey's Avatar Member
    Reputation
    45
    Join Date
    Jan 2008
    Posts
    320
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Firsty, great contribute Cypher. I've been following your blog and it's great.

    Secondly, if they want to delete your thread; let them. If they don't want people contributing good code (which is a change) then let them. You aren't losing anything if they do, and personally, anyone who is interested in it from here probably already checks your blog because of your signature, and anyone who is decent will probably be looking at your blog.

    So really, if they delete it (which is jokes), let them.

  8. #8
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ramey View Post
    Firsty, great contribute Cypher. I've been following your blog and it's great.

    Secondly, if they want to delete your thread; let them. If they don't want people contributing good code (which is a change) then let them. You aren't losing anything if they do, and personally, anyone who is interested in it from here probably already checks your blog because of your signature, and anyone who is decent will probably be looking at your blog.

    So really, if they delete it (which is jokes), let them.
    Last time I did.

    He told me to either duplicate the content (which is annoying for me), or he'll delete the thread. So I told him he can just delete it.

    Thanks btw.

Similar Threads

  1. world of warcraft skin for WINDOWS MEDIA
    By Elites360 in forum World of Warcraft General
    Replies: 4
    Last Post: 12-27-2006, 05:01 PM
  2. Mac vs. Windows
    By Tenche in forum Community Chat
    Replies: 31
    Last Post: 11-13-2006, 03:57 PM
  3. window mode
    By Erunnon in forum Community Chat
    Replies: 4
    Last Post: 08-08-2006, 12:21 PM
  4. Window Title Renaming Tool
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 7
    Last Post: 07-29-2006, 01:59 AM
  5. How to turn off window mode
    By insaneomato in forum World of Warcraft General
    Replies: 1
    Last Post: 05-31-2006, 11:18 PM
All times are GMT -5. The time now is 03:14 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search