arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.03733cs.CRcs.CL
收藏

一种利用多头注意力进行漏洞分析的新型 User Agent 字符串解析方法

A Novel Approach To User Agent String Parsing For Vulnerability Analysis Using Mutli-Headed Attention

Deloitte & Touche LLP(德勤华永会计师事务所(特殊普通合伙))

Dhruv Nandakumar, Sathvik Murli, Ankur Khosla, Kevin Choi, Abdul Rahman, Drew Walsh, Scott Riede, Eric Dull, Edward Bowen

AI总结:

本文提出基于多头注意力 Transformer 的 User Agent 字符串解析方法,以克服规则方法在非标准格式上的脆弱性,并支持大规模 IT 网络漏洞评分与企业实时日志解析。

摘要:

对互联网日益增长的依赖导致各类能够浏览网页的 Web 浏览器和操作系统(OS)大量涌现。User Agent 字符串(UAS)是 Web 浏览的组成部分之一,会随每次超文本传输协议(HTTP)请求一同发送。它们包含有关客户端设备和软件的信息,Web 服务器会将这些信息用于内容协商和安全等多种目的。然而,由于各种浏览器和设备的激增,加之 UAS 格式缺乏标准化,解析 UAS 成为一项并不简单的任务。当前基于规则的方法往往较为脆弱,在遇到此类非标准格式时可能失效。本文提出一种使用基于多头注意力的 Transformer 解析 UAS 的新方法。所提方法在解析多种具有不同格式的 UAS 时表现出强劲性能。此外,本文还讨论了一个框架,用于利用解析后的 UAS 估计大部分公开可见 IT 网络或地区的漏洞评分。本文提出的方法还可以方便地扩展或部署,用于企业环境中日志的实时解析。

英文摘要:

The increasing reliance on the internet has led to the proliferation of a diverse set of web-browsers and operating systems (OSs) capable of browsing the web. User agent strings (UASs) are a component of web browsing that are transmitted with every Hypertext Transfer Protocol (HTTP) request. They contain information about the client device and software, which is used by web servers for various purposes such as content negotiation and security. However, due to the proliferation of various browsers and devices, parsing UASs is a non-trivial task due to a lack of standardization of UAS formats. Current rules-based approaches are often brittle and can fail when encountering such non-standard formats. In this work, a novel methodology for parsing UASs using Multi-Headed Attention Based transformers is proposed. The proposed methodology exhibits strong performance in parsing a variety of UASs with differing formats. Furthermore, a framework to utilize parsed UASs to estimate the vulnerability scores for large sections of publicly visible IT networks or regions is also discussed. The methodology present here can also be easily extended or deployed for real-time parsing of logs in enterprise settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