Searching Open-Source Vulnerability Function Based on Software Modularization
Source abstract
Abstract
Vulnerable open-source component reuse can lead to security problems. At present, open-source component detection for binary programs can only reveal whether open-source components with vulnerabilities are reused, which cannot determine the specific location of vulnerabilities. To address this problem, we propose BMVul, an open-source vulnerability function detection based on the software modularization method, which is oriented to binary programs. BMVul performs binary modularization by the overlapping clustering method DBM based on directed graph, then uses feature comparison technology to carry out modular software component analysis. After creating open-source component vulnerability function set through function signature, BMVul detects vulnerability function in the binary modules reusing open-source components. The experimental results show that compared with the component detection based on Louvain modularization and B2SFinder, BMVul improves the precision by 3.16% and 59.57%, respectively. Moreover, the precision of unique binary module matching is improved by 39.43% compared with the Louvain method. The F1 score is improved by 8.45% compared to B2SFinder. Module-level detection narrows the search space of vulnerability functions, thereby reducing the workload of open-source vulnerability detection, which is of great significance for software security analysis.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Software Engineering Research · Advanced Malware Detection Techniques · Software Reliability and Analysis Research
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou 450001, China
Funding
the Foundation Strengthening Key Project of the Science & Technology Commission
References (36)
Show source-provided references
1. Ruian, D., Ashish, B., Meng, X., Taesoo, K., and Wenke, L. (November, January 30). Identifying open-source license violation and 1-day 421 security risk at large scale. Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, CCS’17, Dallas, TX, USA.10.1145/3133956.3134048 ↗
2. Yuan, Z., Xu, J., Piao, A., Xue, J., Huo, W., Feng, M., Li, F., Ban, G., Xiao, Y., and Wang, S. (2019, January 11–15). B2SFinder: Detecting open-source software reuse in COTS software. Proceedings of the 2019 34th IEEE/ACM International Conference on Automated Software Engineering, San Diego, CA, USA.10.1109/ASE.2019.00100 ↗
3. B2SMatcher: Fine-Grained version identification of open-Source software in binary files10.1186/s42400-021-00085-7 ↗
4. Hemel, A., Kalleberg, K.T., Vermaas, R., and Dolstra, E. (2011, January 21–22). BAT Finding software license violations through binary code clone detection. Proceedings of the 33rd International Conference on Software Engineering, Honolulu, HI, USA.10.1145/1985441.1985453 ↗
5. (2022, November 24). Heartbleed. Available online: https://en.wikipedia.org/wiki/Heartbleed.
6. OpenSSL (2022, November 24). Version 1.0.1, OpenSSL Technical Committee, Canada. Available online: https://www.openssl.org/.
7. Libreoffice (2022, November 24). Version 4.2.0, The Document Foundation, Germany. Available online: https://www.libreoffice.org/.
8. VMware (2022, November 24). Version 10.0, VMware, Palo Alto, America. Available online: https://www.vmware.com/.
9. VULDEFF: Vulnerability detection method based on function fingerprints and code differences
10. Bowman, B., and Huang, H.H. (2020, January 7–11). VGRAPH: A Robust Vulnerable Code Clone Detection System Using Code Property Triplets. Proceedings of the 2020 IEEE European Symposium on Security and Privacy, Genoa, Italy.10.1109/EuroSP48549.2020.00012 ↗
11. Ding, Y., Suneja, S., Zheng, Y., Laredo, J., Morari, A., Kaiser, G., and Ray, B. (2022, January 15–18). VELVET: A noVel Ensemble Learning approach to automatically locate VulnErable sTatements. Proceedings of the 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering, Honolulu, HI, USA.10.1109/SANER53432.2022.00114 ↗
12. Bgnn4vd: Constructing bidirectional graph neural-network for vulnerability detection. Information and Software Technology
13. Zhang, H., and Qian, Z. (2018, January 15–17). Precise and accurate patch presence test for binaries. Proceedings of the 27th USENIX Security Symposium, Baltimore, MD, USA.
14. Duan, R., Bijlani, A., Ji, Y., Alrawi, O., Xiong, Y., Ike, M., Saltaformaggio, B., and Lee, W. (2019, January 24–27). Automating Patching of Vulnerable Open-Source Software Versions in Application Binaries. Proceedings of the 28th USENIX Security Symposium, San Diego, CA, USA.10.14722/ndss.2019.23126 ↗
15. Lancichinetti, A., Radicchi, F., Ramasco, J.J., and Fortunato, S. (2011). Finding statistically significant communities in networks. PLoS ONE, 6.10.1371/journal.pone.0018961 ↗
16. Xu, X., Zheng, Q., Yan, Z., Fan, M., Jia, A., and Liu, T. (2021, January 22–30). Interpretation-enabled software reuse detection based on a multi-level birthmark model. Proceedings of the 2021 43rd IEEE/ACM International Conference on Software Engineering, ICSE’21, Madrid, Spain.10.1109/ICSE43902.2021.00084 ↗
17. Yang, C., Xu, Z., Chen, H., Liu, Y., Gong, X., and Liu, B. (2022, January 25–27). ModX: Binary Level Partially Imported Third-Party Library Detection via Program Modularization and Semantic Matching. Proceedings of the 2022 IEEE/ACM 44th International Conference on Software Engineering (ICSE), Pittsburgh, PA, USA.10.1145/3510003.3510627 ↗
18. Fast unfolding of communities in large networks10.1088/1742-5468/2008/10/P10008 ↗
19. A new algorithm for software clustering considering the knowledge of dependency between artifacts in the source code10.1016/j.infsof.2018.09.001 ↗
20. Zamli, K.Z., Din, F., Ramli, N., and Ahmed, B.S. (2018, January 10–14). Software Module Clustering Based on the Fuzzy Adaptive Teaching Learning Based Optimization Algorithm. Proceedings of the Intelligent and Interactive Computing, IIC’18, Turin, Italy.
21. Software Module Clustering Algorithm Using Probability Selection10.1007/s11859-018-1299-9 ↗
22. An efficient and stable method to cluster software modules using ant colony optimization algorithm10.1007/s11227-019-03112-0 ↗
23. A novel approach for automatic remodularization of software systems using extended ant colony optimization algorithm10.1016/j.infsof.2019.06.002 ↗
24. Psarras, C., Diamantopoulos, T., and Symeonidis, A. (2019, January 22–26). A Mechanism for Automatically Summarizing Software Functionality from Source Code. Proceedings of the IEEE 19th International Conference on Software Quality, Reliability and Security, QRS’19, Sofia, Bulgaria.10.1109/QRS.2019.00028 ↗
25. Improving reusability of software libraries through usage pattern mining10.1016/j.jss.2018.08.032 ↗
26. Bhoraskar, R., Han, S., Jeon, J., Azim, T., Chen, S., Jung, J., Nath, S., Wang, R., and Wetherall, D. (2014, January 20–22). Brahmastra: Driving Apps to Test the Security of Third-Party Components. Proceedings of the 23rd USENIX Security Symposium, San Diego, CA, USA.
27. Backes, M., Bugiel, S., and Derr, E. (2016, January 24–28). Reliable third-party library detection in android and its security applications. Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, CCS’16, Vienna, Austria.10.1145/2976749.2978333 ↗
28. FOSSIL: A resilient and efficient system for identifying FOSS functions in Malware binaries10.1145/3175492 ↗
29. Karande, V., Caballero, J., Chandra, S., Khan, L., Lin, Z., and Hamlen, K. (2018, January 4–8). BCD: Decomposing binary code into components using graph-based clustering. Proceedings of the 2018 ACM Asia Conference on Computer and Communications Security, ASIA CCS’18, Cheon, Republic of Korea.
30. Fast algorithm for detecting community structure in networks10.1103/PhysRevE.69.066133 ↗
31. Statistical significance of communities in networks10.1103/PhysRevE.81.046110 ↗
32. Modularity and community structure in networks10.1073/pnas.0601602103 ↗
33. Maps of random walks on complex networks reveal community structure10.1073/pnas.0706851105 ↗
34. Finding overlapping communities in networks by label propagation10.1088/1367-2630/12/10/103018 ↗
35. Woo, S., Hong, H., Choi, E., Lee, H., and Symposium, U.S. (2022, January 10–12). Movery: A Precise Approach for Modified Vulnerable Code Clone Discovery from Modified Open-Source Software Components. Proceedings of the 31st USENIX Security Symposium, Boston, MA, USA.
36. (2022, November 18). BinaryAI: The Neural Search Engine for Binaries. Available online: https://binaryai.readthedocs.io/en/latest/.