EP4533294A1 - Technique of pattern matching for executable binary files - Google Patents
Technique of pattern matching for executable binary filesInfo
- Publication number
- EP4533294A1 EP4533294A1 EP23731375.4A EP23731375A EP4533294A1 EP 4533294 A1 EP4533294 A1 EP 4533294A1 EP 23731375 A EP23731375 A EP 23731375A EP 4533294 A1 EP4533294 A1 EP 4533294A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- technique
- data
- files
- ecu
- executable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/213—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
Definitions
- the present invention find application in the technical field of electric digital data processing and, in particular, it has as object a technique of pattern matching for executable binary files.
- a pattern matching technique is a technique allowing to check a given sequence of tokens for the presence of the constituents of some pattern.
- pattern matching is the action of checking the presence of a certain pattern inside a composite object.
- the expression may refer to pattern recognition within a character string or within abstract data structures such as lists or trees, a syntactic construct of functional programming languages used to condition recursion.
- Uses of pattern matching include outputting the locations of a pattern within a token sequence, to output some component of the matched pattern, and to substitute the matching pattern with some other token sequence (i.e., search and replace).
- a fuzzy multi-pattern matching is a problem with high computational complexity wherein, in many cases, the pattern is detected and categorized not only by values of a sequence but also by its surroundings, thus adding further context to the specific data sequence.
- the main drawback of the known techniques is that they are memory and computationally expensive when applied on the medium size pattern over a large alphabet. Moreover, the generalization of the matching sequence, like accepting changes to its shape or slight differences of values, makes this approach a complex problem when the patterns data set is large.
- Hash-based solutions are valuable for exact matching, but due to the avalanche effect are useless for approximate matching.
- the object of the present invention is to provide a technique of pattern matching for executable binary files characterized by high efficiency e relative cost-effectiveness.
- the main value of the technique is the ability to appliance in a fast pattern-matching process, with medium and large-size context surroundings, along with a potential significant mismatch of the data pattern area.
- FIG. 2 is a diagram showing a second series of steps of the technique
- FIG. 3 is a diagram showing a third series of steps of the technique.
- FIG. 4 is a flow chart showing a possible application of the technique in automotive sector on ECU executable binary files for classification of ECU binary file features
- FIG. 5 is a flow chart showing a possible application of the technique in automotive sector on ECU executable binary files for classification with pruning for wide context analysis of data sequences.
- the present invention refers to a new technique for reducing the matching patterns data set and in particular to a new method of fuzzy, context-aware subsequence matching, based on a new locality-sensitive hash for organized and partially monotonic data patterns.
- the technique is a fuzzy pattern matching technique designed for searching for patterns inside the large binary data block having executable binary file as input data.
- the technique comprise a first series of steps designed to prepare one or more sequences data digests, a second series of steps for computing locality-sensitive hash and a final series of steps of reduction of the plausible matchings.
- Fig- 1 shows the first series of steps suitable to prepare the sequences data digest.
- the technique provides that, after insertion of input and training data, the data is analysed for containing semi-organized, partially monotonic sequences.
- a preprocessing step is also provided for filtering monotonic sequences, during which step potential sequences are discarded or accepted based on several statistical criteria. Each accepted sequence is then encoded with metadata and stored as part of the data sequences digest so obtained.
- Said digest contains information describing the spatial organization of sequences, their monotonicity properties and other features valuable for approximate matching.
- Fig- 2 shows a possible operative diagram for computing the locality-sensitive hash, wherein locality-sensitive hashes are computed for each pattern in the data set and the analyzed positions in the input data.
- the proprietary locality-sensitive hash is calculated based on a method of data compression.
- the proprietary locality-sensitive hash is calculated based on the wavelets analysis.
- 64-bit is a native machine word size of modern CPUs, allowing efficient computation of Hamming distance as most of the architectures have dedicated CPU instructions for such purpose.
- typical PH hashes are longer.
- a possible application of the technique according to the invention is into the automotive sector on ECU executable binary files for classification of ECU binary file features.
- the technique will allow to solve problems related to the analysis of ECU binary executable files typical of automotive sector, in particular:
- the possible appliances are: code analysis, digital forensics, and antivirus software.
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| IT102022000010748A IT202200010748A1 (en) | 2022-05-24 | 2022-05-24 | PATTERN MATCHING TECHNIQUE FOR EXECUTABLE BINARY FILES |
| PCT/IB2023/055346 WO2023228110A1 (en) | 2022-05-24 | 2023-05-24 | Technique of pattern matching for executable binary files |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| EP4533294A1 true EP4533294A1 (en) | 2025-04-09 |
Family
ID=82694048
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP23731375.4A Pending EP4533294A1 (en) | 2022-05-24 | 2023-05-24 | Technique of pattern matching for executable binary files |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4533294A1 (en) |
| IT (1) | IT202200010748A1 (en) |
| WO (1) | WO2023228110A1 (en) |
-
2022
- 2022-05-24 IT IT102022000010748A patent/IT202200010748A1/en unknown
-
2023
- 2023-05-24 EP EP23731375.4A patent/EP4533294A1/en active Pending
- 2023-05-24 WO PCT/IB2023/055346 patent/WO2023228110A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| IT202200010748A1 (en) | 2023-11-24 |
| WO2023228110A1 (en) | 2023-11-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8391614B2 (en) | Determining near duplicate “noisy” data objects | |
| Ye et al. | Time series shapelets: a new primitive for data mining | |
| EP1578020A1 (en) | Data compressing method, program and apparatus | |
| CN1882984A (en) | Matching data objects by matching derived fingerprints | |
| US20240420243A1 (en) | Methods for determining image content when generating a property loss claim through predictive analytics | |
| Chen et al. | MolNexTR: a generalized deep learning model for molecular image recognition | |
| CN110659374A (en) | Method for searching images by images based on neural network extraction of vehicle characteristic values and attributes | |
| CN116955686A (en) | Image processing method, device, computer equipment and storage medium | |
| Park et al. | Generative malware outbreak detection | |
| US11960531B2 (en) | Content analysis | |
| Fernandez et al. | Active image indexing | |
| WO2023228110A1 (en) | Technique of pattern matching for executable binary files | |
| CN119760705B (en) | Threat information-based APT attack technology identification and matching method and system | |
| Singh et al. | Advanced framework for multilevel detection of digital video forgeries | |
| CN117725252B (en) | A satellite cloud image multi-label hashing retrieval method based on interpretable deep network | |
| CN115203053B (en) | Code clone detection method based on frequent sequence mining | |
| CN111813975A (en) | An image retrieval method, device and electronic device | |
| CN117972702A (en) | Malware detection method and system based on API call heterogeneous parameter enhancement | |
| CN116229484A (en) | Character recognition method, list scanning method and device | |
| CN116974909A (en) | Binary function embedding optimization design method based on RefuncEm | |
| CN1920855A (en) | Character identification apparatus and method for literal line regression | |
| US10853177B2 (en) | Performant process for salvaging renderable content from digital data sources | |
| Chiu et al. | Efficient histogram-based indexing for video copy detection | |
| Selvaraj et al. | Attention based deep learning model for detecting copy move forgery | |
| CN119377093B (en) | Code vulnerability detection method, system and medium based on data analysis |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: UNKNOWN |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20241213 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC ME MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| DAV | Request for validation of the european patent (deleted) | ||
| DAX | Request for extension of the european patent (deleted) | ||
| RAP3 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: MAGIC ENGINEERING S.R.L. |