Copyfish for Chrome 2.8.5 pulled hidden code off the internet and injected ads into every page after a developer was phished on 29 July 2017.
Attackers phished a developer account on 28 July 2017 and pushed the update on 29 July. The extension had more than 37,500 users, according to The Hacker News.
What happened
Attackers phished a Copyfish team member and published version 2.8.5 to the Chrome Web Store.
- On 28 July 2017, a developer got an email that looked like it came from the Chrome Web Store team.
- The link led to a fake Google password page at
chromedev.freshdesk.com. - One team member entered a password.
- The attackers moved the extension to their own developer account.
- Version 2.8.5 added JavaScript that loaded adverts into the pages that the user viewed.
Version 2.8.5 went out on 29 July. The hijack lasted about 24 hours before the public disclosure on 31 July, per BleepingComputer.
Affected versions
- 2.8.4: the clean version before the hijack.
- 2.8.5: malicious, published 29 July 2017.
- The Firefox extension was not affected.
- The developers did not control the Chrome listing after the transfer. A later version can be bad as well.
Indicators of compromise
- Phishing page
chromedev.freshdesk.comand a bit.ly link in the lure email. - Phishing server
click.rdr11[.]top(31.186.103.146). - Ad injection servers
partner-net[.]menandpartnerwork[.]men. - Credential exfiltration domains
searchtab[.]winandredirect2[.]top. - Ads and spam on pages that normally have none, after the extension updated.
How to check
Open the Chrome extension list and read the Copyfish version and the owner.
chrome://extensions
Search your DNS or proxy logs for the domains above. The log path is an example.
grep -Ei "partner-net.men|partnerwork.men|searchtab.win|redirect2.top" /var/log/dns/*.log
What to do now
- Remove Copyfish from Chrome if it shows version 2.8.5. Use the trash icon on the extension card.
- Change the passwords for sites you used while 2.8.5 was active.
- Block the listed domains at the DNS layer.
- If you publish extensions, turn on two-step verification for the developer account. Do not enter your password from an email link.
Frequently asked questions
What was the wider campaign?
Proofpoint links the same method to at least seven more extensions, such as Web Developer, Chrometana and Betternet VPN. The injected code also stole Cloudflare credentials.
Did the host remove the bad files?
Yes. The Unpkg CDN removed the malicious JavaScript files it hosted.
Sources
Send this page to the person who looks after AI at your company.