Firewall Cookie Flood Connection
#37

Yeah... bumping topics.

Few guys asked to me how to update "samp_prot" plugin, actually is quite easy.

Look at this Pseudo code generated by IDA Pro:

Code:
char __stdcall Load(int (__cdecl **a1)(_DWORD))
{
  int v1; // eax
  DWORD flOldProtect; // [esp+0h] [ebp-8h]

  dword_10012164 = *a1;
  dword_10012164("### samp_prot by Ubinoob loaded (ver 2)");
  dword_10012164("### Professional game hosting: https://LiveServer.pl");
  v1 = strcmp((const char *)0x4B5508, "0.3.7-R2");
  if ( v1 )
    v1 = -(v1 < 0) | 1;
  if ( v1 )
  {
    dword_10012164("### Invalid server version. Please install 0.3.7-R2-1 (linux) 0.3.7-R2-1-1 (windows).");
  }
  else
  {
    VirtualProtect((LPVOID)0x497CC8, 1u, 0x40u, &flOldProtect);
    VirtualProtect((LPVOID)0x497C74, 1u, 0x40u, &flOldProtect);
    dword_10012164("### Memory segments unprotected");
    MEMORY[0x497CC8] = -1869574000;  // unk1 ---> i query limit
    MEMORY[0x497CCC] = -28528;          // unk2 ---> +04
    MEMORY[0x497C74] = -1869574000;  // unk3 ---> p query limit
    MEMORY[0x497C78] = -28528;          // unk4 ---> +04
    dword_10012164("### Query system patched");
    MEMORY[0x4E58B8] = 0; // same as "cookielogging 0"
    dword_10012164("### Cookie logging disabled");
    MEMORY[0x4F5FD4] = 0; // same as "logqueries 0"
    dword_10012164("### Query logging disabled");
  }
  return 1;
}
We need to update all memory addresses being readed/writed. It can be easily done with IDA Pro or Cheat Engine (yeah, the old-known cheat engine).

Some signatures/patterns for Windows ONLY at the moment:

Code:
unk1		0F 85 80 06 00 00 8B 0D BC 5F 4F 00 68 08 97 4B 00 E8 ?? 37 FF FF 89 44
unk2		00 00 8B 0D BC 5F 4F 00 68 ?? ?? 4B 00 E8 ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
unk3		0F 85 D4 06 00 00 83 FF 0F 0F 85 CB 06 00 00 6A 10 68 08 5D 51 00 50 8B
unk4		00 00 83 FF 0F 0F 85 CB 06 00 00 6A 10 68 08 5D 51 00 50 8B 44 24 54 57
Some convars such as cookielogging and logqueries can be searched easily with cheat engine (cookielogging 100, and search for 100, cookielogging 999 and search for 999, and so on). Do ur homework
Reply


Messages In This Thread
Firewall Protection for Cookie Flood Connection new attack - by RDM - 26.08.2017, 01:59
Re: [CODE] Firewall New Exploit Cookie Flood Connection ! - by Xeon™ - 26.08.2017, 02:05
Re: [CODE] Firewall New Exploit Cookie Flood Connection ! - by RDM - 26.08.2017, 02:19
Re: [CODE] Firewall New Exploit Cookie Flood Connection ! - by Noir - 26.08.2017, 04:24
Re: [CODE] Firewall New Exploit Cookie Flood Connection ! - by Sgt.TheDarkness - 26.08.2017, 07:01
Re: [CODE] Firewall New Exploit Cookie Flood Connection ! - by RDM - 26.08.2017, 09:57
Re: [CODE] Firewall New Exploit Cookie Flood Connection ! - by Sgt.TheDarkness - 26.08.2017, 10:38
Re: [CODE] Firewall New Exploit Cookie Flood Connection ! - by RDM - 26.08.2017, 10:51
Respuesta: Firewall Cookie Flood Connection - by adri1 - 26.08.2017, 20:58
Re: Respuesta: Firewall Cookie Flood Connection - by RDM - 26.08.2017, 21:46
Respuesta: Re: Respuesta: Firewall Cookie Flood Connection - by adri1 - 26.08.2017, 21:56
Re: Respuesta: Re: Respuesta: Firewall Cookie Flood Connection - by RDM - 26.08.2017, 22:04
Re: Firewall Cookie Flood Connection - by Ubi - 26.08.2017, 23:21
Re: Firewall Cookie Flood Connection - by RDM - 27.08.2017, 01:02
Re: Firewall Cookie Flood Connection - by Sgt.TheDarkness - 27.08.2017, 01:19
Re: Firewall Cookie Flood Connection - by Jayse - 27.08.2017, 09:26
Re: Firewall Cookie Flood Connection - by RDM - 27.08.2017, 12:04
Re: Firewall Cookie Flood Connection - by RDM - 27.08.2017, 12:06
Re: Firewall Cookie Flood Connection - by Ubi - 27.08.2017, 22:26
Re: Firewall Cookie Flood Connection - by RDM - 27.08.2017, 23:22
Re: Firewall Cookie Flood Connection - by JernejL - 29.08.2017, 09:14
Re: Firewall Cookie Flood Connection - by RDM - 29.08.2017, 11:04
Re: Respuesta: Firewall Cookie Flood Connection - by RDM - 29.08.2017, 12:19
Respuesta: Firewall Cookie Flood Connection - by adri1 - 29.08.2017, 12:37
Re: Firewall Cookie Flood Connection - by Peek - 29.08.2017, 13:57
Re: Firewall Cookie Flood Connection - by RDM - 29.08.2017, 15:59
Re: Firewall Cookie Flood Connection - by Kaperstone - 29.08.2017, 22:33
Re: Firewall Cookie Flood Connection - by RDM - 29.08.2017, 22:55
Re: Firewall Cookie Flood Connection - by Kaperstone - 29.08.2017, 23:05
Re: Firewall Cookie Flood Connection - by RDM - 29.08.2017, 23:13
Re: Firewall Cookie Flood Connection - by PrettyDiamond - 02.09.2017, 06:06
Re: Firewall Cookie Flood Connection - by Chaprnks - 02.09.2017, 06:31
Re: Firewall Cookie Flood Connection - by PrettyDiamond - 02.09.2017, 16:49
Re: Firewall Cookie Flood Connection - by Astralis - 02.09.2017, 17:01
Re: Firewall Cookie Flood Connection - by Astralis - 02.09.2017, 18:05
Re: Firewall Cookie Flood Connection - by RDM - 02.09.2017, 22:09
Re: Firewall Cookie Flood Connection - by SlowARG - 31.01.2019, 04:45

Forum Jump:


Users browsing this thread: 6 Guest(s)