跳到主要导航 跳到搜索 跳到主要内容

Gopher: High-Precision and Deep-Dive Detection of Cryptographic API Misuse in the Go Ecosystem

  • Beihang University
  • University of Science and Technology of China
  • Beijing University of Posts and Telecommunications
  • CAS - Institute of Information Engineering

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

The complexity of cryptographic APIs and developers’ expertise gaps often leads to their improper use, seriously threatening information security. Existing cryptographic API misuse detection tools that rely on black/white-list methods require experts to manually establish detection rules. They struggle to dynamically update rules and scale to cover numerous unofficial cryptographic libraries. Furthermore, as these tools are primarily aimed at non-Go languages, they have limited applicability and accuracy in the Go ecosystem, which is extensively used for security-centric applications. To mitigate these challenges, we present Gopher, a novel cryptographic misuse detection framework, that excels in encapsulated API and cross-library detection. In this framework, we have designed CryDict to convert rules into unified and standardized constraints, capable of deriving new usage rules and elucidating implicit knowledge during scanning. Gopher leverages CryDict to create a logical separation between rule formulation and Detector detection, enabling dynamic updating of constraints and enhancing detection capabilities. This significantly improves the Gopher’s compatibility and scalability. Utilizing Gopher, we have conducted an extensive analysis of the Go ecosystem, examining 19,313 Go projects. In our rigorous testing, Gopher demonstrated a remarkable 98.9% accuracy rate and identified 64.1% of previously undetected misuses. This scrutiny has surfaced numerous hidden security vulnerabilities, and highlighted misuse tendencies across diverse project categories.

源语言英语
主期刊名CCS 2024 - Proceedings of the 2024 ACM SIGSAC Conference on Computer and Communications Security
出版商Association for Computing Machinery, Inc
2978-2992
页数15
ISBN(电子版)9798400706363
DOI
出版状态已出版 - 9 12月 2024
活动31st ACM SIGSAC Conference on Computer and Communications Security, CCS 2024 - Salt Lake City, 美国
期限: 14 10月 202418 10月 2024

出版系列

姓名CCS 2024 - Proceedings of the 2024 ACM SIGSAC Conference on Computer and Communications Security

会议

会议31st ACM SIGSAC Conference on Computer and Communications Security, CCS 2024
国家/地区美国
Salt Lake City
时期14/10/2418/10/24

指纹

探究 'Gopher: High-Precision and Deep-Dive Detection of Cryptographic API Misuse in the Go Ecosystem' 的科研主题。它们共同构成独一无二的指纹。

引用此