Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 General (https://postpacific.mmorpg-game.online/forumdisplay.php?f=31)
-   -   SHIT, F#$KING CHEATERS (https://postpacific.mmorpg-game.online/showthread.php?t=2085)

lerri 04.10.2005 19:53

loader should protect against walker

rawrz 04.10.2005 20:34

probably works with IG walker too, most exploits like buff stacking seem to.

Adelaide 04.10.2005 20:41

Livid,
Could you tell us then what to look into to catch them?

RmzVoid 04.10.2005 22:30

Quote:

Originally Posted by lerri
loader should protect against walker

loader now not protection.
avoid of using it.

melco 05.10.2005 08:41

what bug ?

Domzelan 05.10.2005 10:07

Yes, what bug?

iamrend 05.10.2005 10:30

Quote:

Originally Posted by lerri
loader should protect against walker

Loader not help whit ingame bot. And once the players decryt your authkey they can use ingame boot too :?

Adelaide 05.10.2005 15:16

Livid could you tell us on the server side, what we should look out for?!

Adelaide 05.10.2005 16:42

Cant we check with L2Worker in the logs in /CacheD/In for a buy/sell/trade from X player to himself?

I suppose we can Livid.

lich 05.10.2005 17:33

Quote:

Originally Posted by Adelaide
Cant we check with L2Worker in the logs in /CacheD/In for a buy/sell/trade from X player to himself?

I suppose we can Livid.

We can. I'm already write a small program.
But I don't want to put it here 'cause it in russian. I'm to lazy to change some text :)
Still it's not a solution. Our programmers works on hexing l2server.exe to restrict dual access and clone creation. Results are optimistic, maybe by tomorrow we will have solution, but don't think that I put it here for free. Maybe in exchange for C3 stuff...

lich 05.10.2005 17:48

Is there any other ways? There is should be only one block of code which responsible for this.

tontor 05.10.2005 19:00

This modification is my first instinct upon hearing of the exploit, and I've only tested this on my personal test server.

The following code is responsible for disconnecting both connections on a duplicate login.

Code:

004668E4    8D4D B8        LEA ECX,DWORD PTR SS:[EBP-48]
004668E7    E8 E452FBFF    CALL L2Server.0041BBD0
004668EC    8B88 B8190000  MOV ECX,DWORD PTR DS:[EAX+19B8]
004668F2    E8 B9FE0900    CALL L2Server.005067B0
004668F7    8D4D C0        LEA ECX,DWORD PTR SS:[EBP-40]
004668FA    E8 D152FBFF    CALL L2Server.0041BBD0
004668FF    8B88 B8190000  MOV ECX,DWORD PTR DS:[EAX+19B8]
00466905    E8 A6FE0900    CALL L2Server.005067B0
0046690A    EB 21          JMP SHORT L2Server.0046692D

It should be relocated to a cave and modified to be:
Code:

LEA ECX,DWORD PTR SS:[EBP-48]
CALL L2Server.0041BBD0
PUSH EAX
MOV ECX,EAX
CALL L2Server.004FBBA0
POP EAX
MOV ECX,DWORD PTR DS:[EAX+19B8]
CALL L2Server.005067B0
LEA ECX,DWORD PTR SS:[EBP-40]
CALL L2Server.0041BBD0
PUSH EAX
MOV ECX,EAX
CALL L2Server.004FBBA0
POP EAX
MOV ECX,DWORD PTR DS:[EAX+19B8]
CALL L2Server.005067B0
JMP L2Server.0046692D


tontor 05.10.2005 19:48

Currently when a duplicate login is detected, it closes both connections without removing the chars from the world. My modification calls the LeaveWorld member function on each char before disconnecting them.

I may post a binary fix for it later after further testing. I posted the information in the mean time since it may be of some value to people who are familiar with asm, such as yourself.

DreadWolf 08.10.2005 22:29

We're relying on you tontor. You're the serverside fix master so far :)

lich 09.10.2005 03:30

Ok. We've got the fix. Already tested on several servers :)
Don't want to post it for free, but ready to exchange for C3 stuff or... well, i guess it forbidden by forum rules :)... pm me.

Livid 09.10.2005 07:45

Well, I just checked if there's a char loged in already... if it is - just drop *new* login packet and leave old one. It worked.

Laika 14.10.2005 10:28

Quote:

Originally Posted by lich
Ok. We've got the fix. Already tested on several servers :)
Don't want to post it for free, but ready to exchange for C3 stuff or... well, i guess it forbidden by forum rules :)... pm me.

Lich.... Rju Nemogu, ti to tut chto zabil :D ... Vse rovno tvoi server kak bil ves' v dirkah tak i ostalsya :roll:

krapno 14.10.2005 13:21

