Warning: Trojans Hiding In Facebook Apps

newsguy 2 Tallied Votes 472 Views Share

It's not just phishing scams that Facebook users have to worry about right now,

According to Roger Thompson, the Chief Research Officer with security vendor AVG, hacked Facebook applications are increasingly reaching out to exploit sites based in Russia. As Thompson says, this is different to the normal run of things whereby people are linking to hacked pages innocently enough on social networking sites. "These seem to be actual Facebook applications that have been hacked" Thompson points out, adding that the application developers are "innocent victims too".

AVG researchers first spotted the trend when a fire-fighter simulation game which it assumed was a developer hack, pointing to a Russian site where a scareware scam was being peddled. But when they looked closer, they discovered in the source code for the web pages an injected iframe that did the damage.

What is not obvious at the moment is just where the holes are in the infected Facebook apps which are letting the bad guys inject their code, but Thompson is as sure as he can be that the app developers are just as much victims as anyone else in these matters. So far AVG has uncovered at least 8 Facebook apps which have been compromised, and the full details can be found along with screenshots of one exploited app and the exploit sites it reaches out to.

Maybe it is time to rethink the way that Facebook approaches app development and reconsider adopting the ?

Dani AI

Generated

This thread correctly called out a real problem: malicious code can be injected into Facebook apps (iframes, scripts or loaded resources) and those apps — or the hosting sites they call — can be used to push scareware, trojans or spam. flagged the pattern and asked how to protect a normal user; below is a concise, modern checklist (user-side and developer-side) that fills gaps in the older replies.

For developers: treat every user-supplied string as hostile. Output‑encode or sanitize for the correct context, avoid unsafe DOM sinks (innerHTML/eval), use a strict Content Security Policy and Subresource Integrity for third‑party scripts, rotate API secrets, and monitor app logs for unexpected outgoing requests. See OWASP’s XSS and CSP guidance for concrete controls and examples. OWASP XSS Prevention Cheat Sheet. OWASP Content Security Policy Cheat Sheet.

Note: if an account was abused to send spam to friends, tell those contacts to ignore links and run the same cleanup steps. Report compromised apps/accounts to Facebook if removal and recovery don’t stop the behaviour. This advice updates and consolidates the thread’s older links and the practical questions raised by and .

sbefort 0 Newbie Poster

Facebook apps already have a bad reputation. If word gets out about lurking viruses, good luck on getting new users to install your app.

liftedlink 0 Newbie Poster

how to avoid this deadly virus called troja, can you recommed any antiware to tackle this. For user of facebook and e-mail users.
thanks, liftedlink.

alex_alex8730 0 Newbie Poster

sal

charlenej 3 Junior Poster in Training

Hi! I encounter these same problem in facebook. It's because I clicked a link and then it started sending messages (either in chat box or inbox) automatically to my friends. So I did some research on how to get rid of this virus and this sites solved my problem...
http://www.facebook.com/topic.php?uid=95953771457&topic=11842
http://www.facebook.com/topic.php?uid=29561677955&topic=5693

jingda 135 Industrious Poster Featured Poster

Good for you charlenej. Welcome to daniweb charlenej

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.