Controlling your control flow graph. Kanuparthi, A., Rajendran, J., & Karri, R. In 2016 IEEE International Symposium on Hardware Oriented Security and Trust (HOST), pages 43–48, May, 2016. doi abstract bibtex Code Reuse Attacks (CRAs) are software exploits in which an attacker directs program control flow through existing code without injecting malicious code to achieve his objective. In this paper, we propose Dynamic Sequence Checker (DSC), a framework to verify the validity of control flow between basic blocks in the program. Unique codes are assigned to every basic block in the program at compile time in such a way that the Hamming distance between two legally connected basic blocks is a known constant. At runtime, Hamming distance between the codes assigned to the source and destination basic blocks are calculated and compared against the known constant, to verify the control flow. Execution is aborted if the Hamming distance comparison does not match. We implemented DSC on a cycle-accurate x86 simulator. DSC has been able to detect all the CRA gadgets reported by the ROPGadget tool. The average performance overhead is 4.7% over a baseline processor.
@inproceedings{kanuparthi_controlling_2016,
title = {Controlling your control flow graph},
doi = {10.1109/HST.2016.7495554},
abstract = {Code Reuse Attacks (CRAs) are software exploits in which an attacker directs program control flow through existing code without injecting malicious code to achieve his objective. In this paper, we propose Dynamic Sequence Checker (DSC), a framework to verify the validity of control flow between basic blocks in the program. Unique codes are assigned to every basic block in the program at compile time in such a way that the Hamming distance between two legally connected basic blocks is a known constant. At runtime, Hamming distance between the codes assigned to the source and destination basic blocks are calculated and compared against the known constant, to verify the control flow. Execution is aborted if the Hamming distance comparison does not match. We implemented DSC on a cycle-accurate x86 simulator. DSC has been able to detect all the CRA gadgets reported by the ROPGadget tool. The average performance overhead is 4.7\% over a baseline processor.},
booktitle = {2016 {IEEE} {International} {Symposium} on {Hardware} {Oriented} {Security} and {Trust} ({HOST})},
author = {Kanuparthi, Arun and Rajendran, Jeyavijayan and Karri, Ramesh},
month = may,
year = {2016},
keywords = {\#broken, Benchmark testing, Cryptography, Hamming distance, High definition video, Jab/\#HOST, Malware, Runtime},
pages = {43--48},
}
Downloads: 0
{"_id":"TmtmRNbKpnvZWfgeM","bibbaseid":"kanuparthi-rajendran-karri-controllingyourcontrolflowgraph-2016","author_short":["Kanuparthi, A.","Rajendran, J.","Karri, R."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Controlling your control flow graph","doi":"10.1109/HST.2016.7495554","abstract":"Code Reuse Attacks (CRAs) are software exploits in which an attacker directs program control flow through existing code without injecting malicious code to achieve his objective. In this paper, we propose Dynamic Sequence Checker (DSC), a framework to verify the validity of control flow between basic blocks in the program. Unique codes are assigned to every basic block in the program at compile time in such a way that the Hamming distance between two legally connected basic blocks is a known constant. At runtime, Hamming distance between the codes assigned to the source and destination basic blocks are calculated and compared against the known constant, to verify the control flow. Execution is aborted if the Hamming distance comparison does not match. We implemented DSC on a cycle-accurate x86 simulator. DSC has been able to detect all the CRA gadgets reported by the ROPGadget tool. The average performance overhead is 4.7% over a baseline processor.","booktitle":"2016 IEEE International Symposium on Hardware Oriented Security and Trust (HOST)","author":[{"propositions":[],"lastnames":["Kanuparthi"],"firstnames":["Arun"],"suffixes":[]},{"propositions":[],"lastnames":["Rajendran"],"firstnames":["Jeyavijayan"],"suffixes":[]},{"propositions":[],"lastnames":["Karri"],"firstnames":["Ramesh"],"suffixes":[]}],"month":"May","year":"2016","keywords":"#broken, Benchmark testing, Cryptography, Hamming distance, High definition video, Jab/#HOST, Malware, Runtime","pages":"43–48","bibtex":"@inproceedings{kanuparthi_controlling_2016,\n\ttitle = {Controlling your control flow graph},\n\tdoi = {10.1109/HST.2016.7495554},\n\tabstract = {Code Reuse Attacks (CRAs) are software exploits in which an attacker directs program control flow through existing code without injecting malicious code to achieve his objective. In this paper, we propose Dynamic Sequence Checker (DSC), a framework to verify the validity of control flow between basic blocks in the program. Unique codes are assigned to every basic block in the program at compile time in such a way that the Hamming distance between two legally connected basic blocks is a known constant. At runtime, Hamming distance between the codes assigned to the source and destination basic blocks are calculated and compared against the known constant, to verify the control flow. Execution is aborted if the Hamming distance comparison does not match. We implemented DSC on a cycle-accurate x86 simulator. DSC has been able to detect all the CRA gadgets reported by the ROPGadget tool. The average performance overhead is 4.7\\% over a baseline processor.},\n\tbooktitle = {2016 {IEEE} {International} {Symposium} on {Hardware} {Oriented} {Security} and {Trust} ({HOST})},\n\tauthor = {Kanuparthi, Arun and Rajendran, Jeyavijayan and Karri, Ramesh},\n\tmonth = may,\n\tyear = {2016},\n\tkeywords = {\\#broken, Benchmark testing, Cryptography, Hamming distance, High definition video, Jab/\\#HOST, Malware, Runtime},\n\tpages = {43--48},\n}\n\n\n\n","author_short":["Kanuparthi, A.","Rajendran, J.","Karri, R."],"key":"kanuparthi_controlling_2016","id":"kanuparthi_controlling_2016","bibbaseid":"kanuparthi-rajendran-karri-controllingyourcontrolflowgraph-2016","role":"author","urls":{},"keyword":["#broken","Benchmark testing","Cryptography","Hamming distance","High definition video","Jab/#HOST","Malware","Runtime"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"inproceedings","biburl":"https://bibbase.org/zotero/bxt101","dataSources":["Wsv2bQ4jPuc7qme8R"],"keywords":["#broken","benchmark testing","cryptography","hamming distance","high definition video","jab/#host","malware","runtime"],"search_terms":["controlling","control","flow","graph","kanuparthi","rajendran","karri"],"title":"Controlling your control flow graph","year":2016}