{"id":186689,"date":"2011-08-15T00:00:00","date_gmt":"2011-08-19T14:26:38","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/msr-research-item\/applications-of-grammatical-inference-in-security-and-program-analysis\/"},"modified":"2016-08-22T11:31:11","modified_gmt":"2016-08-22T18:31:11","slug":"applications-of-grammatical-inference-in-security-and-program-analysis","status":"publish","type":"msr-video","link":"https:\/\/www.microsoft.com\/en-us\/research\/video\/applications-of-grammatical-inference-in-security-and-program-analysis\/","title":{"rendered":"Applications of Grammatical Inference in Security and Program Analysis"},"content":{"rendered":"
\n

Grammatical inference is a form of machine learning focusing on induction of formal grammars. Such induction is particularly useful for learning abstractions of software systems, either actively through queries, or passively through observation of behavior. In this talk, I will give three examples of how grammatical inference can be applied in security and software analysis.<\/p>\n

First, I will discuss inference of protocol state machines in the realistic high-latency network setting, and applications of such inference to the analysis of botnet Command and Control (C&C) protocols. The proposed technique enables an order of magnitude reduction in the number of queries and time needed to learn a proprietary botnet C&C protocol compared to classic algorithms. I will also show that the computed protocol state machines enable formal analysis for botnet defense.<\/p>\n

Second, I will show how the inference of protocol state machines can be combined with Directed Automated Random Testing (DART). The combination, called Model-inference-Assisted Concolic Execution (MACE) learns a state machine that abstracts the implemented protocol state machine. Using the inferred state machine, MACE guides further search and keeps refining the abstraction. Experiments show that MACE finds 7x more vulnerabilities than the baseline approach, achieves up to 58% higher instruction coverage, and gets significantly deeper into the search space.<\/p>\n

Third, I will discuss a novel approach to automated malware detection and classification based on tree automata inference. After a brief introduction to malware analysis, I’m going to present a technique for inference of k-testable tree automata from kernel system call dependency graphs and show how such automata can be used for detection and classification of malware.<\/p>\n

Finally, I will discuss possible directions for the future research.<\/p>\n<\/div>\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

Grammatical inference is a form of machine learning focusing on induction of formal grammars. Such induction is particularly useful for learning abstractions of software systems, either actively through queries, or passively through observation of behavior. In this talk, I will give three examples of how grammatical inference can be applied in security and software analysis. […]<\/p>\n","protected":false},"featured_media":196333,"template":"","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"footnotes":""},"research-area":[],"msr-video-type":[],"msr-locale":[268875],"msr-impact-theme":[],"msr-pillar":[],"class_list":["post-186689","msr-video","type-msr-video","status-publish","has-post-thumbnail","hentry","msr-locale-en_us"],"msr_download_urls":"","msr_external_url":"https:\/\/youtu.be\/JerVqK1otZk","msr_secondary_video_url":"","msr_video_file":"","_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-video\/186689"}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-video"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/msr-video"}],"version-history":[{"count":0,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-video\/186689\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media\/196333"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=186689"}],"wp:term":[{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=186689"},{"taxonomy":"msr-video-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-video-type?post=186689"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=186689"},{"taxonomy":"msr-impact-theme","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-impact-theme?post=186689"},{"taxonomy":"msr-pillar","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-pillar?post=186689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}