Trend Micro have tried to be clever by mosaic-ing the references to where the trojan downloads from. Pity they forgot to blat one in the final picture, right next to the 327,000.
The image on the linked artical http://www.trendmicro.com/vinfo/images/google_search.gif has blanked over the address they searched for forgetting that it displays itself more then once on the result page :P
By Anonymous CowardPosted Wednesday 21st May 2008 09:56 GMT
I'm familiar with a few preventative measures to withstand website SQL injection, such as sanitising the user input and escaping certain characters etc.
I'm curious about these recent events.
Are there any special techniques/code examples on how these new attacks can be prevented? Any advice would be greatly appreciated.
By Anonymous CowardPosted Wednesday 21st May 2008 10:45 GMT
If they have the domain name (qiqigm.com) that was registered on 16 May where the scripts are downloaded from, won't this help in tracking down the malware creators/distributors ?
By Chris StaffordPosted Wednesday 21st May 2008 11:31 GMT
mssql's default admin password is (or at least used to be) notoriously commonly left as-is, which probably makes it worth checking any system for it. You don't need sql injection for that though.
By OlivierPosted Wednesday 21st May 2008 14:47 GMT
This list is not accurate, eg I'm posting from a 153.x.x.x address and I can assure you I'm not in China. Well, perhaps my job is beeing moved there and I'm the only one not to know ? :)
For those interested, take a look at the IP ranges on apnic's website : http://www.apnic.net/db/ranges.html
By UnlimitedPosted Wednesday 21st May 2008 15:39 GMT
er, my understanding of the article is that they have used sql injection to place the frame on websites, which then serves a .js to visitors in order to install a trojan on their machine. so the .js is the result of the sql injection, the .js does not perform the sql injection.
By Nexox EnigmaPosted Wednesday 21st May 2008 16:24 GMT
Haven't people know how obvious SQL injection attacks are for like... 15 years now? How can so many people write so much crap software? I know the answer, I just wish the world was better.
People ought to have their Internet licenses revoked.
Indeed. It is staggering that by default, designs contain nothing to stop SQL-injections.
The problem is that databases and web sites interfaces were deliberately designed so that anybody could use them, allowing for unclear statements, unquoted arguments, etc.
Apparently, the database engineers think that user input should be sanitized by coders, coders believe it should be sanitized by the one making the web site, and that one is usually a web designer which cares more about making a cool interface than about security measures.
Hopefully, we will soon have database interfaces which disable literals by default...
By Allan DyerPosted Thursday 22nd May 2008 08:36 GMT
What a good idea! Instead of fixing the problem, just take apart the internet.
Any SysAdmin who does that kind of blanket blocking should be prosecuted for a criminal denial of service attack, and gross stupidity. Think about it, there's not even any evidence that the attacks are *originating* in the APNIC, it could be the scumball in the cubical next to you supplementing his income breaking into poorly-protected home user PCs in APNIC to bounce the attacks. Or, from an economic perspective, look at China's GDP growth - think your multinational companies are going to want a piece of that? How will they communicate if idiots like you block them.
I'm physically in Hong Kong, China, but I'd like to think that this inter-thingy is making the world more connected...
By Anonymous CowardPosted Tuesday 27th May 2008 21:14 GMT
I thought I heard a ping from Hong Kong just then :)
Anyone can block traffic if they like, if it is their equipment, there is no law saying it has to be open. In fact since blocking a huge chunk of the net the number of attempted attacks have gone down considerably, and the amount of useful traffic has increased also considerably.
Criminal denial of service eh? Oh, and why should we be serving you? And gross stupidity, well I think you have more than your fair share :)
Most sites, want quality traffic, not crack attempt after crack attempt, sure if some place has to communicate with a site then they can be added to a white list. It does actually make a lot of sense in many scenarios. So you're in Hong Kong why do we care?
By Anonymous CowardPosted Thursday 29th May 2008 06:15 GMT
"why should we be serving you?" Huh? Well who are you? If you're just running your own private blog server, then fair enough, block whoever you like, it's your machine, nobody's going to care. If you're involved in any sort of commercial operation then what on earth are you on? Blocking random chunks of the IP address space has to be about the laziest, stupidest and least effective security method around. Why don't you just block all IP addresses that end in a number under 128, then you're 50% less likely to be attacked!
Comments on: Mass SQL injection hits English language websites
D'oh #
By Edd Posted Wednesday 21st May 2008 07:36 GMT
Silly image #
By Mike F Posted Wednesday 21st May 2008 08:18 GMT
SQL Injection Protection Tips #
By Anonymous Coward Posted Wednesday 21st May 2008 09:56 GMT
Another address #
By brym Posted Wednesday 21st May 2008 09:57 GMT
@AC #
By Matthew L Posted Wednesday 21st May 2008 10:21 GMT
Re: @AC #
By Anonymous Coward Posted Wednesday 21st May 2008 10:35 GMT
You're nicked sonny #
By Anonymous Coward Posted Wednesday 21st May 2008 10:45 GMT
direct db access? #
By foo_bar_baz Posted Wednesday 21st May 2008 10:46 GMT
re: direct db access? #
By Chris Stafford Posted Wednesday 21st May 2008 11:31 GMT
@Mike F #
By Gareth Posted Wednesday 21st May 2008 11:43 GMT
Just block APNIC on the firewall #
By Anonymous Coward Posted Wednesday 21st May 2008 12:15 GMT
Re: Just block APNIC on the firewall #
By Olivier Posted Wednesday 21st May 2008 14:47 GMT
@Gareth #
By Unlimited Posted Wednesday 21st May 2008 15:39 GMT
Jesus how hard is it? #
By Nexox Enigma Posted Wednesday 21st May 2008 16:24 GMT
Ref Ref 153 APNIC #
By Anonymous Coward Posted Wednesday 21st May 2008 17:07 GMT
153 Legacy now in EU or worldwide #
By Anonymous Coward Posted Wednesday 21st May 2008 18:49 GMT
Remember, kids... #
By Franklin Posted Wednesday 21st May 2008 19:05 GMT
@nexox #
By ratfox Posted Wednesday 21st May 2008 19:29 GMT
I had some Chinese SQL Injections... #
By Anonymous Coward Posted Wednesday 21st May 2008 23:47 GMT
Re: Just block APNIC on the firewall #
By Allan Dyer Posted Thursday 22nd May 2008 08:36 GMT
Did someone say something #
By Anonymous Coward Posted Tuesday 27th May 2008 21:14 GMT
Re: Did someone say something #
By Anonymous Coward Posted Thursday 29th May 2008 06:15 GMT