Blog Has Trojan Horse Embedded

Discussion in 'Programming' started by Robert A. Kearse, Aug 17, 2011.

  1. #1
    I bought a niche blog from a vendor who seems to
    have embedded a trojan horse within an I-Frame.

    A couple of days ago when I went to the home page
    the path was blocked by my AvastPro Anti-virus with
    this notice:

    HTML:IFrame -PE[Trj]

    Support at my web host said traffic was being
    re-directed to http://t5rvi83nwx.co.tv/?go=1
    (which is now no longer working.

    Now, nothing works. When I go to the site,
    http://YourBabyGenius.com I get this notice:

    /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require('./wp-blog-header.php'); ?>


    *********
    I have zero knowledge about the code used on the blog.

    Is there any way to identify and remove the offending
    code for the I-Frame and Trojan horse??

    Any help would be greatly appreciated.

    Robert
     
    Robert A. Kearse, Aug 17, 2011 IP
  2. ssmm987

    ssmm987 Member

    Messages:
    180
    Likes Received:
    4
    Best Answers:
    3
    Trophy Points:
    43
    #2
    It seems like the opening php tag is missing.
    Open index.php, and add this at front: "<?php" It should work.

    If not - and even if doesn't - I recommen reinstalling wordpress (Back up your files!)
     
    ssmm987, Aug 17, 2011 IP
  3. Robert A. Kearse

    Robert A. Kearse Peon

    Messages:
    24
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3

    WOW!

    I added

    <?php
    /**

    to the opening and it worked like magic -

    OOPS. I have had to edit this post, because all of a sudden my AvastPro anti-virus is again
    showing the HTML:IFrame -PE[Trj] threat

    But the site was working and showing up normally for about an hour.

    So I guess it is not wise to try and access YourBabyGenius.com


    By the way, I looked up the threat HTML:IFrame -PE[Trj] thru Google and found a reference:

    "The iframe domain points to IP 94.60.123.48 which is blacklisted in RBL for spreading malware based on "Blackhole" kit."

    Is the iframe still there on my blog? Or has it been disabled in some way? (Obviously I realize now the threat is still there).

    Is there any way to get rid of it??

    Robert
     
    Last edited: Aug 17, 2011
    Robert A. Kearse, Aug 17, 2011 IP
  4. ssmm987

    ssmm987 Member

    Messages:
    180
    Likes Received:
    4
    Best Answers:
    3
    Trophy Points:
    43
    #4
    I recieve this error, when I'm trying to reach the page:
     
    ssmm987, Aug 18, 2011 IP
  5. hamit

    hamit Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hello Robert,
    I can remove that code form your blog.
    One more thing i have found on your blog i.e if you go with url www dot yourbabygenius dot com your blogs work and if you go with url yourbabygenius dot com your blog will not work.
     
    hamit, Aug 18, 2011 IP
  6. Chuckun

    Chuckun Well-Known Member

    Messages:
    1,161
    Likes Received:
    60
    Best Answers:
    2
    Trophy Points:
    150
    #6
    Are you sure it's not a statistics counter you've installed? Quite a few of those are picked up as trojans by some AVs..
     
    Chuckun, Aug 18, 2011 IP
  7. Sweely

    Sweely Well-Known Member

    Messages:
    1,467
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    165
    #7
    Is your site working as it should by now? If not, send me a PM — I'd love to help you out :)
     
    Sweely, Aug 18, 2011 IP
  8. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #8
    I agree with ssmm987 - save your content, get rid of the blog, install Wordpress and add your content to it. It's more work than the "quick fix", but you're only putting a band-aid on a severed artery.

    (And if the site works differently with the www and without it, if your domain name provider can't fix it, I'd move my domain name to someone else's nameservers.)
     
    Rukbat, Aug 24, 2011 IP