Forum Moderators: phranque
The scenario is your development machine gets infected and you upload files to a webserver and spread it...
Yes, the malicous code gets appended to HTML files.
The bug appends an IFRAME tag to all .HTM, .HTML, .ASP, and .PHP files on an infected PC, (and possibly other text files containing markup or scripting language)).
The IFRAME tag is added to the end of every file.
I would check any PC that tested positive for any trojan/worm/virus recently --- even if you cleaned the virus, the infected web pages were most likely not cleaned, (no major anti-virus / spyware company appears to have info on this exploit/virus).
Use Search Files/Folders utility with option to search for text within files.
search for: <snip>
NOTE: searching G for same term shows 236 results, most not in not in English..
[edited by: trillianjedi at 3:24 pm (utc) on Feb. 22, 2007]
[edit reason] See below [/edit]
Not everyone here has English as a first language - people may unwittingly drop that URL into a web browser.
Did you discover this one lexipixel or is it referenced on a security related wesbite somewhere?
To be clear:
The HTML, PHP and ASP files are corrupted by a trojan on an end user's machine. The danger is that the [person/user/web developer] could then upload the corrupted files to a live server, helping to spread the worm. The worm will not spread from file to file on the server (so it would be hit or miss just viewing source on a couple files on a server -- I would search all drives).
trillianjedi:
I didn't discovered it -- I just seem to be the only one wondering about it.
I found the corrupted files on one of my kids' machines after a virus clean up, (they didn't tell me until it was near dead from spawned processes: "Dad, the computer is running real slow and acting weird -- it's been getting worse and worse for a couple days".
For clean ups, I usually go in and do a search by descending date order to find the most recently modified files.
I noticed a batch of .HTML files all with the same recent date that should not have been modified at all and opened one... Found the IFRAME code at the end just cause it looked out of place after the </HTML> tag. I opened a few more and found the same, then searched the entire machine to find every file had it --- next stop Google and found a few references --- but only 2-3 in English that other people had found the same thing. Most of the rest are Chinese or Japanese posts -- I did online translation for the one from Symatec..
I posted about it in the AVG support forum (at GriSoft, that machine uses their AVG anti virus software)...Nobody ever heard of it there.
You could just search for files that contain the string "krvkr" within the text. A variant uses the same IFRAME exploit but another URL with "lovebak" in place of the "krvkr". Both reference the same "worm.htm" file.
It may be related or a side effect of Fujacks or Realor virus, but I am not really sure... I just see those names popping up in the Chine translations.