PDA

View Full Version : [fix]block the /block command


torune
23.12.2005, 08:38
once again, another NCSoft bug is been discoveried

here are the fix

0050F945 E9 E68B1A00 JMP 006B8530
0050F94A 90 NOP
0050F94B 90 NOP
0050F94C 90 NOP
0050F94D 90 NOP

006B8530 3C A0 CMP AL,0A0check if it is /block function header
006B8532 74 9C JE SHORT 006B84D0
006B8534 3C AA CMP AL,0AA
006B8536 0F82 2A74E5FF JB 0050F966
006B853C EB 82 JMP SHORT 006B84C0

this will disable the /block function

use UE
jump to 0x10F945
write E9E68B1A0090909090
then jump to 0x2B8530
write 3CA0749C3CAA0F822A74E5FFEB82

good luck guys

TheOrder
23.12.2005, 08:40
Hope i get for Christmas 10 % off torunes knowledge :P i realy envy you some times !!! :lol: Tnx again you realy are the BEST !!! :wink:

torune
23.12.2005, 08:48
btw, i am looking for complete list of this type of exploit
if you do have it, pm me
i will release a full patch for this, instead of just disable the function.

srh
23.12.2005, 08:49
PM

KTPSMF
23.12.2005, 08:55
thanx , really nice

torune
23.12.2005, 09:00
PM
let me know the test result thx

it should disable all command related with bbs

Domzelan
23.12.2005, 09:01
Can we use HF program to inject this code in .exe? I think no

torune can you post full code for using HF program because many people dont know how did this...

torune
23.12.2005, 09:07
i have never used hf's program, no idea how it works

Domzelan
23.12.2005, 09:14
simple

Replacement of "Release-1 (fastest)" in L2Server window
Next create message "H e l l o _ f r o m _ U S t a s : )"
[php:1:9ae48fc57b]
001df1e0: 48 00 65 00 6C 00 6C 00 6F 00 5F 00 66 00 72 00 6F 00 6D 00 5F 00 55 00 53 00 74 00 61 00 73 00 3A 00 29[/php:1:9ae48fc57b]

this format :) plz help

torune
23.12.2005, 09:15
i hate lazy people, no thx

Dmytro
23.12.2005, 09:21
Great thanks, Torune. ;)

Domzelan
23.12.2005, 09:22
I am not lazy, i just dont know how to do this :(

torune
23.12.2005, 09:30
anyway, its 4:35am
no point to stay this late.
nite

serjr
23.12.2005, 09:58
What about all over vulnerable commands, (all that have parametres and stored procedures for them in server)? Maybe we need to make input filter for them not just disamble all commands? :)

top-gear
23.12.2005, 10:43
hmmmm as I see they use direct ms-sql commands. What if we hex mssql server,and server .exe's too,so that they use different commands? lol:P

Mirror
23.12.2005, 12:55
ppc release l2server.exe with torune's patch for blocking /block
thanks man

hxxp://www.megaupload.com/?d=I0GUVDU5

HF
23.12.2005, 13:03
Can we use HF program to inject this code in .exe? I think no

torune can you post full code for using HF program because many people dont know how did this...what here is hard?
0010F945: E9 E6 8B 1A 00 90 90 90 90
002B8530: 3C A0 74 9C 3C AA 0F 82 2A 74 E5 FF EB 82

but... it is no panacea :) Need make block to 40% client commands. Better - stop server and be happy :roll:

top-gear
23.12.2005, 13:39
Fortunatelu all other commands I tried make no harm... If you know something else pm torune :) don't post those on public

Livid
23.12.2005, 17:33
Damn, torune, you were first -_-
Actually, I stil consider posting my quote filter code. too bad it requires additional space.
One more thing... there is same idea (sql injection) with some html command, not shure which tho.
And... total bbs disable if you ever wanted it:
00525090 C3 RETN

Mirror
23.12.2005, 17:57
livid, when cached starts up it says 'bbs is disabled' is this enough ? or should i hex l2server.exe as you showed for a total disable of it ?

torune
23.12.2005, 18:53
Damn, torune, you were first -_-
Actually, I stil consider posting my quote filter code. too bad it requires additional space.
One more thing... there is same idea (sql injection) with some html command, not shure which tho.
And... total bbs disable if you ever wanted it:
00525090 C3 RETN
actually livid,

005513AC 74 24 JE SHORT 005513D2

ue, 0x1513AC, 74
just in case you wanna know if anybody interested with your server