CAPEC-464: Evercookie

Standard Draft 严重程度: Medium

CAPEC版本: 3.9

更新日期: 2023-01-24

攻击模式描述

An attacker creates a very persistent cookie that stays present even after the user thinks it has been removed. The cookie is stored on the victim's machine in over ten places. When the victim clears the cookie cache via traditional means inside the browser, that operation removes the cookie from certain places but not others. The malicious code then replicates the cookie from all of the places where it was not deleted to all of the possible storage locations once again. So the victim again has the cookie in all of the original storage locations. In other words, failure to delete the cookie in even one location will result in the cookie's resurrection everywhere. The evercookie will also persist across different browsers because certain stores (e.g., Local Shared Objects) are shared between different browsers.

前提条件

  • The victim's browser is not configured to reject all cookiesThe victim visits a website that serves the attackers' evercookie

所需资源

  • Evercookie source code

缓解措施

Design: Browser's design needs to be changed to limit where cookies can be stored on the client side and provide an option to clear these cookies in all places, as well as another option to stop these cookies from being written in the first place.

Design: Safari browser's private browsing mode is currently effective against evercookies.

分类映射

分类名称 条目ID 条目名称
ATTACK 1606.001 Forge Web Credentials: Web Cookies
关键信息

CAPEC ID: CAPEC-464

抽象级别: Standard

状态: Draft

典型严重程度: Medium

相关攻击模式
相关CWE弱点