Proceedings 2019 Workshop on Binary Analysis Research最新文献

筛选
英文 中文
B2R2: Building an Efficient Front-End for Binary Analysis B2R2:构建一个高效的二进制分析前端
Proceedings 2019 Workshop on Binary Analysis Research Pub Date : 1900-01-01 DOI: 10.14722/BAR.2019.23051
Minkyu Jung, Soomin Kim, HyungSeok Han, Jaeseung Choi, S. Cha
{"title":"B2R2: Building an Efficient Front-End for Binary Analysis","authors":"Minkyu Jung, Soomin Kim, HyungSeok Han, Jaeseung Choi, S. Cha","doi":"10.14722/BAR.2019.23051","DOIUrl":"https://doi.org/10.14722/BAR.2019.23051","url":null,"abstract":"Current binary analysis research focuses mainly on the back-end, but not on the front-end. However, we note that there are several key design points in the front-end that can greatly improve the efficiency of binary analyses. To demonstrate our idea, we design and implement B2R2, a new binary analysis platform that is fast with regard to lifting binary code and evaluating the corresponding IR. Our platform is written purely in F#, a functional programming language, without any external dependencies. Thus, it naturally supports pure parallelism. B2R2’s IR embeds metadata in its language for speeding up dataflow analyses, and it is designed to be efficient for evaluation. Therefore, any binary analysis technique can benefit from our IR design. We discuss our design decisions to build an efficient binary analysis front-end, and summarize lessons learned. We also make our source code public on GitHub.","PeriodicalId":223049,"journal":{"name":"Proceedings 2019 Workshop on Binary Analysis Research","volume":"27 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130452522","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 20
Rapid Vulnerability Mitigation with Security Workarounds 带有安全解决方案的快速漏洞缓解
Proceedings 2019 Workshop on Binary Analysis Research Pub Date : 1900-01-01 DOI: 10.14722/BAR.2019.23052
Zhen Huang, Gang Tan
{"title":"Rapid Vulnerability Mitigation with Security Workarounds","authors":"Zhen Huang, Gang Tan","doi":"10.14722/BAR.2019.23052","DOIUrl":"https://doi.org/10.14722/BAR.2019.23052","url":null,"abstract":"The existence of pre-patch windows allows adversaries to exploit vulnerabilities before they are patched. Prior work has proposed to harden programs with security workarounds to enable users to mitigate vulnerabilities before a patch is available. However, it requires access to the source code of the programs. This paper introduces RVM, an approach to automatically hardening binary code with security workarounds. RVM statically analyzes binary code of programs to identify error-handling code in the programs, in order to synthesize security workarounds. We designed and implemented a prototype of RVM for Windows and Linux binaries. We evaluate the coverage and performance of RVM on binaries of popular Windows and Linux applications containing real-world vulnerabilities.","PeriodicalId":223049,"journal":{"name":"Proceedings 2019 Workshop on Binary Analysis Research","volume":"50 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131333047","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 7
Enhancing Symbolic Execution by Machine Learning Based Solver Selection 基于机器学习的求解器选择增强符号执行
Proceedings 2019 Workshop on Binary Analysis Research Pub Date : 1900-01-01 DOI: 10.14722/BAR.2019.23080
Sheng-Han Wen, Wei-Loon Mow, Wei-Ning Chen, Chien-Yuan Wang, H. Hsiao
{"title":"Enhancing Symbolic Execution by Machine Learning Based Solver Selection","authors":"Sheng-Han Wen, Wei-Loon Mow, Wei-Ning Chen, Chien-Yuan Wang, H. Hsiao","doi":"10.14722/BAR.2019.23080","DOIUrl":"https://doi.org/10.14722/BAR.2019.23080","url":null,"abstract":"—Constraint solving creates a serious performance bottleneck in symbolic execution. Examining a plethora of SMT solvers with diverse capabilities, we address the following research questions: How can the performance of symbolic execution improve if it can pick a priori the best solver for a given path constraint? How can such a prediction oracle be practically implemented? In this work, we first define the solver selection problem in symbolic execution and its evaluation metrics, and perform a preliminary study to gauge potential performance improvement through solver selection. We then present the design and implementation of Path Constraint Classifier ( PCC ), a machine learning based meta-solver that aims to reduce overall constraint solving latency by dynamically selecting a solver per query. The use of using machine learning seems straightforward, yet surprisingly underexplored; one main technical challenge is how to avoid excessive overhead introduced by feature extraction. We address this challenge by taking advantage of the structural characteristics of symbolic execution. Our experiments confirm that the overall solver time can be reduced by 10.3% in the KLEE dataset and 46% in the benchmark dataset, while the solver prediction procedure only accounts for 2% to 10% of overall solving time.","PeriodicalId":223049,"journal":{"name":"Proceedings 2019 Workshop on Binary Analysis Research","volume":"43 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129774586","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 7
Towards Automatically Generating a Sound and Complete Dataset for Evaluating Static Analysis Tools 为评估静态分析工具自动生成健全和完整的数据集
Proceedings 2019 Workshop on Binary Analysis Research Pub Date : 1900-01-01 DOI: 10.14722/BAR.2019.23090
Aravind Machiry, Nilo Redini, Eric Gustafson, H. Aghakhani, C. Kruegel, G. Vigna
{"title":"Towards Automatically Generating a Sound and Complete Dataset for Evaluating Static Analysis Tools","authors":"Aravind Machiry, Nilo Redini, Eric Gustafson, H. Aghakhani, C. Kruegel, G. Vigna","doi":"10.14722/BAR.2019.23090","DOIUrl":"https://doi.org/10.14722/BAR.2019.23090","url":null,"abstract":"Binary static analysis has seen a recent surge in interest, due to a rise in analysis targets for which no other method is appropriate, such as, embedded firmware. This has led to the proposal of a number of binary static analysis tools and techniques, handling various kinds of programs, and answering different research questions. While static analyis tools that focus on binaries inherit the undecidability of static analysis, they bring with them other challenges, particularly in dealing with the aliasing of code and data pointers. These tools may tackle these challenges in different ways, but unfortunately, there is currently no concrete means of comparing their effectiveness at solving these central, problem-independent aspects of static analysis. In this paper, we propose a new method for creating a dataset of real-world programs, paired with the ground truth for static analysis. Our approach involves the injection of synthetic “facts” into a set of open-source programs, consisting of new variables and their possible values. The analyses’ goal is then to evaluate the possible values of these facts at certain program points. As the facts are injected randomly within an arbitrarily-large set of programs, the kinds of data flows that can be measured are widely-varied in size and complexity. We implemented this idea as a prototype system, AUTOFACTS, and used it to create a ground truth dataset of 29 programs, with various types and number of facts, resulting in a total of 2,088 binaries (with 72 versions for each program). To our knowledge, this is the first dataset aimed at the problem-independent evaluation of static analysis tools, and we contribute all code and the dataset itself to the community as open-source.","PeriodicalId":223049,"journal":{"name":"Proceedings 2019 Workshop on Binary Analysis Research","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116612259","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Performance, Correctness, Exceptions: Pick Three 性能、正确性、异常:选三个
Proceedings 2019 Workshop on Binary Analysis Research Pub Date : 1900-01-01 DOI: 10.14722/BAR.2019.23093
Andrea Gussoni, A. Federico, Pietro Fezzardi, G. Agosta
{"title":"Performance, Correctness, Exceptions: Pick Three","authors":"Andrea Gussoni, A. Federico, Pietro Fezzardi, G. Agosta","doi":"10.14722/BAR.2019.23093","DOIUrl":"https://doi.org/10.14722/BAR.2019.23093","url":null,"abstract":"","PeriodicalId":223049,"journal":{"name":"Proceedings 2019 Workshop on Binary Analysis Research","volume":"546 ","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"120876456","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Investigating Graph Embedding Neural Networks with Unsupervised Features Extraction for Binary Analysis 基于无监督特征提取的图嵌入神经网络二值分析研究
Proceedings 2019 Workshop on Binary Analysis Research Pub Date : 1900-01-01 DOI: 10.14722/BAR.2019.23020
Luca Massarelli, Giuseppe Antonio Di Luna, Fabio Petroni, Leonardo Querzoni, R. Baldoni
{"title":"Investigating Graph Embedding Neural Networks with Unsupervised Features Extraction for Binary Analysis","authors":"Luca Massarelli, Giuseppe Antonio Di Luna, Fabio Petroni, Leonardo Querzoni, R. Baldoni","doi":"10.14722/BAR.2019.23020","DOIUrl":"https://doi.org/10.14722/BAR.2019.23020","url":null,"abstract":"In this paper we investigate the use of graph embedding networks, with unsupervised features learning, as neural architecture to learn over binary functions. We propose several ways of automatically extract features from the control flow graph (CFG) and we use the structure2vec graph embedding techniques to translate a CFG to a vectors of real numbers. We train and test our proposed architectures on two different binary analysis tasks: binary similarity, and, compiler provenance. We show that the unsupervised extraction of features improves the accuracy on the above tasks, when compared with embedding vectors obtained from a CFG annotated with manually engineered features (i.e., ACFG proposed in [39]). We additionally compare the results of graph embedding networks based techniques with a recent architecture that do not make use of the structural information given by the CFG, and we observe similar performances. We formulate a possible explanation of this phenomenon and we conclude identifying important open challenges.","PeriodicalId":223049,"journal":{"name":"Proceedings 2019 Workshop on Binary Analysis Research","volume":"19 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125106791","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 54
Binary Mutation Analysis of Tests Using Reassembleable Disassembly 可重组拆解测试的二元突变分析
Proceedings 2019 Workshop on Binary Analysis Research Pub Date : 1900-01-01 DOI: 10.14722/BAR.2019.23058
Navid Emamdoost, Vaibhav Sharma, Taejoon Byun, Stephen McCamant
{"title":"Binary Mutation Analysis of Tests Using Reassembleable Disassembly","authors":"Navid Emamdoost, Vaibhav Sharma, Taejoon Byun, Stephen McCamant","doi":"10.14722/BAR.2019.23058","DOIUrl":"https://doi.org/10.14722/BAR.2019.23058","url":null,"abstract":"—Good tests are important in software development, but it can be hard to tell whether tests will reveal future faults that are themselves unknown. Mutation analysis, which checks whether tests reveal inserted changes in a program, is a strong measure of test suite adequacy, but common source- or compiler- level approaches to mutation testing are not applicable to software available only in binary form. We explore mutation analysis as an application of the reassembleable disassembly approach to binary rewriting, building a tool for x86 binaries on top of the previously-developed Uroboros system, and apply it to the C benchmarks from SPEC CPU 2006 and to five examples of embedded control software. The results demonstrate that our approach works effectively across these software domains: as expected, tests designed for performance benchmarking reveal fewer mutants than tests generated to achieve high code coverage, but mutation scores indicate differences in test origins and features such as code size and fault-tolerance. Our binary-level tool also achieves comparable results to source-level mutation analysis despite supporting a more limited set of mutation operators. More generally we also argue that our experience shows how reassembleable disassembly is a valuable approach for constructing novel binary rewriting tools.","PeriodicalId":223049,"journal":{"name":"Proceedings 2019 Workshop on Binary Analysis Research","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114153039","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
CLIK on PLCs! Attacking Control Logic with Decompilation and Virtual PLC 点击plc !用反编译和虚拟PLC攻击控制逻辑
Proceedings 2019 Workshop on Binary Analysis Research Pub Date : 1900-01-01 DOI: 10.14722/BAR.2019.23074
Sushma Kalle, Nehal Ameen, Hyunguk Yoo, Irfan Ahmed
{"title":"CLIK on PLCs! Attacking Control Logic with Decompilation and Virtual PLC","authors":"Sushma Kalle, Nehal Ameen, Hyunguk Yoo, Irfan Ahmed","doi":"10.14722/BAR.2019.23074","DOIUrl":"https://doi.org/10.14722/BAR.2019.23074","url":null,"abstract":"This paper presents CLIK, a new remote attack on the control logic of a programmable logic controller (PLC) in industrial control systems. The control logic defines how a PLC controls a physical process such as a nuclear plant. A full control logic attack faces two critical challenges: 1) infecting the control logic in a PLC at a field site and, 2) hiding the infection from engineering software at a control center since the software can obtain the infected logic from the PLC and reveal it to a control engineer. The existing academic efforts only (partially) address the former. CLIK is a first practical control-logic attack that deals with both challenges successfully. It modifies the control logic running in a remote target PLC automatically to disrupt a physical process. CLIK also employs a new virtual PLC approach that hides the malicious modifications by engaging the engineering software with a captured network traffic of the original (uninfected) control logic. It is fully implemented on real hardware/software used in industrial settings and is made publicly available for academic research on control logic attacks. CLIK consists of four phases and takes less than a minute to complete an attack cycle. As part of the implementation, we found a critical (zero-day) vulnerability in the password authentication mechanism of a target PLC, which allows the attacker to overwrite password hash in the PLC during the authentication process and gain access to the (protected) control logic. We have disclosed the vulnerability responsibly to the PLC vendor who has already patched the vulnerability.","PeriodicalId":223049,"journal":{"name":"Proceedings 2019 Workshop on Binary Analysis Research","volume":"7 3","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131717700","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 53
Symbolic Path Tracing to Find Android Permission-Use Triggers 符号路径跟踪查找Android权限使用触发器
Proceedings 2019 Workshop on Binary Analysis Research Pub Date : 1900-01-01 DOI: 10.14722/bar.2019.23083
Kristopher K. Micinski, Thomas Gilray, Daniel Votipka, Michelle L. Mazurek, J. Foster
{"title":"Symbolic Path Tracing to Find Android Permission-Use Triggers","authors":"Kristopher K. Micinski, Thomas Gilray, Daniel Votipka, Michelle L. Mazurek, J. Foster","doi":"10.14722/bar.2019.23083","DOIUrl":"https://doi.org/10.14722/bar.2019.23083","url":null,"abstract":"Understanding whether Android apps are safe requires, among other things, knowing what dynamically triggers an app to use its permissions, and under what conditions. For example, an app might access contacts after a button click, but only if a certain setting is enabled. Automatically inferring such conditional trigger information is difficult because Android is callback-oriented and reasoning about conditions requires analysis of program paths. To address these issues, we introduce Hogarth, an Android app analysis tool that constructs trigger diagrams, which show, post hoc, what sequence of callbacks, under what conditions, led to a permission use observed at run time. Hogarth works by instrumenting apps to produce a trace of relevant events. Then, given a trace, it performs symbolic path tracing—symbolic execution restricted to path segments from that trace—to infer path conditions at key program locations, and path splicing to combine the per-segment information into a trigger diagram. We validated Hogarth by showing its results match those of a manual reverse-engineering effort on five small apps. Then, in a case study, we applied Hogarth to 12 top apps from Google Play. We found that Hogarth provided more precise information about triggers than prior related work, and was able successfully generate a trigger diagram for all but one permission use in our case study. Hogarth’s performance was generally good, taking at most a few minutes on most of our subject apps. In sum, Hogarth provides a new approach to discovering conditional trigger information for permission uses on Android.","PeriodicalId":223049,"journal":{"name":"Proceedings 2019 Workshop on Binary Analysis Research","volume":"43 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133466897","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书