Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   Fixing L2 Help exploit (https://postpacific.mmorpg-game.online/showthread.php?t=1401)

toolpunk 09.08.2005 18:37

seems i have 2 defend myself :(
first of all i didnt discredit ur work:
Quote:

Originally Posted by toolpunk
yeah thx for this fix.
but if u release a version it wont take longer than 5 months till sum1 cracks it XD.
thats called time. in nowadays world. so here u go a bit more detailed:

Quote:

Definition of time:
Time is in fact the interval between two points in history. The first point is the release of a new software. The second is when its cracked. The period between is the working phase for the crackers...
so as u all see its just that everythin that the end "customer" has 2 use isnt save of manipulation...


EDIT: btw so crackin is even faster than developin XD
developing is from 0 to 1 (=1) while crackin is like this 1.1 to 2 (=0.9)

( https://postpacific.mmorpg-game.onli...?p=12637#12637 )

but about the prob with crackin. u all say:
calm down just 1 of 1000 can do it. that was the same for this exploit. and what happened? the knowledge was shared... the outcome is 1 of the biggest l2 pservers probs atm. i really, really DO appreciate ur hardwork. and i didnt say its TOTALLY useless. i just said it already has been cracked. 2 times now. and this will b shared sooner or later as well. then u have 2 options:
1. give up
2. work on ur prog again and better encrypt it with execryptor or sth like this. so at least no1 (i mean no cheat0r) can crack or bypass it.
but i heard there r other ways than hexin 2 bypass ur prog atm. so even those had 2 b fixed in addition...
mb u understand what i mean. i like ur idea of fixin and helpin, its just i dun believe its a real success atm. hope u guys got it now...

tespio 09.08.2005 19:25

Quote:

Originally Posted by badjoe
guess I'll need to use a better packer/crypter then :P
but yes indeed client side never is 100% secure , even the most expensive applications that come with dongle protections get cracked

edit: I would need a full version of the latest Asprotect SKE

I assume you already found it but in case you didnt here it is.

Just download ASprotect SKE trial from
http://www.aspack.com/files/aspr_ske_demo.zip
And then download
http://www.digitalnerds.net/temp/ASP....v2.11.crk.rar
and replace the .exe file. Hope it helps.

toolpunk 09.08.2005 19:28

hax0r!
lol. anyway thx. hope he can need it...

Kryak 09.08.2005 21:21

Quote:

Originally Posted by HF
Please make the new version for button "Petition". You have forgotten about it? There not 1 html a file. There 125 files! ;)

and correct russian font

Duna 09.08.2005 22:36

I thought about fix this bug and u can try this.

for example fix for castle.

U must edit ur ai file and find this class

Code:

class chamberlain : default_npc
Now u must find this code in class chamberlain

Code:

handler 32        //  MENU_SELECTED
        variable_begin
                "talker"
                "ask"
                "reply"
                "fhtml0"
                "i0"
                "i1"
                "i2"
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        push_event        //  ask
        push_const 100
        add
        fetch_i
        push_const 201
        negate
        equal
        branch_false L889
L888
        push_event        //  reply
        push_const 104
        add
        fetch_i
        push_reg_sp
        fetch_i
        push_const 1
        equal
        branch_false L892

Add this code in next line

Code:

L48000
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        func_call 100        //  func[IsMyLord]
        shift_sp -1
        branch_false L48001

Now find this code
Code:

L891
        shift_sp 1
        func_call 116        //  func[Castle_IsUnderSiege]
        branch_false L894

And add this code in the next line

Code:

L48001
        shift_sp 1
        push_event        //  talker
        push_const 32
        add
        fetch_i
        push_parameter fnNotMyLord
        func_call 43        //  func[ShowPage]
        shift_sp -2
        shift_sp -1

Ps. I dont know what is happend because i dont have computer where i can try this fix but u can try and this is good way to fix thix bug with help.htm i think. Maybe i write wrong code because i nevery try change ai.

Pss. Sry for my poor english and gl :)

badjoe 10.08.2005 13:47

hey guys, a little post to keep you informed

I have been working a bit on it, still having some issues on some systems but i may have found a solution (thx to Mayii). As soon as I get it fixed I'll release next version with following features:

-fixed petition html
-new & safer keys
-much better exe protection

I may release a C1/C2 version after that.

thanks for feedback and for the exe protectors.
and please keep this thread clean this ain't RZ lol :P

torune 10.08.2005 15:45

[;'.]36-45==+%&@!1+]
-。-
u'd better add a process checking funcion in the loader
not allow winhex will be a better solution

Squid 10.08.2005 16:04

----------------------

djvogans 10.08.2005 16:10

help exploit represents 1% of our problems.

Chabonline 10.08.2005 16:30

badjoe: You tha man... we really aprecciate your help with help lol. You are great, for one moment i saw only lineage.com server up :S

Thanxs for all and i will try to help out with nice geodatas with Dev team and another friend of mine.

Sincerely,

Diosa

Sakumi 10.08.2005 16:31

Quote:

Originally Posted by Squid
Hi all! I have real working fix for Help exploit! (don't change Ai.obj). I want to change it for real working Geodata.
Sorry for my bad English! :wink: :roll:

There is no such thing as working geodata for c2 or c3.

Share your fix or leave, this is the time where we don't care for people such as yourself "give me this for this yeaaa" no.

BiGBoY 10.08.2005 16:36

Quote:

Originally Posted by Sakumi
Share your fix or leave, this is the time where we don't care for people such as yourself "give me this for this yeaaa" no.

:thumbleft: Weee u just get words from my fingers Sakumi

demon 10.08.2005 16:47

https://postpacific.mmorpg-game.onli...pic.php?t=1500 <-

toolpunk 10.08.2005 16:52

that sounds good.
thx a lot...

Phantom2005 10.08.2005 19:19

Only Solution is:
Making Your Own Loader With "Visual C# 2005 Express Edition Beta 2" or "Visual C++ 2005 Express Edition Beta 2"
that CHECKS the help (html) files... (on size and if possible even on data)
i actually almost succeeded in this...
only need to add an updater cause thats not functioning yet... perhaps i'll make another version and release it here....

tespio 10.08.2005 21:05

Oh let's check all the html files!. Man that's a waste of time really. Look here.. just dont waste your time. The solution is not that simple but i can give a hint. Make your launcher open up nwdinow.dll and check the string for Help button and petition button. If they exists drops. You would say that it doesnt help because a client can execute directly the L2.exe. Well here it's up to you to stop this. I know how but i wont reveal it yet.

tontor 10.08.2005 22:39

Checking the html files may not fix the exploit, but neither will a client loader. Both of those methods trust the client, and the client can't be trusted. The solution is server side.

tespio 10.08.2005 23:22

Quote:

Originally Posted by tontor
Checking the html files may not fix the exploit, but neither will a client loader. Both of those methods trust the client, and the client can't be trusted. The solution is server side.

Dont speak if you dont know. There is a client method where client cannot trick you. He will be able to play only if he uses a launcher. I agree that a serverside fix woudl eb desirable but that doesnt mean there cant be done a clientside fix that can work 100% secure.

tontor 10.08.2005 23:27

So a person uses the client side launcher and goes in game and everything is fine. Then he talks to a npc and modifies the html from that npc in memory to change the commands in it, or he attaches a debugger and just generates his own bypass packets, or he could even decrypt his outgoing bypass packet, change the bypass command, rencrypt it, and send it on its way. There is no %100 and client side will never be the best solution for securing access to server functions.

tespio 10.08.2005 23:31

I have something else in my mind. Getting out the Help button and Petition button from nwindow.dll. You either make the launcher to a crc check on the nwindow.dll w/o help/pet with a hash stored in a .bin file on the server side and/or parse the nwindow.dll for the strings of help and petitions buttons and if you find them in the client's nwindow you drop him.

djvogans 10.08.2005 23:50

tespio correct me if i'm worng please ... but you say that the launcher checks the nwindow.dll with a hash ... for the strings .... but it checks only once ... then sends to server .... in meanwhile ... i can change the nwindow.dll with my own .... it just can take 2 sec ... for me to change it ... wright ?
And you can't make the laucher to check again and again ... it would flood the server .. think at about 2000 players ...
sorry for my bad english ... but i see this way your point !

tontor 10.08.2005 23:56

If you send a hash to the server, its possible to always send the correct hash regardless of the actual data. There are ways around file checking also. It is not my intent to discourage people from working on systems that employ such methods, but these are annoyances and obstacles, not fixes.

avataru 10.08.2005 23:58

Hello everyone,

I'm just gonna throw you a simple idea and maybe you will find some use for it: public-private keys encryption (think pgp) on 256/512bit

Not sure how this could help (I'm not a programmer).

PS: If you wonder who I am, I am a GM on L2Dex.

tespio 11.08.2005 00:02

Quote:

Originally Posted by djvogans
tespio correct me if i'm worng please ... but you say that the launcher checks the nwindow.dll with a hash ... for the strings .... but it checks only once ... then sends to server .... in meanwhile ... i can change the nwindow.dll with my own .... it just can take 2 sec ... for me to change it ... wright ?
And you can't make the laucher to check again and again ... it would flood the server .. think at about 2000 players ...
sorry for my bad english ... but i see this way your point !

No. i dont say that.

The launcher MAY check the nwindow.dll file by two methods. Either one or another or both one after another depends how you want it.
Case study 1: you have 1 piece of launcher. you have 1 piece of hash stored in a .bin on the server. The launcher gets the hash via http or ftp or how you want from server and does a crc check on the nwindow to see if it's the right one (ie: the one with removed help and petition buttons).
Case study 2: you have on epiece of launcher and 1 piece of nwindow.dll and you hardcode in the launcher the two strings of the Help button and Petition button in order to have the launcher parse nwindow.dll for those two strings. If it finds them (meaning the nwindow is the original not altered one) it doesnt allow the client to connect and shuts down the launcher.
Case study 3: you can combine both these ways and make use of them.

Of course you may tell me that doesnt matter as long as the client may use directly the L2.exe to start the game and as long as it has the IP in L2.ini. Well this is another story and you can force the client use only the Launcher if he wants to play on your own server. But i will not make the method public for the time being. The nice thing is that you can even ignore the attempts of reverse engineering techniques and/or hexxing and Launcher dissasm. However .. good luck.

P.S.: And Vogans. After you loaded the game the file is hooked up in memory. You change it for nothing.

tespio 11.08.2005 00:05

Quote:

Originally Posted by tontor
If you send a hash to the server, its possible to always send the correct hash regardless of the actual data. There are ways around file checking also. It is not my intent to discourage people from working on systems that employ such methods, but these are annoyances and obstacles, not fixes.

Indeed but you dont send a hash to the server. the servers sends you a has and you dont need to sends back a hash .. you only send an answer. And it doesnt have to be a string or a word. Trust me i know it works how i said.


All times are GMT. The time now is 17:36.