arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.05945cs.CR
收藏

探索恶意软件开发者编码习惯与认知风格之间的联系

Exploring the connection between coding habits and cognitive styles in malware developers

University of Piraeus(比雷埃夫斯大学);Athena Research Centre(雅典研究中心);Universitat Rovira i Virgili(罗维拉-依维尔吉大学)

Vasilis Vouvoutsis, Constantinos Patsakis, Fran Casino

AI总结:

通过分析泄露的恶意软件源码与良性开源软件,应用静态安全测试和软件度量,基于认知心理学和犯罪学理论,揭示恶意软件开发者在代码结构、质量、漏洞模式上的独特行为特征,表明其开发风格优先考虑便捷性、操作保密性和规避性而非长期可维护性。

摘要:

恶意软件研究主要关注结果、方法和影响。即使从进攻性安全的角度来看,所考察的是方法,而非攻击者的开发策略。本研究调查了恶意软件源码中嵌入的行为特征和编码模式。通过分析大量泄露的恶意软件代码,并与精心挑选的良性开源软件进行比较,我们应用静态应用安全测试并计算多个软件度量。基于认知心理学和犯罪学理论,我们的工作将代码结构和质量的差异解释为行为指标,反映了恶意软件作者与良性软件开发者在动机结构、风险容忍度和开发策略上的不同。我们的发现表明,恶意软件代码通常更小、文档更少,每个函数的圈复杂度更高,并且较少使用类和闭包等抽象机制。漏洞分析进一步揭示,恶意软件表现出更多良性代码通常避免的问题类型,表明在安全开发实践上的投入极少。这些模式暗示了一种开发风格,优先考虑便捷性、操作保密性和规避性,而非长期可维护性。尽管如此,代码质量指标表明,它并未显著偏离良性软件到足以区分的地步。通过将代码度量作为行为信号和策略选择的代理,我们展示了定量软件分析如何丰富行为网络安全研究,为恶意软件开发者的实践和优先级提供新见解。我们的结果为网络犯罪者行为画像的进一步研究铺平了道路。

英文摘要:

Malware research primarily studies the results, the methods, and the impact. Even from an offensive security perspective, what is examined is the method, not the development strategy of the offender. This study investigates the behavioral signatures and coding patterns embedded in the malware source code. By analyzing a large corpus of leaked malware code and comparing it with carefully selected benign open-source software, we apply static application security testing and compute multiple software metrics. Based on cognitive psychology and criminological theories, our work interprets differences in code structure and quality as behavioral indicators, reflecting distinct motivational structures, risk tolerances, and development strategies of malware authors compared to benign software developers. Our findings reveal that malware code is generally smaller, less documented, and exhibits higher cyclomatic complexity per function, with reduced use of abstraction mechanisms such as classes and closures. Vulnerability analysis further reveals that malware exhibits more issues of the types that benign code typically avoids, suggesting a minimal investment in secure development practices. These patterns imply a development style optimized for expedience, operational secrecy, and evasion rather than long-term maintainability. Nonetheless, the code quality metrics indicate that it does not deviate significantly from benign software enough to be distinctive. By framing code metrics as proxies for behavioral signals and strategic choices, we demonstrate how quantitative software analysis can enrich behavioral cybersecurity research, offering new insights into the practices and priorities of malware developers. Our results pave the way for further research in the behavioral profiling of cyber offenders.

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

↑