Pop Quiz! Can a Large Language Model Help With Reverse Engineering?. Pearce, H., Tan, B., Krishnamurthy, P., Khorrami, F., Karri, R., & Dolan-Gavitt, B. February, 2022. Number: arXiv:2202.01142 arXiv:2202.01142 [cs]
Paper abstract bibtex Large language models (such as OpenAI's Codex) have demonstrated impressive zero-shot multi-task capabilities in the software domain, including code explanation. In this work, we examine if this ability can be used to help with reverse engineering. Specifically, we investigate prompting Codex to identify the purpose, capabilities, and important variable names or values from code, even when the code is produced through decompilation. Alongside an examination of the model's responses in answering open-ended questions, we devise a true/false quiz framework to characterize the performance of the language model. We present an extensive quantitative analysis of the measured performance of the language model on a set of program purpose identification and information extraction tasks: of the 136,260 questions we posed, it answered 72,754 correctly. A key takeaway is that while promising, LLMs are not yet ready for zero-shot reverse engineering.
@misc{pearce_pop_2022,
title = {Pop {Quiz}! {Can} a {Large} {Language} {Model} {Help} {With} {Reverse} {Engineering}?},
url = {http://arxiv.org/abs/2202.01142},
abstract = {Large language models (such as OpenAI's Codex) have demonstrated impressive zero-shot multi-task capabilities in the software domain, including code explanation. In this work, we examine if this ability can be used to help with reverse engineering. Specifically, we investigate prompting Codex to identify the purpose, capabilities, and important variable names or values from code, even when the code is produced through decompilation. Alongside an examination of the model's responses in answering open-ended questions, we devise a true/false quiz framework to characterize the performance of the language model. We present an extensive quantitative analysis of the measured performance of the language model on a set of program purpose identification and information extraction tasks: of the 136,260 questions we posed, it answered 72,754 correctly. A key takeaway is that while promising, LLMs are not yet ready for zero-shot reverse engineering.},
urldate = {2022-06-04},
publisher = {arXiv},
author = {Pearce, Hammond and Tan, Benjamin and Krishnamurthy, Prashanth and Khorrami, Farshad and Karri, Ramesh and Dolan-Gavitt, Brendan},
month = feb,
year = {2022},
note = {Number: arXiv:2202.01142
arXiv:2202.01142 [cs]},
keywords = {\#broken, Computer Science - Cryptography and Security, Computer Science - Machine Learning, Computer Science - Software Engineering, Jab/\#Pre},
}
Downloads: 0
{"_id":"gdBxyRZNGRm9Jcn3f","bibbaseid":"pearce-tan-krishnamurthy-khorrami-karri-dolangavitt-popquizcanalargelanguagemodelhelpwithreverseengineering-2022","author_short":["Pearce, H.","Tan, B.","Krishnamurthy, P.","Khorrami, F.","Karri, R.","Dolan-Gavitt, B."],"bibdata":{"bibtype":"misc","type":"misc","title":"Pop Quiz! Can a Large Language Model Help With Reverse Engineering?","url":"http://arxiv.org/abs/2202.01142","abstract":"Large language models (such as OpenAI's Codex) have demonstrated impressive zero-shot multi-task capabilities in the software domain, including code explanation. In this work, we examine if this ability can be used to help with reverse engineering. Specifically, we investigate prompting Codex to identify the purpose, capabilities, and important variable names or values from code, even when the code is produced through decompilation. Alongside an examination of the model's responses in answering open-ended questions, we devise a true/false quiz framework to characterize the performance of the language model. We present an extensive quantitative analysis of the measured performance of the language model on a set of program purpose identification and information extraction tasks: of the 136,260 questions we posed, it answered 72,754 correctly. A key takeaway is that while promising, LLMs are not yet ready for zero-shot reverse engineering.","urldate":"2022-06-04","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Pearce"],"firstnames":["Hammond"],"suffixes":[]},{"propositions":[],"lastnames":["Tan"],"firstnames":["Benjamin"],"suffixes":[]},{"propositions":[],"lastnames":["Krishnamurthy"],"firstnames":["Prashanth"],"suffixes":[]},{"propositions":[],"lastnames":["Khorrami"],"firstnames":["Farshad"],"suffixes":[]},{"propositions":[],"lastnames":["Karri"],"firstnames":["Ramesh"],"suffixes":[]},{"propositions":[],"lastnames":["Dolan-Gavitt"],"firstnames":["Brendan"],"suffixes":[]}],"month":"February","year":"2022","note":"Number: arXiv:2202.01142 arXiv:2202.01142 [cs]","keywords":"#broken, Computer Science - Cryptography and Security, Computer Science - Machine Learning, Computer Science - Software Engineering, Jab/#Pre","bibtex":"@misc{pearce_pop_2022,\n\ttitle = {Pop {Quiz}! {Can} a {Large} {Language} {Model} {Help} {With} {Reverse} {Engineering}?},\n\turl = {http://arxiv.org/abs/2202.01142},\n\tabstract = {Large language models (such as OpenAI's Codex) have demonstrated impressive zero-shot multi-task capabilities in the software domain, including code explanation. In this work, we examine if this ability can be used to help with reverse engineering. Specifically, we investigate prompting Codex to identify the purpose, capabilities, and important variable names or values from code, even when the code is produced through decompilation. Alongside an examination of the model's responses in answering open-ended questions, we devise a true/false quiz framework to characterize the performance of the language model. We present an extensive quantitative analysis of the measured performance of the language model on a set of program purpose identification and information extraction tasks: of the 136,260 questions we posed, it answered 72,754 correctly. A key takeaway is that while promising, LLMs are not yet ready for zero-shot reverse engineering.},\n\turldate = {2022-06-04},\n\tpublisher = {arXiv},\n\tauthor = {Pearce, Hammond and Tan, Benjamin and Krishnamurthy, Prashanth and Khorrami, Farshad and Karri, Ramesh and Dolan-Gavitt, Brendan},\n\tmonth = feb,\n\tyear = {2022},\n\tnote = {Number: arXiv:2202.01142\narXiv:2202.01142 [cs]},\n\tkeywords = {\\#broken, Computer Science - Cryptography and Security, Computer Science - Machine Learning, Computer Science - Software Engineering, Jab/\\#Pre},\n}\n\n","author_short":["Pearce, H.","Tan, B.","Krishnamurthy, P.","Khorrami, F.","Karri, R.","Dolan-Gavitt, B."],"key":"pearce_pop_2022","id":"pearce_pop_2022","bibbaseid":"pearce-tan-krishnamurthy-khorrami-karri-dolangavitt-popquizcanalargelanguagemodelhelpwithreverseengineering-2022","role":"author","urls":{"Paper":"http://arxiv.org/abs/2202.01142"},"keyword":["#broken","Computer Science - Cryptography and Security","Computer Science - Machine Learning","Computer Science - Software Engineering","Jab/#Pre"],"metadata":{"authorlinks":{}}},"bibtype":"misc","biburl":"https://api.zotero.org/users/4645877/collections/5QADJUWI/items?key=OGCZ3uLZZq4lLIXadnuJrB1J&format=bibtex&limit=100","dataSources":["Wsv2bQ4jPuc7qme8R","TRtmubHSqHw6999cH"],"keywords":["#broken","computer science - cryptography and security","computer science - machine learning","computer science - software engineering","jab/#pre"],"search_terms":["pop","quiz","large","language","model","help","reverse","engineering","pearce","tan","krishnamurthy","khorrami","karri","dolan-gavitt"],"title":"Pop Quiz! Can a Large Language Model Help With Reverse Engineering?","year":2022}