Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Many incorrect syntax after virus? HELP!

0 views
Skip to first unread message

firebalrog

unread,
Sep 21, 2009, 12:52:54 PM9/21/09
to
We had a trojan downloader infect our network and in the process of
look at the network traffic I discovered that I was getting many
syntax errors where the asp/web front end was making a call to a 2005
back end database and it would chop part of the next query or shorten
the current query. What is really weird is that the .net client seems
to be compensating for this and re-issueing the query another way so
the app (app is .net 2.0 with sp2) continues to function with no
visible errors.

I have checked the database compatiblity layer which is 90 or 2005 on
the database that we are running the queries to. Also it is 2005
server. The asp server has sql express 2005 on it and it looks like it
might need a service pack because its build # is smaller than that on
my 2005 standard server.

I am not sure if this problem preexisted the virus but the system is
now running a bit sluggishly also other departments are reporting the
back end sql server is now running slow. I am now running benchmarks
with perfmon to get some ideas and I think i have some old perfmon
results to compare with on the back end sql server.

I have done numerous searches but most incorrect syntax errors are
because of programming mistakes. That is not the case here. The
problem is across multiple sql requests from different components and
it appears to be working in the app.

Erland Sommarskog

unread,
Sep 21, 2009, 5:21:01 PM9/21/09
to
firebalrog (barret...@gmail.com) writes:
> We had a trojan downloader infect our network and in the process of
> look at the network traffic I discovered that I was getting many
> syntax errors where the asp/web front end was making a call to a 2005
> back end database and it would chop part of the next query or shorten
> the current query. What is really weird is that the .net client seems
> to be compensating for this and re-issueing the query another way so
> the app (app is .net 2.0 with sp2) continues to function with no
> visible errors.

Exactly how do you see this error, and exactly what errors do you see?

I have a theory, but I would need some more information before I am
prepared to present it.


--
Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

Sylvain Lafontaine

unread,
Sep 22, 2009, 1:55:26 AM9/22/09
to

Maybe you are (or more exactly, your network is) victim of SQL-Injection
attack.

--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
Independent consultant and remote programming for Access and SQL-Server
(French)


"firebalrog" <barret...@gmail.com> wrote in message
news:d57af98d-ab61-41c3...@y10g2000prg.googlegroups.com...

0 new messages