View Full Version : Fixing L2 Help exploit
Ok here is my attempt at fixing L2 Help exploit.
It's a client side loader coupled with a new AuthD. Yes, I know since it's client side it will never be 100% secure and can always be cracked. But at least it'll give us some time to fix server side. (That may not be easy, the only fix I could think of for server side is rewriting whole Ai.obj.)
How it works:
Server side change your AuthD with the one I provide you here. It has a custom Auth key. Client side my loader will patch the memory with the right key and at the same time disable the help buttons. (no dump help.htm delete)
All files are packed and protected to counter reverse engineering (much of the protection depends on the efficiency of the packer)
This is only an early alpha pre-release, still has some issues with win2k that don't let the patcher write to the process memory (if someone knows how to bypass this please tell me). I'll keep working on and improving it.
any ideas/feedback are welcome.
oh and .. This is only for C3
Client side loader (make players install this):
http://rapidshare.de/files/3776069/L2player_0.1_alpha.zip.html
Server side AuthD:
http://rapidshare.de/files/3776167/L2PAuthD412.zip.html
Sprinkle@work
08.08.2005, 15:13
Ill need some info so i can implement on c2.
Plus does your authd support more than 1 servers?
thanks tho.
You can buzz me in private or...?
super job tho.
horyfilipe
08.08.2005, 15:21
great, gratz
badjoe, correct me if I am mistaken ~
For c1 we would need to use our own hexed authd / network.dll ~ If we did is the rest of the patch still workable?
Thanks
Ill need some info so i can implement on c2.
Plus does your authd support more than 1 servers?
thanks tho.
You can buzz me in private or...?
super job tho.
could do it but I would need to re-install C2 and i'm kinda too lazy ^^
Honestly you'd better move on to C3, get C3 server exe , this AuthD, have your players install C3 and you're done.. much better than C2
badjoe, correct me if I am mistaken ~
For c1 we would need to use our own hexed authd / network.dll ~ If we did is the rest of the patch still workable?
Thanks
No, like for C2 patch won't work for C1
nice work man i've test it and it works fine but this way all servers has to load game with your loader no autoupdate no advertice :P
but it is a definitive solution or only temporal?
well if this works nice and is appreciated, I may work on adding a lot of features to it: autoupdater, news page... and maybe a loader creator for each server to create his own custom loader in one clik.
but, can connect with the same key in nwindows and engine, and ip in another client patch ??
but, can connect with the same key in nwindows and engine, and ip in another client patch ??
don't get your question :P
ip has nothing to do with this since it's in l2.ini
but, can connect with the same key in nwindows and engine, and ip in another client patch ??
don't get your question :P
ip has nothing to do with this since it's in l2.ini
yes i know, the ip is only in l2.ini. I was trying to ask if you can connect with the right key in the engine.dll and nwindow.dll without this client patch?
but, can connect with the same key in nwindows and engine, and ip in another client patch ??
don't get your question :P
ip has nothing to do with this since it's in l2.ini
yes i know, the ip is only in l2.ini. I was trying to ask if you can connect with the right key in the engine.dll and nwindow.dll without this client patch?
Yes 100%
All a person needs is to do this patch on one machine, and copy the files to his 2ndary machine and load the dlls, and begin reaking havoc again.
NOTE: To protect your auth key, please compress your dll files! Or else many programs can easily read them ><
Aikeleer
08.08.2005, 16:02
How do you want to find the right key then, if it's all protected like this? I think that's the reason why he compressed/encrypted/whatever it.
PiTaGoRaS
08.08.2005, 16:04
Very nice job badjoe!
the fix seems to be a lot better than expected. At least it'll take some time to crack the new encryption key, so meanwhile we are safe and developing a server side fix only :)
Yes 100%
All a person needs is to do this patch on one machine, and copy the files to his 2ndary machine and load the dlls, and begin reaking havoc again.
NOTE: To protect your auth key, please compress your dll files! Or else many programs can easily read them ><
the loader doesn't patch the files.. it patches memory, dlls don't need to be compressed since they don't contain any key.
but yes if someone found the key he could connect without that's why I compressed it like Aikeleer said.
edit: please don't turn this in an "how to crack it" discussion, we would need a "server owner only" board for that :P
badjoe good point on the server owners board ^^
I forget nubs come trolling through here.
So the network.dll contains no key in your patch? If so: brilliant ^^
Shady_Warrior_
08.08.2005, 16:29
Its no 100% Safe...
Well it can get us time to make a more safe thing in server side...
Because i have decrypted the file and re-hexed the launcher and cracked the file easy... :cry:
Whee need to think how it can be blocked without removing the help buttons and editing clients key...
Nothing like client can be modified because tat exploit is maked by a ServerOwner...!
Noone who no have server never will know how to make the Exploit...!
The user copy the fucking html from server to client...! well what why need to make its to secure server...
Client its easy to crack, because, tat exploit its not maked by a noob... Its maked by a server owner who have access to tat forum too!
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
eXcursion
08.08.2005, 16:47
well i remember back in the days of counter strike they had a program called cheating death. if the player had a file that differed froms server it would kick that player.
myabe make something similar to l2 take the real html file to server tell it to check client file every 3 secs if it differs from the one server has set cmd to kick, they only problem is programs can be bypassed like ncsofts game guard. and anything we hex edit and decyrpt can be rehexed and decrypted. this is going to turn into the counter strike problem
hacker=fix
hacker bypassfix
=new patch
starts all over again
but i would only be second guessing if i said it might happen
Sprinkle@work
08.08.2005, 17:01
Edited.
Ill just take the time to do it right and edit it to custom numbers.
Thanks
Sprinkle@work what you will do ? you will stay here and let your server be hacked ? from 11yr old kids ? even official servers have the bug what we can do
I'll release v0.11 with new keys as soon as I get my hands on better packer/crypter/compressor/protector software. If you know some good stuff please tell me.
midnight
08.08.2005, 17:21
any mirror for download?
Shady_Warrior_
08.08.2005, 17:23
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:
Better HTML fix - fix AI.obj.
Are now corrected only castle NPC, but still set a quest-NPC wait for the skilful hacker. And we wait for skilful AI editor (man).
Client-server site protect hacked too easy. The "help.htm" file cannot be blocked. It is possible to replace it at any moment :( Or client site cache him? I think no. (Sorry, i will be test your tool only tomorrow).
goto http://www.anticrack.us/ download ACprotector 1.32 not 1.4 (no crack yet) its good tho' crack here
PiTaGoRaS
08.08.2005, 17:38
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:
Sorry but I don't understand your position... how are you going to disguise between server admins and cheaters? And futhermore, if your fix works serverside, it shouldn't be a problem to share it publically, right?
I hope your solution is not based on every server using all the same "secret" ai.obj, cause its not going to be "secure".
the funniest is that he is not telling the solution @ least to me he said
"known users or dev teams only" wtf is that
why this error?
http://www.saw.org.pl/foto/error.jpg
are you logged in as administrator or user ?
Shady_Warrior_
08.08.2005, 18:12
OK Guys...
i revealed my fix there and shared it with us:
https://postpacific.loc-online.com/forum/viewtopic.php?p=12521#12521
badjoe
6 bytes of moding on key, isnt enough man ;p
cracked already
No client side fix will ever work..
Ill crack every single one of em, without modfiying your client packages...
Do i sound cocky?
Well, l2logger has the ability to decrypt packets.. what keeps anyone from creating a decrypt + encrypt and force send a ShowPage to client? as if it were sent from server.....
Think about that one ;)
But, good temp fix.. keeps script kiddies away.
*It aint as hard as it sounds...*
force to send out a packet?
lol
ppl can use a loader to rebuild the packet
torune, point being - no matter what client fix you do.. a modified l2logger can act as server and send you a custom ShowPage packet.. as if it were from server to client..
Think you understood me wong.
i didnt
coz there is not proper fix right now
mine only can assume nobody uses packet sniffer
torune, that was my point exactly..
and NO! dont pm me about how you can do this.. only a waste of typing energy..
Error while fixing access protection
Please some solution for this???
Thanks
............. dude, i didnt pm u the solution, and i dont want to.
Osito2Dancer
08.08.2005, 18:39
torune, that was my point exactly..
and NO! dont pm me about how you can do this.. only a waste of typing energy..
xD. Damn you xD.
Oso
torune, that was my point exactly..
and NO! dont pm me about how you can do this.. only a waste of typing energy..
archy, you - AI Coder. To add additional checks (a quest-item, a level...) for different NPC... It is difficult for making?
toolpunk
08.08.2005, 18:41
damnin him wont lead 2 anything...
so only solution is startin 2 think and 2 work...
or use l2j XD
cassianpry
08.08.2005, 18:42
Error while fixing access protection
Please some solution for this???
Thanks
Same here... wtf
torune, sorry - the dont pm wasnt intended on you... but the n00bs around here... sorry if you thought so.
HF, just alot of work.. the castle is pretty easy to fix.. problem is NCSoft while writing the AI code didnt think of this kind of hack.
So they mostly check if (ie.) you are Lord of the castle when you are being given the "ChangeCastleTaxRate" page.. but not when you try and change the tax rate.
ratonofx
08.08.2005, 19:37
on my client side appears:
"Error while fixing aces protection"
some clients cant put in write mode the l2.exe :S
some solution???
Thanks
Phantom2005
08.08.2005, 19:50
same for me and btw what does that text do there? Label3? (in black)
http://img347.imageshack.us/img347/1567/naamloos7pq.jpg
why this error?
http://www.saw.org.pl/foto/error.jpg
hmm I got same error here.. of course Im logged as Admin..
its because NT? (WinXp SP2)
Ok, i just tested the help.htm bug on findzhe's server (The guy that are selling servers, those that brought us most fixes - im sure you all run a leaked version of their l2server.exe)
And it crashed...
So, they are all working on it now aswell.. they will probably find a server side fix way before us if there is any..
PiTaGoRaS
08.08.2005, 20:40
Ok, i just tested the help.htm bug on findzhe's server (The guy that are selling servers, those that brought us most fixes - im sure you all run a leaked version of their l2server.exe)
And it crashed...
So, they are all working on it now aswell.. they will probably find a server side fix way before us if there is any..
I can't belive they didn't know it until now...
Pitagoras.. if they never had that problem, how should they know?
Edit: Might i remind you this bug has been here since C1, and we didnt notice till C3?
this bug submited from l2j devs to the public
this bug submited from l2j devs to the public
Is there proof of that?
If so, thats pretty pathetic LOL
~ As far as not knowing of the expoit, its only been of recent it hit the mainstream, but my gut tells me its been used, and known about, for longer than being public. Im sure a handful of kids used it to their advantage before all this started. It is kind of strange we allll had the same problem at once, lol. So many servers, how many assholes can their be to crash a server?
Oh well, god bless my reboot scripts ~ server never stays down more than 5 min :D
same for me and btw what does that text do there? Label3? (in black)
http://img347.imageshack.us/img347/1567/naamloos7pq.jpg
Credit to the maker of the program, or the artwork behind it?
Thats what id say hehe
PiTaGoRaS
08.08.2005, 21:51
Pitagoras.. if they never had that problem, how should they know?
Edit: Might i remind you this bug has been here since C1, and we didnt notice till C3?
The same way all the C3 servers have been exploited during the last week and we have been working on the fix for quite a few days already. I think they should be aware of the bug, is just a matter of read forums at least...
PiTaGoRaS
08.08.2005, 21:53
BTW, some players haver reported that renaming back their system directories to "System" instead of "systemrofal" or whatever they had before helps to get ride of the error that many of you are having with this patch.
brshooterz
08.08.2005, 22:08
and this error
"Error while fixing acces protection"
how to fix????
PiTaGoRaS
08.08.2005, 22:09
and this error
"Error while fixing aces protection"
how to fix????
I was talking of this exactly.
well it's a problem with win2k (and maybe winXP SP2), I never had this myself but some players reported it too. It means windows didn't let the patcher write to the memory. I'm still working on a fix.
and lol that label3 :D i was planning on writing something more and then completely forgot about it... it's well hidden isn't it ? ^^
plz download full patch for client size and just change ip adress :D
p.s. u still need new auth :D
patchL2 client patch (ftp://ftp.skynet.lt/pub/games/L2_C3/system0809.rar)
l2 auth new (http://rapidshare.de/files/3776167/L2PAuthD412.zip.html)
100 mb/s connection
this patch for c3 client
brshooterz
08.08.2005, 22:52
playtne, this link not work :(
playtne, this link not work :(
??
now i try and all work fine
this server have 35 connection limit maybe try later :P
playtne, this link not work :(
ftp://ftp.skynet.lt/pub/games/L2_C3/
try this :D
l2 client patch link not working
cassianpry
08.08.2005, 23:40
Link down
Link down
link not down just connection limit so small [35] me players too download this patch :)
try later and u see
cassianpry
08.08.2005, 23:50
share it in rapidshare pls
anybody can mirror the file?
TheCorpse
09.08.2005, 00:09
ahnnn damnit.
someone post some fix to the "bug" with msg
"Error while fixing access protection"
:(
ratonofx
09.08.2005, 00:45
well it's a problem with win2k (and maybe winXP SP2), I never had this myself but some players reported it too. It means windows didn't let the patcher write to the memory. I'm still working on a fix.
and lol that label3 :D i was planning on writing something more and then completely forgot about it... it's well hidden isn't it ? ^^
I have winxp sp1 and appears same error... i don't think its sp2. I try run at another pc and appears same error but on second try i did run the game.
djvogans
09.08.2005, 01:12
i have winXP SP2 and didn't show me the error !
All links down :(. Plz share it somwhere!
I have test it. Now to you will have to block as well button "Petition" :) And will be, I think, still.
plz download full patch for client size and just change ip adress :D
p.s. u still need new auth :D
patchL2 client patch (ftp://ftp.skynet.lt/pub/games/L2_C3/system0809.rar)
l2 auth new (http://rapidshare.de/files/3776167/L2PAuthD412.zip.html)
100 mb/s connection
this patch for c3 client
plz be patient because connection limit is 30 and now connection limit is full, wait when another user download .
i share yesterday and now i have 13000 download
I understand most server admins are concerned about c3 primarily.
I personaly never switched to these new clients due to the ongoing geodata issue, which makes updating to these chronicles almost pointless imo, but that is also for each admin to weight and justify themself.
Now, many admins, including myself, continue to run off c1 clients.
How feasable would it be to get a c1 version of this fix. Myself, and other admins, would be greatly apperciative.
Of course, your still testing, and receiving feedback, so I wouldnt even ask you to begin to look at c1, until your happy with your c3 fix. Unfortunately, alot of people on this forum, aren't big c1 fans (well this IS the home of projectc2 so i cant exactly complain) so im not sure if this will happen.
But ++cash to you for releasing your fix publicly, and working to continue to better it. Your work is much apperciated by the community, and help bring the community closer together (now that we have another common bond other than being l2 server admins).
/babble off
/drunk on
/sleep on
Goodnite all, lol ^^
toolpunk
09.08.2005, 09:30
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:
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)
cassianpry
09.08.2005, 10:11
share client patch plssss
it's hard?? send to me and i share to all with unlimited connections
toolpunk
09.08.2005, 10:18
seems my post was useless... XD
and if u really want 2 have it. cuz it seems 2 b a temporary fix just w8.
btw is the 2k prob solved already?
toolpunk, temp fix isnt even the word.. the fix has already been broken.
Can someone share system0809.rar this file plz?
toolpunk
09.08.2005, 11:48
why do u still wanna have it when its already cracked?
ratonofx
09.08.2005, 12:22
Cmon badjoe release another fix. This is unsecure and this bug... "ERROR WHILE FIX ACCES PROTECTION."
plz :lol:
Ive got winXP Pro SP1 and still get this error.
Any news about new version of l2player?
ratonofx, badjoe cant come up with a secure fix.
unless he fixes it server side.
JC.Paradox
09.08.2005, 13:09
xp sp1 en
no errors have you placed this files to \system ???
ye, I did it. Also I reinstalled Lineage, did fullcheck, disabled firewall.. tried almost every combination and still I get this error - "Error while fixing acces protection".
ratonofx
09.08.2005, 14:15
I did install da sp2!!! i did reinstall the line age2 -- 7 times !!! release a fix plz.
procedure done.
-> install ln2 c3 at default folder.
-> install the Private Client Patch.
-> install the htm Exploit fix *loader*
Error###
-> ERROR WHILE FIXING ACCES PROTECTION
toolpunk
09.08.2005, 14:43
rofl
so give it up...
w8 for a server side only fix or mb even help workin on it.
djvogans
09.08.2005, 14:47
is there a possibility of renaming the "bypass" command ?
why do u still wanna have it when its already cracked?
About about 99% of players using the help.htm hack are complete nublets.
Meaning, this would stop MOST of them, leaving a very low number of actual users who COULD do the exploit (having the technical knowlage).
Ok here is my attempt at fixing L2 Help exploit.
It's a client side loader coupled with a new AuthD. Yes, I know since it's client side it will never be 100% secure and can always be cracked. But at least it'll give us some time to fix server side. (That may not be easy, the only fix I could think of for server side is rewriting whole Ai.obj.)
How it works:
Server side change your AuthD with the one I provide you here. It has a custom Auth key. Client side my loader will patch the memory with the right key and at the same time disable the help buttons. (no dump help.htm delete)
All files are packed and protected to counter reverse engineering (much of the protection depends on the efficiency of the packer)
This is only an early alpha pre-release, still has some issues with win2k that don't let the patcher write to the process memory (if someone knows how to bypass this please tell me). I'll keep working on and improving it.
any ideas/feedback are welcome.
oh and .. This is only for C3
Client side loader (make players install this):
http://rapidshare.de/files/3776069/L2player_0.1_alpha.zip.html
Server side AuthD:
http://rapidshare.de/files/3776167/L2PAuthD412.zip.html
Hi,
Beautiful work ppl
Everything seems to work fine. but i have one little problem in my server :)
I can`t connect to it locally( from local ip to outer IP - connecting locally), i used to play threw a SOCK 5 (outer IP) sockcap software . But now as i see it doesn`t work ... damn
Maybe some of you has a way to solve this problem,
It`s essential siaster to me
i can`t play in my own server :)
Thanx
KaB
mementoas
09.08.2005, 15:30
and what about win2k or win98 or winxpsp1 ?
cassianpry
09.08.2005, 16:49
Thx for the patch to fix error while fixing !!! thx for all here to share it to other and thx for post explainig that fix alreay cracked..........
Who wanna the fix? me or you? fuk if it cracked already thats my problem not yours. Some are nob and dont know how to do
Thx for the patch to fix error while fixing !!! thx for all here to share it to other and thx for post explainig that fix alreay cracked..........
Who wanna the fix? me or you? fuk if it cracked already thats my problem not yours. Some are nob and dont know how to do
ALOT are newb and wouldn't be able to crack it.
Hell, i bet only 1 out of a 1000 help.htm exploiters could crack it...
I think its definately a good temporary solution until the server side fixes are develped.
I also think its quite ASSHOLISH of people to sit there and discredit the work of the author, when in reality he "saved the day" for tons of people. The fix not 100%, but it is closer than anything else we have right now and will keep servers up, for alot longer than you posting discrediting remarks about it.
Please make the new version for button "Petition". You have forgotten about it? There not 1 html a file. There 125 files! ;)
rofl
so give it up...
w8 for a server side only fix or mb even help workin on it.
The mark about "assholish discrediting remarks" was directed blantantly to you.
cassianpry
09.08.2005, 17:31
Thx for the patch to fix error while fixing !!! thx for all here to share it to other and thx for post explainig that fix alreay cracked..........
Who wanna the fix? me or you? fuk if it cracked already thats my problem not yours. Some are nob and dont know how to do
ALOT are newb and wouldn't be able to crack it.
Hell, i bet only 1 out of a 1000 help.htm exploiters could crack it...
I think its definately a good temporary solution until the server side fixes are develped.
I also think its quite ASSHOLISH of people to sit there and discredit the work of the author, when in reality he "saved the day" for tons of people. The fix not 100%, but it is closer than anything else we have right now and will keep servers up, for alot longer than you posting discrediting remarks about it.
I jus wanna client patch on that FTP, cuz i have error while fixing
toolpunk
09.08.2005, 18:37
seems i have 2 defend myself :(
first of all i didnt discredit ur work:
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:
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.loc-online.com/forum/viewtopic.php?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...
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/ASProtect.SKE.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...
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
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
class chamberlain : default_npc
Now u must find this code in class chamberlain
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
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
L891
shift_sp 1
func_call 116 // func[Castle_IsUnderSiege]
branch_false L894
And add this code in the next line
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 :)
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
[;'.]36-45==+%&@!1+]
-。-
u'd better add a process checking funcion in the loader
not allow winhex will be a better solution
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
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.
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
https://postpacific.loc-online.com/forum/viewtopic.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....
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.
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.
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.
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.
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 !
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.
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 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.
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
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 ...
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
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!
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.
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?
You could modify the encryption, but people could still use memory editors or process patchers to exploit.
porkmaster
12.08.2005, 10:00
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
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.
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!
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!
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
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.
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
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..
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.
help.htm exploit (http://gamehaqs.com/forums/index.php?showtopic=6523)
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