| Content | Description |
|---|
{ | | "MergeDetector": { | Configuration of splicing detector | "Enabled": true, | Global enabling/disabling of splicing detector | "Optimization": "Fast", | Splicing detecting optimization settings. The values are the following: Fast check - the files below specific size are to be checked. Detecting of final signatures is disabled. File threshold size is equal to the size of area, used by detector (1 Mb) to avoid additional file opening. When PIRE is enabled, the matching between initial and final signatures is being checked, the ones that were found during the file type detection.Moderate check - the files of all sizes are to be checked. Final signatures detection is held in the files, where the recognized format has well known final signature and only in the area, where it should be located.Accurate check, only using PIRE (Perl Incompatible Regular Expressions library) - all the files to be checked by all the mechanisms. Signature detector is searching for all the signatures in the whole file and decides if the slicing to take place in accordance with each signature found within the file of specific format.
| "EOFConfigPath": "/opt/iw/tm5/etc/mergedetector/eof_formats.json", | Path to EOF configuration mechanism file (Comparing file size with the CFB title data (only for formats, based on MS CFB)). | "SizeConfigPath": "/opt/iw/tm5/etc/mergedetector/size_formats.json", | Path to Size configuration mechanism file (Comparing file size with the value, recorded in a known place) (for different formats having the size field). Applies to the formats, consisting of blocks series having size recorded. | "CFBConfigPath": "/opt/iw/tm5/etc/mergedetector/cfb_formats.json", | Path to CFB configuration mechanism file (Searching for formats signatures). | "ProbabilityThreshold": 1e-3 | OEF detector threshold when using PIRE. Spacing: [1, 0]. This value is regulating the detector sensivity. The bigger value, the more sensitive detector is, but the number of false positive is growing as well. Physical meaning: this value is being compared to the possibility to find suspicious signatures within the random data. Warning! Using PIRE is prohibited in splicing detector | }, | | "NgramsPath": "etc/typedetector/ngrams", | Path to json files, containing profile extractors convertings to their N-Gram frequencies. | "MaxMultiScannerSize": 2000, | Scanner size in bites. It is calculated nontrivially; on a first approximation, it is proportional to product of these numbers: the number of states multiplied by the number of equivalent symbols classes. The parameter affects the memory speed and size, while creating scanners (once, when initializing), and their number (on each detection). | "MaxRecursiveLevel": 100, | Maximum level of the initial nesting of files to be unpacked by extractor. If the nesting level in archive exceeds the value, or the files containing there are corrupted, then extracted data will not be analyzed. | "TempDir": "tmp", | Temporary directory for decompressed files. | "Dreamcatcher": "dreamcatcher", | Directory for files unable to decompress. | "UsePIRE": false | Enabling/disabling PIRE regular expressions to detect the files and splicing type. Warning! Using PIRE is prohibited in splicing detector | } | |
cfb_formats.json configuration file of CFB mechanism: | Content | Description |
|---|
| [ | | | { | | "name": "msole"
| List of formats based on search mechanism of MS CFB signature formats, detected by the mechanism. | }, | {
| "name": "doc" | | }, | | .... | | ] | |
size_formats.json configuration file of Size mechanism: | |
|---|
| [ | | { | | "name": "avi", | Format, detected by the mechanism | "byte_order": "le", | Bytes order in the size field | "size_offset" : 4, | Size field offset from the blockhead | "header_size" : 8 | Heading size in the top of the file | }, | | ... | | | ] | |
eof_formats.json configuration file of EOF mechanism: | { | | |
|---|
{ | | "name": "odt" | The format detected by the mechanism | "bof" : "PK", | Top of the file signature (is used when PIRE is disabled, only) | "eof" : "0x50,0x4B,0x05,0x06", | End of file signature (is used when PIRE is disabled, only) | "has_multiple_eof" : true, | Whether the format allows multiple end signatures | "end_offset" : 18, | End signature offset relatively to the end of file | "may_include_any": false, | Whether any other formats are allowed inside of this one | "may_include_formats": ["tiff_big_endian"], | If other formats cannot be included, specify allowed formats in the list. | "base_format": "zip" | The format that is the base for it. | }, | | ... | | } | |
|