following tontor suggestion i made this, not tested yet, correct me if i m wrong ...

(edited - wrong code)

Regards :)

jerrymouse 15.10.2005 03:39

wrong... yours patch:

.4668ef e8b4520900 call .4fbba8

but based on fix it should be:

CALL L2Server.004FBBA0

or possible i dont understand the fix and this is some kind of rebasing because other call offsets are wrong too :)

jerrymouse 15.10.2005 04:09

Oh. No, this looks like mistake...

0006690B: E8B4509000 call 00096B9C4

this call are TOTALY wrong because its out of virtual address space...

jerrymouse 15.10.2005 04:25

This is it:

Quote:

.004668E4: 8D4DB8 lea ecx,[ebp][-48]
.004668E7: E8E452FBFF call .00041BBD0 --- (1)
.004668EC: 50 push eax
.004668ED: 8BC8 mov ecx,eax
.004668EF: E8AC520900 call .0004FBBA0 --- (2)
.004668F4: 58 pop eax
.004668F5: 8B88B8190000 mov ecx,[eax][000019B8]
.004668FB: E8B0FE0900 call .0005067B0 --- (3)
.00466900: 8D4DC0 lea ecx,[ebp][-40]
.00466903: E8C852FBFF call .00041BBD0 --- (4)
.00466908: 50 push eax
.00466909: 8BC8 mov ecx,eax
.0046690B: E890520900 call .0004FBBA0 --- (5)
.00466910: 58 pop eax
.00466911: 8B88B8190000 mov ecx,[eax][000019B8]
.00466917: E894FE0900 call .0005067B0 --- (6)
.0046691C: EB0F jmps .00046692D --- (7)

krapno 15.10.2005 06:11

you are right tx :D it would be better like that:

(edited, wrong code :cry: )

jerrymouse 15.10.2005 06:51

still don't tested it but all thanks goes to the patch creator - tontor.
arigato :)

krapno 15.10.2005 11:43

yeah me too, i ll test it tonight cause my 1st attempt was wrong and server crashed after having loadd npc-server... cu :)

hr 15.10.2005 14:59

tested this morning - crashing after caching HTMLs, before NPC loading :\ ErrorLog will post later...

Edited: here it is
Code:

Server Up Time Sat Oct 15 09:55:11 2005

Current Time : Sat Oct 15 09:57:55 2005

Elapsed Time : 0 days 0 hours 2 minutes 44 seconds
IOBufferPool - 39979

[(588) 2005/10/15 09:57:55]: =======================
an Access Violation in module C3-anticlone-tp.exe at 001b:0046690e.
start at 2005/10/15 09:55:04
Write to location 00000000 caused an access violation.

Registers:
EAX=00000000 CS=001b EIP=0046690e EFLGS=00010246
EBX=89f29117 SS=0023 ESP=7251fe34 EBP=7251fe8c
ECX=7251fe80 DS=0023 ESI=788e1dfc FS=003b
EDX=7c82ed54 ES=0023 EDI=89f29117 GS=0000
Bytes at CS:EIP:
09 00 58 8b 88 b8 19 00 00 e8 94 fe 09 00 eb 0f
Stack dump:
7251fe34: 7c82ed54 00000000 22179770 77e6bb6d 00000000 00000000 00000000 00000019
7251fe54: 7c821ea4 77e630f6 89f29117 48100c87 00008766 00000006 00000006 00000000
7251fe74: 0000008e 00000003 7251fe38 7251feb8 005a58f0 ffffffff 7251fec4 0053adaf
7251fe94: 7870d2c4 89f290c3 026437ac 00000001 77e6bb6d 005a1550 00000057 89f290b0
7251feb4: 7251fe9c 7251fef0 005afb80 ffffffff 7251fefc 0053aed9 00000001 00000002
7251fed4: 00000000 026437ac 00000001 77e6bb6d fffacfe0 ffffffff 7251fed8 7251ff6c
7251fef4: 005afb90 ffffffff 7251ff78 0053cbe6 00000001 00000002 00000000 00000000
7251ff14: 00000000 3de22280 00000000 00001000 00010000 bffeffff 00000003 00000002
7251ff34: 0000024a 00010000 08030006 f487bc88 e0832cee fa2b8db8 00000005 00000002
7251ff54: 0004fa28 00000000 e082d821 00000000 22179770 7251ff10 7251ffa8 005afca0


ver = Jun  8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CDBPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
void CPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
cpacket::oniocallback_funccall <--
static bool AquiredSkillList

Thread[0] (ahehe):      Lock Stack  :

Thread[1] (good):      Lock Stack  :


krapno 15.10.2005 21:48

same here :roll:


All times are GMT. The time now is 22:58.