Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 22.04.2007, 01:48   #1
rayovac
Архивный участник
 
Join Date: Apr 2007
Posts: 17
Default Could it be a new exploit??

Today I got a very big problem in my server!! Players complaining their chars simply dissapeared from their accs.
I checked in sql server and the table user_data was cleaned!! There was jus one char on that!!! Other tables appear to be normal.
In my server the opened ports are only the gameserver and auth ports, and the logins on the pc are normal too.
I checked at amped log and found something very strange on that (i hided the ips and names for security):

Code:
[22:42:17] packet flood: IP[*.*.*.*] packet[0x0] *****[1657ms] action[100]
[22:44:39] Pausing parent threads
[22:44:39] CConfigMonitor::~CConfigMonitor
[22:44:39] DestroyWndSink
[22:44:39] Closed interproc thread
[22:44:39] Trying to unregistered class
[22:44:39] Unregistered class
[22:44:39] Resuming parent threads
[22/Apr/2007 00:16:07] char already in world (EnterWorld) IP: IP[*.*.*.*]  UID[*****]
[22/Apr/2007 00:30:40] packet flood: IP[*.*.*.*] packet[0xb] *****a[562ms] action[1]
[22/Apr/2007 00:40:00] invalid list size: IP[*.*.*.*]  UID[*****] 76 > 50
[22/Apr/2007 00:48:55] packet flood: IP[*.*.*.*] packet[0x2b] *****[0ms] action[2]
[22/Apr/2007 01:01:38] packet flood: IP[*.*.*.*] packet[0xb9] *****[0ms] action[2]
Anyone knows something about this problem?? I need help.
The only thing i can do at this time is restore de database and make backups more times.
rayovac is offline  
Old 22.04.2007, 02:47   #2
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

Quote:
[23:44:33] Pausing parent threads
[23:44:33] CConfigMonitor::~CConfigMonitor
[23:44:33] DestroyWndSink
[23:44:33] Closed interproc thread
[23:44:33] Trying to unregistered class
[23:44:33] Unregistered class
[23:44:33] Resuming parent threads
Lol I even have this at the same hour xD

please check your event viewer... more or less in that moment I had the following:
Quote:
22/04/2007 1:44:03
Autogrow of file 'lin2world_Log' in database 'lin2world' took 84875 milliseconds. Consider using ALTER DATABASE to set a smaller FILEGROWTH for this file.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
xDD
m4rk is offline  
Old 22.04.2007, 04:27   #3
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Maybe SQL injection in website ? Are u using L2CP ?
FidoW is offline  
Old 22.04.2007, 04:40   #4
rayovac
Архивный участник
 
Join Date: Apr 2007
Posts: 17
Default

Thank you guys for the helping me. I got the problem.
I use l2cp but now is offline and the problem repeated.
the problem is not sql injection but is something like this, it happend due to the database script i used was "very well written".
I got a better script and now it seems to be solved.

Thank you guys for the support.
rayovac is offline  
Old 22.04.2007, 05:54   #5
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

What script if you don't mind asking? Maybe we have the same issue? Was it custom? What did it do?

Glad you got it fixed.
mcrabben7 is offline  
Old 23.04.2007, 17:20   #6
rayovac
Архивный участник
 
Join Date: Apr 2007
Posts: 17
Default

the problem i had from the database script was due to it was from a non trusted source, i found a malicious code on it.
whith this new script i this problem was solved.

unfortunately the code i posted is not related to that problem, so the error reported on amped log isnt fixed at this time.
now im whithout enought time to investigate it propperly, so if someone knows how to fix and give us a clue.
if i find the fix for it i will report here how to correct.
rayovac is offline  
Old 23.04.2007, 17:29   #7
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by rayovac View Post
the problem i had from the database script was due to it was from a non trusted source, i found a malicious code on it.
whith this new script i this problem was solved.

unfortunately the code i posted is not related to that problem, so the error reported on amped log isnt fixed at this time.
now im whithout enought time to investigate it propperly, so if someone knows how to fix and give us a clue.
if i find the fix for it i will report here how to correct.
What are u talking about ? There is nothing wrong in that log


If u are talking about this:
Code:
[22:44:39] Pausing parent threads
[22:44:39] CConfigMonitor::~CConfigMonitor
[22:44:39] DestroyWndSink
[22:44:39] Closed interproc thread
[22:44:39] Trying to unregistered class
[22:44:39] Unregistered class
[22:44:39] Resuming parent threads
... is always writed in amped 2.0 log when l2server is closed.
FidoW is offline  
Old 23.04.2007, 17:31   #8
nish
Архивный участник
 
Join Date: May 2006
Posts: 237
Default

ya what script are you talking about ? with out any info about it doubt anyone will be able to help
nish is offline  
Old 24.04.2007, 02:23   #9
rayovac
Архивный участник
 
Join Date: Apr 2007
Posts: 17
Default

Thanks Fidow, im new on l2server administration/development world and dont know everything about the error report messages and other stuff related.

Summing up, i had a problem in my server that the user_data table was deleted and post a part of amped log that i was suspecting about it.
About the user_data table the problem was caused by malicious code included in one of my dbscripts, i got new(clen) scripts and the problem was solved.
About the amped log, if its written everytime l2server is closed i have to investigate better, try to fix, and if i coulnt be able to fix make a new post asking your help again.
(at this time i have a suspect red message in auth window but ill investigate it first before posting)

Thank you guys!
rayovac is offline  
Old 24.04.2007, 11:23   #10
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

You don't have anythin' to fix there. It is just AmpeD's internal operation..as it unloads the dll due to l2server closing..and loads again.
tpuNIsher is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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