Abstract

A binary program can be represented as a string of operation codes by disassembling it and removing the instruction operands. Using this representation, the problem of detecting if two programs are similar can be reduced to computing the distance between two strings. The most common types of edit distance are fit for this task but unfortunately their running time is quadratic. A new type of edit distance called deq distance is proposed and it can be computed in linear time. This distance also measures the number of operations required to transform a string into another but only allows the operations that can be performed on a double ended queue. The new distance has been tested in clustering algorithms and produced quality clusters, very similar to the ones produced by a regular edit distance. The performance evaluation also showed that the new distance can be computed faster for strings longer than 300 characters, making it appropriate for finding similarities between malware samples.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.