{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,9]],"date-time":"2026-07-09T16:13:10Z","timestamp":1783613590347,"version":"3.55.0"},"reference-count":40,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2024,10,31]],"date-time":"2024-10-31T00:00:00Z","timestamp":1730332800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"Sponsor Office of Naval Research","award":["#N00014-22-1-2153"],"award-info":[{"award-number":["#N00014-22-1-2153"]}]},{"name":"Sponsor Office of Naval Research","award":["#2039615"],"award-info":[{"award-number":["#2039615"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Cyber-Phys. Syst."],"published-print":{"date-parts":[[2024,10,31]]},"abstract":"<jats:p>Cybersecurity attacks on embedded devices for industrial control systems and cyber-physical systems may cause catastrophic physical damage as well as economic loss. This could be achieved by infecting device binaries with malware that modifies the physical characteristics of the system operation. Mitigating such attacks benefits from reverse engineering tools that recover sufficient semantic knowledge in terms of mathematical equations of the implemented algorithm. Conventional reverse engineering tools can decompile binaries to low-level code, but offer little semantic insight. This article proposes the REMaQE automated framework for reverse engineering of math equations from binary executables. Improving over state-of-the-art, REMaQE handles equation parameters accessed via registers, the stack, global memory, or pointers, and can reverse engineer equations from object-oriented implementations such as C++ classes. Using REMaQE, we discovered a bug in the Linux kernel thermal monitoring tool \u201ctmon.\u201d To evaluate REMaQE, we generate a dataset of 25,096 binaries with math equations implemented in C and Simulink. REMaQE successfully recovers a semantically matching equation for all 25,096 binaries. REMaQE executes in 0.48 seconds on average and in up to 2 seconds for complex equations. Real-time execution enables integration in an interactive math-oriented reverse engineering workflow.<\/jats:p>","DOI":"10.1145\/3699674","type":"journal-article","created":{"date-parts":[[2024,10,8]],"date-time":"2024-10-08T15:45:59Z","timestamp":1728402359000},"page":"1-25","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["REMaQE: Reverse Engineering Math Equations from Executables"],"prefix":"10.1145","volume":"8","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7297-0880","authenticated-orcid":false,"given":"Meet","family":"Udeshi","sequence":"first","affiliation":[{"name":"ECE, NYU Tandon School of Engineering, Brooklyn, NY, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8264-7972","authenticated-orcid":false,"given":"Prashanth","family":"Krishnamurthy","sequence":"additional","affiliation":[{"name":"ECE, NYU Tandon School of Engineering, Brooklyn, NY, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3488-7004","authenticated-orcid":false,"given":"Hammond","family":"Pearce","sequence":"additional","affiliation":[{"name":"School of Computer Science and Engineering, UNSW, Sydney, Australia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7989-5617","authenticated-orcid":false,"given":"Ramesh","family":"Karri","sequence":"additional","affiliation":[{"name":"ECE, NYU Tandon School of Engineering, Brooklyn, NY, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8418-004X","authenticated-orcid":false,"given":"Farshad","family":"Khorrami","sequence":"additional","affiliation":[{"name":"ECE, NYU Tandon School of Engineering, Brooklyn, NY, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2024,11,15]]},"reference":[{"issue":"2","key":"e_1_3_2_2_2","first-page":"7","article-title":"Security, privacy, and safety aspects of civilian drones: A survey","volume":"1","author":"Altawy Riham","year":"2016","unstructured":"Riham Altawy and Amr M. Youssef. 2016. Security, privacy, and safety aspects of civilian drones: A survey. ACM Transactions on Cyber-Physical Systems 1, 2 (Nov. 2016), Article 7, 25 pages.","journal-title":"ACM Transactions on Cyber-Physical Systems"},{"key":"e_1_3_2_3_2","unstructured":"Thiago Alves. 2023. OpenPLC. Retrieved December 20 2023 from https:\/\/autonomylogic.com\/"},{"key":"e_1_3_2_4_2","unstructured":"ArduPilot. 2023. ArduPilot. Retrieved December 20 2023 from https:\/\/ardupilot.org\/"},{"issue":"2","key":"e_1_3_2_5_2","first-page":"20","article-title":"Looking under the hood of Z-Wave: Volatile memory introspection for the ZW0301 Transceiver","volume":"3","author":"Badenhop C. W.","year":"2018","unstructured":"C. W. Badenhop, S. R. Graham, B. E. Mullins, and L. O. Mailloux. 2018. Looking under the hood of Z-Wave: Volatile memory introspection for the ZW0301 Transceiver. ACM Transactions on Cyber-Physical Systems 3, 2 (Dec. 2018), Article 20, 24 pages.","journal-title":"ACM Transactions on Cyber-Physical Systems"},{"issue":"3","key":"e_1_3_2_6_2","first-page":"31","article-title":"From Lustre to Simulink: Reverse Compilation for Embedded Systems Applications","volume":"5","author":"Bourbouh Hamza","year":"2021","unstructured":"Hamza Bourbouh, Pierre-Lo\u00efc Garoche, Christophe Garion, and Xavier Thirioux. 2021. From Lustre to Simulink: Reverse Compilation for Embedded Systems Applications. ACM Transactions on Cyber-Physical Systems 5, 3 (Jul. 2021), Article 31, 20 pages.","journal-title":"ACM Transactions on Cyber-Physical Systems"},{"key":"e_1_3_2_7_2","first-page":"209","volume-title":"Proceedings of the USENIX Conference on Operating Systems Design and Implementation (OSDI)","author":"Cadar Cristian","year":"2008","unstructured":"Cristian Cadar, Daniel Dunbar, and Dawson Engler. 2008. KLEE: Unassisted and automatic generation of high-coverage tests for complex systems programs. In Proceedings of the USENIX Conference on Operating Systems Design and Implementation (OSDI). USENIX Association, 209\u2013224."},{"key":"e_1_3_2_8_2","first-page":"380","volume-title":"IEEE Symposium on Security and Privacy (SP)","author":"Cha Sang Kil","year":"2012","unstructured":"Sang Kil Cha, Thanassis Avgerinos, Alexandre Rebert, and David Brumley. 2012. Unleashing Mayhem on binary code. In IEEE Symposium on Security and Privacy (SP). IEEE, USA, 380\u2013394."},{"key":"e_1_3_2_9_2","volume-title":"Reverse Compilation Techniques","author":"Cifuentes Cristina","year":"1994","unstructured":"Cristina Cifuentes. 1994. Reverse Compilation Techniques. Ph.D. Dissertation. Queensland University of Technology."},{"key":"e_1_3_2_10_2","unstructured":"International Electrotechnical Commission. 2003. IEC 61131-3:2003. Retrieved December 20 2023 from https:\/\/webstore.iec.ch\/publication\/19081"},{"key":"e_1_3_2_11_2","first-page":"653","volume-title":"Proceedings of the IEEE International Conference on Software Analysis, Evolution, and Reengineering (SANER)","volume":"1","author":"David Robin","year":"2016","unstructured":"Robin David, S\u00e9bastien Bardin, Thanh Dinh Ta, Laurent Mounier, Josselin Feist, Marie-Laure Potet, and Jean-Yves Marion. 2016. BINSEC\/SE: A dynamic symbolic execution toolkit for binary-level analysis. In Proceedings of the IEEE International Conference on Software Analysis, Evolution, and Reengineering (SANER), Vol. 1. IEEE, Japan, 653\u2013656."},{"key":"e_1_3_2_12_2","unstructured":"Hex-Rays. 2023. IDA Pro Disassembler. Retrieved December 20 2023 from https:\/\/hex-rays.com\/ida-pro\/"},{"key":"e_1_3_2_13_2","first-page":"215","volume-title":"Proceedings of the 32nd ACM\/IEEE International Conference on Software Engineering - Volume 1 (ICSE \u201910)","author":"Jha Susmit","year":"2010","unstructured":"Susmit Jha, Sumit Gulwani, Sanjit A. Seshia, and Ashish Tiwari. 2010. Oracle-guided component-based program synthesis. In Proceedings of the 32nd ACM\/IEEE International Conference on Software Engineering - Volume 1 (ICSE \u201910). ACM, New York, NY, 215\u2013224."},{"key":"e_1_3_2_14_2","first-page":"74","volume-title":"Proceedings of the Workshop on Binary Analysis Research (BAR)","author":"Kalle Sushma","year":"2019","unstructured":"Sushma Kalle, Nehal Ameen, Hyunguk Yoo, and Irfan Ahmed. 2019. CLIK on PLCs! Attacking control logic with decompilation and virtual PLC. In Proceedings of the Workshop on Binary Analysis Research (BAR). The Internet Society, 74\u201385."},{"key":"e_1_3_2_15_2","first-page":"271","volume-title":"Proceedings of the Network and Distributed System Security Symposium (NDSS)","author":"Keliris Anastasis","year":"2019","unstructured":"Anastasis Keliris and Michail Maniatakos. 2019. ICSREF: A framework for automated reverse engineering of industrial control systems binaries. In Proceedings of the Network and Distributed System Security Symposium (NDSS). The Internet Society, 271\u2013285."},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1109\/MDAT.2016.2594178"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3498361.3538938"},{"key":"e_1_3_2_18_2","first-page":"1","volume-title":"Proceedings of the IEEE European Test Symposium (ETS)","author":"Konstantinou Charalambos","year":"2015","unstructured":"Charalambos Konstantinou, Michail Maniatakos, Fareena Saqib, Shiyan Hu, Jim Plusquellic, and Yier Jin. 2015. Cyber-physical systems: A security perspective. In Proceedings of the IEEE European Test Symposium (ETS). IEEE, USA, 1\u20138."},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1109\/TIFS.2018.2833063"},{"key":"e_1_3_2_20_2","volume-title":"Proceedings of the International Conference on Learning Representations (ICLR)","author":"Lample Guillaume","year":"2020","unstructured":"Guillaume Lample and Fran\u00e7ois Charton. 2020. Deep learning for symbolic mathematics. In Proceedings of the International Conference on Learning Representations (ICLR). OpenReview.net, 24 pages."},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.1109\/MSP.2011.67"},{"key":"e_1_3_2_22_2","unstructured":"Robert M. Lee Michael J. Assante and Tim Conway. 2016. Analysis of the cyber attack on the Ukrainian power grid. Retrieved from https:\/\/media.kasperskycontenthub.com\/wp-content\/uploads\/sites\/43\/2016\/05\/20081514\/E-ISAC_SANS_Ukraine_DUC_5.pdf."},{"key":"e_1_3_2_23_2","first-page":"252","volume-title":"Proceedings of the Advanced Information Technology, Electronic and Automation Control Conference (IAEAC)","author":"Lv Xuefeng","year":"2017","unstructured":"Xuefeng Lv, Yaobin Xie, Xiaodong Zhu, and Lu Ren. 2017. A technique for bytecode decompilation of PLC program. In Proceedings of the Advanced Information Technology, Electronic and Automation Control Conference (IAEAC). IEEE, 252\u2013257."},{"key":"e_1_3_2_24_2","unstructured":"MathWorks. 2023. Simulink - Simulation and Model-Based Design. Retrieved December 20 2023 from https:\/\/www.mathworks.com\/products\/simulink.html"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1002\/j.1538-7305.1956.tb03835.x"},{"key":"e_1_3_2_26_2","first-page":"10","volume-title":"Proceedings of the USENIX Conference on Hot Topics in Security","author":"McLaughlin Stephen","year":"2011","unstructured":"Stephen McLaughlin. 2011. On dynamic malware payloads aimed at programmable logic controllers. In Proceedings of the USENIX Conference on Hot Topics in Security. USENIX Association, 10\u201315."},{"key":"e_1_3_2_27_2","first-page":"43","volume-title":"Network and Distributed System Security Symposium (NDSS)","author":"McLaughlin Stephen","year":"2014","unstructured":"Stephen McLaughlin, Saman Zonouz, Devin Pohly, and Patrick McDaniel. 2014. A trusted safety verifier for process controller code. In Network and Distributed System Security Symposium (NDSS). The Internet Society, 43\u201357."},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.7717\/peerj-cs.103"},{"key":"e_1_3_2_29_2","unstructured":"NSA. 2023. Ghidra. Retrieved December 20 2023 from https:\/\/ghidra-sre.org\/"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1109\/MSP.2011.98"},{"key":"e_1_3_2_31_2","first-page":"402","volume-title":"Information Security","author":"Qasim Syed Ali","year":"2019","unstructured":"Syed Ali Qasim, Juan Lopez, and Irfan Ahmed. 2019. Automated reconstruction of control logic for programmable logic controller forensics. In Information Security. Zhiqiang Lin, Charalampos Papamanthou, and Michalis Polychronakis (Eds.), Springer International Publishing, Cham, 402\u2013422."},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1080\/00029890.1952.11988183"},{"key":"e_1_3_2_33_2","first-page":"319","volume-title":"Proceedings of the 8th ACM Conference on Data and Application Security and Privacy (CODASPY \u201918)","author":"Senthivel Saranyan","year":"2018","unstructured":"Saranyan Senthivel, Shrey Dhungana, Hyunguk Yoo, Irfan Ahmed, and Vassil Roussev. 2018. Denial of engineering operations attacks in industrial control systems. In Proceedings of the 8th ACM Conference on Data and Application Security and Privacy (CODASPY \u201918). ACM, New York, NY, 319\u2013329."},{"key":"e_1_3_2_34_2","first-page":"294","volume-title":"Proceedings of the Network and Distributed System Security Symposium (NDSS)","author":"Shoshitaishvili Yan","year":"2015","unstructured":"Yan Shoshitaishvili, Ruoyu Wang, Christophe Hauser, Christopher Kruegel, and Giovanni Vigna. 2015. Firmalice \u2013 automatic detection of authentication bypass vulnerabilities in binary firmware. In Proceedings of the Network and Distributed System Security Symposium (NDSS). The Internet Society, 294\u2013308."},{"key":"e_1_3_2_35_2","first-page":"138","volume-title":"Proceedings of the IEEE Symposium on Security and Privacy (SP)","author":"Shoshitaishvili Yan","year":"2016","unstructured":"Yan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens, Mario Polino, Andrew Dutcher, John Grosen, Siji Feng, Christophe Hauser, and Christopher Kruegel. 2016. SOK: (State of) the art of war: Offensive techniques in binary analysis. In Proceedings of the IEEE Symposium on Security and Privacy (SP). IEEE, 138\u2013157."},{"key":"e_1_3_2_36_2","first-page":"368","volume-title":"Proceedings of the Network and Distributed System Security Symposium (NDSS)","author":"Stephens Nick","year":"2016","unstructured":"Nick Stephens, Jessie Grosen, Christopher Salls, Audrey Dutcher, Ruoyu Wang, Jacopo Corbetta, Yan Shoshitaishvili, Christopher Kruegel, and Giovanni Vigna. 2016. Driller: Augmenting fuzzing through selective symbolic execution. In Proceedings of the Network and Distributed System Security Symposium (NDSS). The Internet Society, 368\u2013383."},{"key":"e_1_3_2_37_2","first-page":"349","volume-title":"Proceedings of the IEEE\/IFIP International Conference on Dependable Systems and Networks (DSN)","author":"Sun Pengfei","year":"2019","unstructured":"Pengfei Sun, Luis Garcia, and Saman Zonouz. 2019. Tell me more than just assembly! Reversing cyber-physical execution semantics of embedded IoT controller software binaries. In Proceedings of the IEEE\/IFIP International Conference on Dependable Systems and Networks (DSN). IEEE, 349\u2013361."},{"key":"e_1_3_2_38_2","first-page":"385","volume-title":"Proceedings of the IEEE European Symposium on Security and Privacy (EuroS & P)","author":"Sun R.","year":"2021","unstructured":"R. Sun, A. Mera, L. Lu, and D. Choffnes. 2021. SoK: Attacks on industrial control logic and formal verification-based defenses. In Proceedings of the IEEE European Symposium on Security and Privacy (EuroS & P). IEEE Computer Society, 385\u2013402."},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","unstructured":"Meet Udeshi Prashanth Krishnamurthy Hammond Pearce Ramesh Karri and Farshad Khorrami. 2023. Dataset for REMaQE evaluation. IEEE Dataport. DOI: 10.21227\/r7e6-bk48","DOI":"10.21227\/r7e6-bk48"},{"key":"e_1_3_2_40_2","first-page":"59","volume-title":"Proceedings of the Research on Offensive and Defensive Techniques in the Context of Man at the End (MATE) Attacks (Checkmate)","author":"Weideman Nicolaas","year":"2021","unstructured":"Nicolaas Weideman, Virginia K. Felkner, Wei-Cheng Wu, Jonathan May, Christophe Hauser, and Luis Garcia. 2021. PERFUME: Programmatic extraction and refinement for usability of mathematical expression. In Proceedings of the Research on Offensive and Defensive Techniques in the Context of Man at the End (MATE) Attacks (Checkmate). ACM, New York, NY, 59\u201369."},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.1109\/JIOT.2022.3164723"}],"container-title":["ACM Transactions on Cyber-Physical Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3699674","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3699674","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T01:09:52Z","timestamp":1750295392000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3699674"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,10,31]]},"references-count":40,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2024,10,31]]}},"alternative-id":["10.1145\/3699674"],"URL":"https:\/\/doi.org\/10.1145\/3699674","relation":{},"ISSN":["2378-962X","2378-9638"],"issn-type":[{"value":"2378-962X","type":"print"},{"value":"2378-9638","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,10,31]]},"assertion":[{"value":"2024-01-18","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-09-24","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-11-15","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}