Welcome to the RaGEZONE - MMORPG development forums.

RedProtect

This is a discussion on RedProtect within the Development forums, part of the Java Based (Odin) category; RedProtect will be a new feature for my server RedMS. Yes I am Mikey the original RMS owner(Youtube up RedMS, ...

Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1
    Hardcore Member
    Rank
    Member
    Join Date
    May 2008
    Posts
    138
    Liked
    5

    RedProtect

    Click
    RedProtect will be a new feature for my server RedMS. Yes I am Mikey the original RMS owner(Youtube up RedMS, if you don't know).

    Features:
    Packet editing detection(Detects all winsock & MapleStory hooks)
    Memory editing(VirtualQueryEx(); is my hero!)
    Dll injection(:3 I'll keep this a secret)
    Hook detection(Detects hooks)

    Everything is controlled by the server, the whole module is virtualized and heavily encrypted. The server will send random heartbeats at random time, and will require a heartbeat response back to continue to play the server.

    Everything is done... I just need to include timestamps on packets. Be sure to keep an eye on this thread :)

    This is the response handler I've coded... I'm keeping the clientside response as a secret.

    Code:
    package net.sf.odinms.client.anticheat;
    
    import java.util.Arrays;
    import net.sf.odinms.client.MapleClient;
    import net.sf.odinms.net.AbstractMaplePacketHandler;
    import net.sf.odinms.server.maps.MapleMapObjectType;
    import net.sf.odinms.tools.MaplePacketCreator;
    import net.sf.odinms.tools.data.input.SeekableLittleEndianAccessor;
    import net.sf.odinms.net.channel.*;
    
    public class AntiHackHandler extends AbstractMaplePacketHandler{
       @Override
       /*
        * [FC 00] [HackCode]
        * HackCode = 1 Byte
        *
        * HackCodes: -
        * 0x0 - Heartbeat
        * 0x1 - Packet editor detected
        * 0x2 - Memory edit detected
        * 0x3 - Undefined dll injected
        * 0x4 - Hook was rewrote
        * 0x5 - Unspecified error
       */
       public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
          byte hackCode = slea.readByte();
          ChannelServer cserv = c.getChannelServer();
          try{
          switch(hackCode){
              case 0x0:
                  if(!c.getPlayer().isChecked())
                      c.getPlayer().setChecked( true );
                  break;
              case 0x1: //Packet Editor detected
                  c.getPlayer().ban("[RedProtect]Packet Editor", true);
                  cserv.getWorldInterface().broadcastMessage("[RedProtect]", MaplePacketCreator.serverNotice(9, c.getPlayer().getName() + "has been banned for trace of packet editing").getBytes());
                  c.getSession().close();
                  break;
              case 0x2: //Memory edit detected
                  c.getPlayer().ban("[RedProtect]Memory editing", true);
                  cserv.getWorldInterface().broadcastMessage("[RedProtect]", MaplePacketCreator.serverNotice(9, c.getPlayer().getName() + "has been banned for trace of memory editing").getBytes());
                  c.getSession().close();
                  break;
              case 0x3: //Undefined dll injected
                  //c.getPlayer().ban("[RedProtect]Dll injection", true);
                  //cserv.getWorldInterface().broadcastMessage("[RedProtect]", MaplePacketCreator.serverNotice(6, c.getPlayer().getName() + "has been banned for trace of a dll injected").getBytes());
                  c.getSession().close();
                  break;
              case 0x4: //Hook was rewrote
                  c.getPlayer().ban("[RedProtect]Hook rewrote", true);
                  cserv.getWorldInterface().broadcastMessage("[RedProtect]", MaplePacketCreator.serverNotice(9, c.getPlayer().getName() + "has been banned for trace of rewriting a hook").getBytes());
                  c.getSession().close();
                  break;
              case 0x5: //Unspecified error
                  c.getSession().close();
                  break;
              default: //This should never be reached
                  c.getSession().close();
                  break;
          }
          } catch(Exception e){
              
          }
       }
    }

  2. #2
    ProjectPalta
    Rank
    Member +
    Join Date
    Apr 2009
    Posts
    451
    Liked
    10

    Re: RedProtect

    Hmm good job!
    good luck

  3. #3
    <3Crystal<3
    Rank
    Alpha Member
    Join Date
    May 2008
    Location
    PwnVille
    Posts
    2,179
    Liked
    4

    Re: RedProtect

    Good luck with this.

    We haven't had many developers that know what they're doing, but you do know what you're doing.


    Quote Originally Posted by iGoofy
    Quote Originally Posted by kokrong View Post
    MsDartz is the player npc fixed now ?
    Fuck you, no one cares about you.
    [/quote]

  4. #4
    Hardcore Member
    Rank
    Member
    Join Date
    May 2008
    Posts
    138
    Liked
    5

    Re: RedProtect

    Quote Originally Posted by MSDartz View Post
    Good luck with this.

    We haven't had many developers that know what they're doing, but you do know what you're doing.
    Thanks, I might release a lite version to the public.

  5. #5
    CRACK DEALER
    Rank
    Member +
    Join Date
    Apr 2008
    Location
    Ontario, Canada
    Posts
    868
    Liked
    35

    Re: RedProtect

    Good luck, it shouldn't be that hard.

  6. #6
    Owner Of VersaiMS
    Rank
    Member +
    Join Date
    Jun 2008
    Location
    Just Around The Corner..
    Posts
    416
    Liked
    1

    Re: RedProtect

    good luck with this, sounds promising ^_^
    Vi3t Pride 4life

    RaGeZoNeR FTW~~!!

    [youtubevid]Xeje_pp_NyA[/youtubevid]

  7. #7
    Xephizion Development
    Rank
    Alpha Member
    Join Date
    Apr 2008
    Location
    Somewhere I Bel
    Posts
    1,956
    Liked
    67

    Re: RedProtect

    good luck with this
    this will be very cool
    Quote Originally Posted by RaptorJesus View Post
    I think Fat Korean is a pretty cool guy, eh devs MapleStory and doesn't afraid of anything...
    Spoiler:

  8. #8
    CRACK DEALER
    Rank
    Member +
    Join Date
    Apr 2008
    Location
    Ontario, Canada
    Posts
    868
    Liked
    35

    Re: RedProtect

    I know how you detect DLL injections. =D
    I won't tell.

  9. #9
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jan 2009
    Posts
    710
    Liked
    2

    Re: RedProtect

    Then it can be easily faked by sending a packet with 0x0 (: But then again that's what the DLL Inject protection is for. I'll have fun trying to break it. Good luck. :D!
    Graceful Troll
    Quote Originally Posted by MSN
    koolk says:
    *java isn't so bad.

  10. #10
    CRACK DEALER
    Rank
    Member +
    Join Date
    Apr 2008
    Location
    Ontario, Canada
    Posts
    868
    Liked
    35

    Re: RedProtect

    Quote Originally Posted by macboy3000 View Post
    lol watch out for floppydisk, one of the greatest hackers!
    Lol, not really it's pretty simple.

    @FloppyDisk: What if the packets are encrypted with the time or some other shit?

  11. #11
    Hardcore Member
    Rank
    Member
    Join Date
    May 2008
    Posts
    138
    Liked
    5

    Re: RedProtect

    I've implemented timestamps on the packets.

    RedMS will be back by the summer, stay tune :)

  12. #12
    CRACK DEALER
    Rank
    Member +
    Join Date
    Apr 2008
    Location
    Ontario, Canada
    Posts
    868
    Liked
    35

    Re: RedProtect

    Quote Originally Posted by IDEEKAY View Post
    I've implemented timestamps on the packets.

    RedMS will be back by the summer, stay tune :)
    Did you use a different encryption then MapleStory?

  13. #13
    Owner Of VersaiMS
    Rank
    Member +
    Join Date
    Jun 2008
    Location
    Just Around The Corner..
    Posts
    416
    Liked
    1

    Re: RedProtect

    i hope you release this to the public ^_^
    Vi3t Pride 4life

    RaGeZoNeR FTW~~!!

    [youtubevid]Xeje_pp_NyA[/youtubevid]

  14. #14
    Hardcore Member
    Rank
    Member
    Join Date
    May 2008
    Posts
    138
    Liked
    5

    Re: RedProtect

    Quote Originally Posted by IWannaWin View Post
    Did you use a different encryption then MapleStory?
    Nope. I'm still using the same AES-256.

  15. #15
    :)
    Rank
    Alpha Member
    Join Date
    Jan 2009
    Location
    Illinois, U.S.
    Posts
    2,489
    Liked
    150

    Re: RedProtect

    If you aren't releasing this, there's no need fir this dev thread. The rules state not to show off. Just pointing that out.

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •