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)

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.

djvogans 11.08.2005 00:33

Quote:

P.S.: And Vogans. After you loaded the game the file is hooked up in memory. You change it for nothing.
i know that .... i just said ... before the game is lauched .. you only start the laucher before laucher starts l2.exe in it's own way ...

Quote:

But i will not make the method public for the time being
i didn't said I want you to make your idea ... program ... public ... it's your work ...

we share files .... at least you can share us some of your ideas, an starting point ... ... i'm on my last road .... and tyred .... so tyred ...

10x

PiTaGoRaS 11.08.2005 08:38

Quote:

Originally Posted by tespio
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.

Wow testio, you should keep your mouth closed this time. The guy was right, NO CLIENT SIDE FIX WILL EVER BE 100% SECURE. That's currently a fact. Client can always trick the server, it will be easy or not, but you ALWAYS can.

Phantom2005 11.08.2005 09:10

You can ONLY join a server IF you open the loader or else the server will display as offline... thats actually why my loader has effect....

djvogans 11.08.2005 10:19

a solution to our problem must end with 2 solutions!
the "cracker" when trying to pass 1'st solution and manages to pass it .. to confrunt the 2'nd solution ... but every solution must work with eachother ... i mean .. 1'st is doesen't work without 2'nd and viceversa ... finally the client side must have both solutions so that server side will let him in!
Like a seif that you must open with 2 keys turned on at the same time!
I think you got my idea .....
Since i'm not a programer i can't test this ..

srry again for my bad english!

SOnick 12.08.2005 05:56

The only one solution is to parse all flow of traffic from all clients and when we find a [help.htm button pressed] just cut this command from users traffic. That`s simple and 100% bullet proof solution.

tontor 12.08.2005 06:05

There is no "help.htm button pressed" as far as the server knows. That is all client side, which is what makes it such a problem.

Silentz0r 12.08.2005 09:14

there is a possibilty to change a custom encrypt mode? create a especial encrypter.. like 111, 412 ? and hexing l2encdec.exe to allow it to change encrypt and decrypt only by administrators.. and hexing the proper files in system folder i dont know what file exactly to accept it?

tontor 12.08.2005 09:42

You could modify the encryption, but people could still use memory editors or process patchers to exploit.

porkmaster 12.08.2005 10:00

Quote:

Originally Posted by PiTaGoRaS
Wow testio, you should keep your mouth closed this time. The guy was right, NO CLIENT SIDE FIX WILL EVER BE 100% SECURE. That's currently a fact. Client can always trick the server, it will be easy or not, but you ALWAYS can.

Pitagoras, no offence, but you're wrong. 3 chars: VPN. If you think a beet more deep you'll realize that cliend side can be easily implemented. Once your launcher is smart enough to check not only files, but running processes and once it launches the game to check if l2 is not the main window, then kill the process and the connection, you're 99.5% safe. Other 0.5% is someone debugging your launcher, but on private servers the time may not worth it.

montejo1974 12.08.2005 10:16

Searching for a solution
 
Hi people.
First of all, sorry for my english. It isn't as good as I would like.
Trying to find a solution to the exploit, we are making a lot of (unnecesary) work, as someone of you could know where in the server code, get the packets sends by htmls.
I'll explain a little more.
I'm searching in the assembler server code, where the server gets the packet like 'bypass -h teleport_1' or 'link gludio_outter_doorman001.htm' to deny this type of packets. But after 2 days trying to found it, no results are found.
I would be pleased if anyone indicate in which part of the server code, get the packet received like an <a action="whatever""> and pass it to the ai.obj (for the bypass type) or try to open a new html NPC file and do something more (for the link type).

Thanks for your answer.

SOnick 12.08.2005 16:45

Use l2j - this boys will help you a lot with your search.

djvogans 12.08.2005 17:01

hey the client doesn't send to server a action .... bypass ... the client transforms link .. or action .. to a command ... this command is sent to server ...
you will never see <a action="bypass ... bla bla .... sent to server ... it's sent like : "do this" ... "do that" ... i think you got my point ...

montejo1974 12.08.2005 18:21

Thnx for your reply......that was what i fear that occurs, because all our investigation was been realized on that way....so we spent three days of lost work...
Better I went to drink beer like a truly drunkman that 3 days.

Thanks again, for your response.

Hope any solution come to our minds.

P.S.: I hope my English was enough clear to you understand my joke ;)

Professor F 13.08.2005 00:49

yeh, that's so funny!

deathor 20.08.2005 03:27

anyone found a good solution for C1 servers? Also let me know if you have a good fix for the valkon wh keeper exploit.thanks!

deathor 20.08.2005 03:41

Quote:

Originally Posted by Shady_Warrior_
Solution found... Hard to make but simple to protect and 99.0% of chance of success :lol:

More informations only to Developers in PMs

Not its a problem with u guys but i cant reveal tat to cheaters and exploiters who are in the comunity...

And i hate the fucking spamers! :wink:

Another note... Server Side! :twisted:

I run a server with 3000+ users. its chronicle 1 and I have the help.htm exploit problem. please give me some advice

Professor F 20.08.2005 03:54

there's so many discussion on that! read and youll find an answer

bob1122 21.08.2005 05:11

Quote:

Originally Posted by SOnick
Use l2j - this boys will help you a lot with your search.

IGNORED. :P

Well If I was given source i could see what i can do.

rodier 21.08.2005 20:55

I think best help for C1 is deleting NPCs.
help.html is not working alone. Its working only if exploiter contact NPC that CAN DO this things.
for example:
- contact doorman - then activate help and THEN you CAN DO something about castle
- contact Valkon @ giran wh - and u can level yourself.. make items..

delete ALL inner doormans (the FIRST one .. not the second, because second is behind gates - no problem)
delete valkon
and you are at some safety

rodier 21.08.2005 20:58

I think good way is make hexaedit for l2.exe that turn off help/petition/etc.. and then launcher that check edited l2.exe .. no launcher - u can't connect because another version of protocol.. encryption.. etc.. we can make our own encryption.. our own protocol..

bob1122 22.08.2005 05:37

Quote:

Originally Posted by rodier
I think best help for C1 is deleting NPCs.
help.html is not working alone. Its working only if exploiter contact NPC that CAN DO this things.
for example:
- contact doorman - then activate help and THEN you CAN DO something about castle
- contact Valkon @ giran wh - and u can level yourself.. make items..

delete ALL inner doormans (the FIRST one .. not the second, because second is behind gates - no problem)
delete valkon
and you are at some safety

The thing is that they dont have to do valkon quest... it works with many more npcs.... Ill provide link to where i find exploits to fix on my server if u wnat ..:>

Sprinkle@work 22.08.2005 19:41

Uhm,
rewrite checks in npc ai for known exploits.
Use tonur's patch on you l2 exe.
done.

Sometimes a simple redirect will solve it if you cant do a check.

rodier 23.08.2005 20:31

bob > ok post ;]

bob1122 23.08.2005 21:33

help.htm exploit

Some of it got garbled up in russian, and other languages and i would give you my account and pass just so you dont have to make account on forum but i use same pass for here :>

enjoy... and remember im on this side of the war not on the hackers side <:

i know what im gonna say makes me look like for sure a hacker hehe, but IF someone could not post but pm me on how they use help.htm exploit to view the l2server.ini and the l2npc.ini files ... just dont post publicly unless ur flaming me of course...i have my own server and want to eliminate them from seeing my sql user and psswrd


All times are GMT. The time now is 16:33.