HDNA:一种基于图的HTML页面变化检测方法(污损攻击检测)
HDNA: A graph-based change detection in HTML pages(Deface Attack Detection)
AI总结:
本文提出HDNA方法,通过为HTML页面分配结构标识符、计算DOM树差异并赋予节点权重,可有效检测含动态内容的页面变化,助力Web开发测试与安全防护。
摘要:
本文提出了一种名为HDNA(HTML DNA)的新方法,用于分析和比较文档对象模型(Document Object Model,DOM)树,以检测HTML页面的差异。该方法根据每个HTML页面的结构为其分配一个标识符,这一特性在检测由服务器端更新、用户交互或潜在安全风险导致的页面变化时尤为实用。\n该方法的流程包括对HTML内容进行预处理、生成DOM树,以及计算两棵或多棵DOM树之间的差异。通过为节点分配权重,可获得关于节点层级重要性的有价值信息。实验证明,即使涉及动态生成的内容,HDNA方法也能有效识别DOM树中的变化。\n该方法不仅能帮助Web开发者、测试人员和安全分析师更深入地理解网页的演变过程,还有助于保障Web应用的功能和性能。此外,它还能够检测并响应DOM结构修改可能引发的漏洞。随着Web生态系统持续演进,HDNA将成为Web开发、测试或安全分析相关从业者的实用工具。
英文摘要:
In this paper, a new approach called HDNA (HTML DNA) is introduced for analyzing and comparing Document Object Model (DOM) trees in order to detect differences in HTML pages. This method assigns an identifier to each HTML page based on its structure, which proves to be particularly useful for detecting variations caused by server-side updates, user interactions or potential security risks. The process involves preprocessing the HTML content generating a DOM tree and calculating the disparities between two or more trees. By assigning weights to the nodes valuable insights about their hierarchical importance are obtained. The effectiveness of the HDNA approach has been demonstrated in identifying changes in DOM trees even when dynamically generated content is involved. Not does this method benefit web developers, testers, and security analysts by offering a deeper understanding of how web pages evolve. It also helps ensure the functionality and performance of web applications. Additionally, it enables detection and response to vulnerabilities that may arise from modifications in DOM structures. As the web ecosystem continues to evolve HDNA proves to be a tool, for individuals engaged in web development, testing, or security analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。