%0 Conference Proceedings %T Code Type Revealing Using Experiments Framework %+ Open University of Israël %+ Ben-Gurion University of the Negev (BGU) %A Sharon, Rami %A Gudes, Ehud %Z Part 6: Data Management %< avec comité de lecture %( Lecture Notes in Computer Science %B 26th Conference on Data and Applications Security and Privacy (DBSec) %C Paris, France %Y Nora Cuppens-Boulahia %Y Frédéric Cuppens %Y Joaquin Garcia-Alfaro %I Springer %3 Data and Applications Security and Privacy XXVI %V LNCS-7371 %P 193-206 %8 2012-07-11 %D 2012 %R 10.1007/978-3-642-31540-4_15 %K File Type %K Content type revealing framework %K Code type %K Byte N-Gram statistical analysis %Z Computer Science [cs]Conference papers %X Identifying the type of a code, whether in a file or byte stream, is a challenge that many software companies are facing. Many applications, security and others, base their behavior on the type of code they receive as an input.Today’s traditional identification methods rely on file extensions, magic numbers, propriety headers and trailers or specific type identifying rules. All these are vulnerable to content tampering and discovering it requires investing long and tedious working hours of professionals. This study is aimed to find a method of identifying the best settings to automatically create type signatures that will effectively overcome the content manipulation problem.In this paper we lay out a framework for creating type signatures based on byte N-Grams. The framework allows setting various parameters such as NGram sizes and windows, selecting statistical tests and defining rules for score calculations. The framework serves as a test lab that allows finding the right parameters to satisfy a predefined threshold of type identification accuracy. We demonstrate the framework using basic settings that achieved an F-Measure success rate of 0.996 on 1400 test files. %G English %Z TC 11 %Z WG 11.3 %2 https://inria.hal.science/hal-01534762/document %2 https://inria.hal.science/hal-01534762/file/978-3-642-31540-4_15_Chapter.pdf %L hal-01534762 %U https://inria.hal.science/hal-01534762 %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-WG %~ IFIP-TC11 %~ IFIP-WG11-3 %~ IFIP-DBSEC %~ IFIP-LNCS-7371