惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tailwind CSS Blog
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
The Cloudflare Blog
博客园 - 聂微东
博客园 - 司徒正美
量子位
博客园 - 三生石上(FineUI控件)
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
Y
Y Combinator Blog
S
SegmentFault 最新的问题
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
有赞技术团队
有赞技术团队
A
About on SuperTechFans

ashishb.net

A day in Luxembourg - the richest country in the world I was asked to install malware during a fake interview Book summary: Breakneck - China's quest to engineer the future by Dan Wang Book summary: How to Teach Your Baby to Read Book Summary: The Discontented Little Baby Book by Pamela Douglas Introducing Amazing Sandbox - run third-party tools and AI agents securely on your machine Why software outsourcing gets a bad reputation? Book summary: The Natural Baby Sleep Solution by Polly Moore A day in Antwerp, Belgium Journey of online influencers Two days in Brussels, Belgium Shortcuts - when we love them and when we don't A visit to Rakhigarhi Three days in overhyped Paris Empty Japan, crowded Tokyo The real lock-in in GitHub is not the code, but the stars 11-day Norwegian Breakaway East Caribbean cruise Sanskrit and Sri Lankan Air Force Use REST with Open API The Achilles heel of American capitalism Costa Rica in 4 days At a juice stall in Sri Lanka A short stay at Warsaw, Poland Best practices for using Python & uv inside Docker Two days in Vilnius, Lithuania How IntelliJ IDEs waste disk space Pregnancy Why there aren't many digital nomads from India Two days in Riga, Latvia To keep your machine secure, run third-party tools inside Docker
Preliminary analysis of Facebook clickjacking - aprilfool...
Ashish Bhatia · 2011-04-04 · via ashishb.net

If you have been already a victim of this, then change your password and unlike the page as soon as possible. (See also How do you store my password? for why reusing the leaked password on other sites is even worse.)

A malicious app called “aprilfoolsprank” which likes a page on a user’s behalf and tries to phish a user into disclosing his/her Facebook login and password is taking its toll on Facebook users. A pure like-jacking variant (without the phishing step) is covered in Preliminary analysis of Facebook Click jacking Attack “Chica Sexy”.

Image]

What appears: The app displays a video and as soon as the user tries to play it, she/he is logged out.

What happens: The video displayed is an image that on clicked adds a script element (download from http://173.231.144.82/fb1.js ), thus, by manipulating the DOM tree of the page, an untrusted javascript gets executed on the page. [As per my limited understanding of FB JS sandbox model, the app should not have been able to manipulate the DOM tree but the app is able to escape the fbjs by having a “javascript:” pseudo URL as a href for the anchor tag. I do not know the internals of fbjs, so I won’t comment on this manipulation further]

What this app does

  1. Likes the link https://cotyperfume.info/aprilprank/ [as of this writing ~60,000 users have liked this link)
  2. Logs the user out of Facebook.
  3. Displays a phishing page[ screenshot here] which sends the user’s email address and password to http://173.231.144.82/log.php

EDIT 1: The app info page (with the name of the developer) is here EDIT 2: The obfuscated javascript contains an email address rasheedamaule548@yahoo.com

EDIT 3: The code verifies that the entered username and password are correct and shows this YouTube video otherwise, an error message is shown prompting the user to re-enter the login and password. This one is a cool trick, isn’t it :)

EDIT 4: The app was “liked” by at least 120, 000 users before being removed by Facebook.

EDIT 5: Based on this news article, I guess that allowing javascript: handlers to do script inclusion from untrusted domains was the cause of this.

This is my personal blog. The views expressed on these pages are mine alone and not those of my employer.