Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #506987

Re: Weird search engine problem - fake goods hijacking

From Martin Brown <'''newspam'''@nezumi.demon.co.uk>
Newsgroups sci.electronics.design
Subject Re: Weird search engine problem - fake goods hijacking
Date 2018-05-31 18:07 +0100
Organization Aioe.org NNTP Server
Message-ID <pepa56$184s$1@gioia.aioe.org> (permalink)
References <pembt3$8d3$1@gioia.aioe.org> <penr5e$58l$1@dont-email.me> <97d76a14-8f8e-4447-92b3-aa69ed5dbb9c@googlegroups.com> <c9d1da0e-c5a2-4700-80bc-56ec3f01a8fa@googlegroups.com>

Show all headers | View raw


On 31/05/2018 17:27, makolber@yahoo.com wrote:
> 
>>
>> You misunderstand the problem.  The search result shows the real site on the >link.  If you hover the link, your browser shows the correct site.  When you >click the link, however, you get sent to the scam site.  If you type the >correct site into the address bar this does not happen, proving the >corruption is on the search engine.
> 
> 
> so this is a great concern..

It is a moderate concern. Thanks to help from an internet wizard I now 
have chapter and verse on the compromised sites. The vulnerability is in 
a script language PHP version 5.x with x<6 and a frightening number of 
sites and hosting services are still running that old legacy code by 
default. Worth checking what version you have on your platform.

Sticking this in a file called version.php ought to do the trick

<?php
echo 'PHP Version :' . phpversion();
?>

PHP is currently at version 7. And 5.2 means immediate danger.

The method used was an injection attack that rewrote the .htaccess file 
and added a bogus index.php file to the root directory.

Once this is done the index.php gets first bite at the cherry and tells 
spiders to go one way and users to go another if the referrer is one of 
the major search engines. The nasty code is surprisingly short.

I found that by opening site in a new window you could see the true URL 
momentarily before the script rewrote it with fake goods emporium #1.
> 
> everyone knows not to click links in emails because they may be spoofs
> 
> when I want to go to paypal for example and be sure it is not a spoof,
> I would use google, type paypal and  and click the search result.
> 
> I guess what this means is that this is no longer a secure method  to assure you are not at a spoof.
> 
> this means i must type https:paypal.com into the browser window to be sure?

It certainly means you cannot entirely take results from search engines 
at face value. It also means that occasionally you should search for 
your own site and click through the resulting links to see that you do 
in fact land on your site and not on some dodgy hijack location.

If you do find a site with questionable behaviour this site seems to dig 
the dirt and at least warns of malware for some of the dodgy ones (it 
has given me false negatives though so not foolproof):

https://sitecheck.sucuri.net/results/

eg.

https://sitecheck.sucuri.net/results/www.bestevidence.org.uk

-- 
Regards,
Martin Brown

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OT: Weird search engine problem - fake goods hijacking Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-05-30 15:19 +0100
  Re: OT: Weird search engine problem - fake goods hijacking DemonicTubes <tlackie@gmail.com> - 2018-05-30 07:46 -0700
  Re: OT: Weird search engine problem - fake goods hijacking John Larkin <jjlarkin@highlandtechnology.com> - 2018-05-30 08:30 -0700
    Re: OT: Weird search engine problem - fake goods hijacking Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-05-30 16:42 +0100
      Re: OT: Weird search engine problem - fake goods hijacking Bert Hickman <bert-hickman@comcast.net> - 2018-05-30 11:08 -0500
        Re: OT: Weird search engine problem - fake goods hijacking Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-05-30 17:14 +0100
  Re: OT: Weird search engine problem - fake goods hijacking George Herold <gherold@teachspin.com> - 2018-05-30 09:12 -0700
  Re: OT: Weird search engine problem - fake goods hijacking Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-05-30 12:13 -0400
    Re: OT: Weird search engine problem - fake goods hijacking Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-05-30 20:47 +0100
      Re: OT: Weird search engine problem - fake goods hijacking jurb6006@gmail.com - 2018-05-30 13:31 -0700
  Re: OT: Weird search engine problem - fake goods hijacking bloggs.fredbloggs.fred@gmail.com - 2018-05-30 15:02 -0700
  Re: Weird search engine problem - fake goods hijacking "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2018-05-30 23:38 -0400
    Re: Weird search engine problem - fake goods hijacking pcdhobbs@gmail.com - 2018-05-30 23:33 -0700
      Re: Weird search engine problem - fake goods hijacking Clifford Heath <no.spam@please.net> - 2018-05-31 17:16 +1000
      Re: Weird search engine problem - fake goods hijacking John Devereux <john@devereux.me.uk> - 2018-05-31 08:24 +0100
        Re: Weird search engine problem - fake goods hijacking Steve Wilson <no@spam.com> - 2018-05-31 07:44 +0000
        Re: Weird search engine problem - fake goods hijacking Johann Klammer <klammerj@NOSPAM.a1.net> - 2018-05-31 11:39 +0200
          Re: Weird search engine problem - fake goods hijacking Steve Wilson <no@spam.com> - 2018-05-31 09:54 +0000
          Re: Weird search engine problem - fake goods hijacking Steve Wilson <no@spam.com> - 2018-05-31 09:57 +0000
            Re: Weird search engine problem - fake goods hijacking Johann Klammer <klammerj@NOSPAM.a1.net> - 2018-06-06 02:16 +0200
            Re: Weird search engine problem - fake goods hijacking Clifford Heath <no.spam@please.net> - 2018-06-06 12:47 +1000
          Re: Weird search engine problem - fake goods hijacking John Devereux <john@devereux.me.uk> - 2018-05-31 12:41 +0100
        Re: Weird search engine problem - fake goods hijacking Dimitrij Klingbeil <nospam@no-address.com> - 2018-05-31 23:48 +0200
      Re: Weird search engine problem - fake goods hijacking Jasen Betts <jasen@xnet.co.nz> - 2018-06-01 06:34 +0000
        Re: Weird search engine problem - fake goods hijacking Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-06-01 09:08 +0100
    Re: Weird search engine problem - fake goods hijacking Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-05-31 08:06 +0100
      Re: Weird search engine problem - fake goods hijacking "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2018-06-01 16:00 -0400
    Re: Weird search engine problem - fake goods hijacking DemonicTubes <tlackie@gmail.com> - 2018-05-31 07:45 -0700
      Re: Weird search engine problem - fake goods hijacking makolber@yahoo.com - 2018-05-31 09:27 -0700
        Re: Weird search engine problem - fake goods hijacking Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-05-31 18:07 +0100
          Re: Weird search engine problem - fake goods hijacking Jasen Betts <jasen@xnet.co.nz> - 2018-06-01 06:41 +0000
            Re: Weird search engine problem - fake goods hijacking Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-06-01 21:37 +0100
        Re: Weird search engine problem - fake goods hijacking gnuarm.deletethisbit@gmail.com - 2018-05-31 10:15 -0700
          Re: Weird search engine problem - fake goods hijacking gnuarm.deletethisbit@gmail.com - 2018-05-31 10:18 -0700
            Re: Weird search engine problem - fake goods hijacking Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-05-31 18:38 +0100
        Re: Weird search engine problem - fake goods hijacking Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-05-31 18:29 -0400

csiph-web