Most people know at this point that when searching for a popular software package to download, you should be very careful to avoid clicking on any of the search ads that appear, as this has become an extremely common vector for distributing malware to unsuspecting users.

If you thought that you could identify these malicious ads by checking the URL below the ad to see if it directs to the legitimate site, think again! Malware advertisers have found a way to use Google’s Ad platform to fake the URL shown with the ad to make it appear like a legitimate ad for the product when in fact, clicking the ad will redirect to an attacker controlled site serving malware.

Don’t click on search ads or, even better, use an ad-blocker so that you never see them in the first place!

  • Mane25
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Presumably you can hover over the link to see the actual URL (which I think is best practice anyway), or is it more sophisticated than that?

    • drspod@lemmy.mlOP
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      AFAIK even legitimate ad clicks will first direct to an analytics platform before redirecting to the destination site, so that they can track click through rates and where the referral came from. So it is unlikely that ad links will actually go to the website you expect them to even in normal scenarios. It is actually this mechanism that the malicious ads described in the article are using to fake the display URL.

      • Mane25
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        I would always out of habit avoid any links that go to somewhere other than the advertised destination - so if it goes to an analytics platform I would copy and paste the text if the text of the link is a URL, or find an alternative. Always hovering links and being absolutely sure of where they go should really be taught as standard practice.

      • Mane25
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        That type of thing is concerning. What browser are you using out of interest?

        • WUED@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Sorry for the slow reply, but it was a link on LinkedIn and I’m using chrome. It’s frustrating as I use the status bar to check the link is the same as the text before clicking it.

            • WUED@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Just double checked and this also happens in Firefox. I think the other user in this thread has explained it well, looks like a JavaScript intercept onClick to prevent the link action and instead call a JavaScript function to open a different link.

              In this case it is built into the site so I guess it is OK on the basis that I am trusting LinkedIn to not do anything malicious but it was more the principle as I had previously looked at the status bar to confirm the link was what I was expecting but in the future I will be more wary. Interestingly, right clicking and selecting “copy link” does actually copy the page which is loaded as opposed to the one on the status bar.

              If you have linkedin it seems to be links in direct messages if you would like to see yourself.

        • WUED@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Sorry, I don’t mean the link text itself, but the destination shown in the status bar in the bottom left of my desktop browser.

            • WUED@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Yes, that looks exactly like what is happening. For clarity though it is a LinkedIn script not one uploaded by a 3rd party.

              It seems to apply to links sent in direct messages which are routed through a linkedin internal page, I assume so they can track you out etc.

              It was more the principal of it though, I hadn’t considered that the link shown in the status bar could not be the link you would be taken to if you click it but I guess that’s part of allowing javascript to run.