<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ep-patent-document PUBLIC "-//EPO//EP PATENT DOCUMENT 1.5//EN" "ep-patent-document-v1-5.dtd">
<ep-patent-document id="EP09760572B1" file="EP09760572NWB1.xml" lang="en" country="EP" doc-number="2350903" kind="B1" date-publ="20161130" status="n" dtd-version="ep-patent-document-v1-5">
<SDOBI lang="en"><B000><eptags><B001EP>ATBECHDEDKESFRGBGRITLILUNLSEMCPTIESILTLVFIROMKCY..TRBGCZEEHUPLSK..HRIS..MTNO....SM..................</B001EP><B003EP>*</B003EP><B005EP>J</B005EP><B007EP>JDIM360 Ver 1.28 (29 Oct 2014) -  2100000/0</B007EP></eptags></B000><B100><B110>2350903</B110><B120><B121>EUROPEAN PATENT SPECIFICATION</B121></B120><B130>B1</B130><B140><date>20161130</date></B140><B190>EP</B190></B100><B200><B210>09760572.9</B210><B220><date>20090828</date></B220><B240><B241><date>20110328</date></B241><B242><date>20150909</date></B242></B240><B250>en</B250><B251EP>en</B251EP><B260>en</B260></B200><B300><B310>548747</B310><B320><date>20090827</date></B320><B330><ctry>US</ctry></B330><B310>92602 P</B310><B320><date>20080828</date></B320><B330><ctry>US</ctry></B330></B300><B400><B405><date>20161130</date><bnum>201648</bnum></B405><B430><date>20110803</date><bnum>201131</bnum></B430><B450><date>20161130</date><bnum>201648</bnum></B450><B452EP><date>20160629</date></B452EP></B400><B500><B510EP><classification-ipcr sequence="1"><text>G06F  21/56        20130101AFI20160608BHEP        </text></classification-ipcr></B510EP><B540><B541>de</B541><B542>HEURISTISCHES VERFAHREN DER CODEANALYSE</B542><B541>en</B541><B542>HEURISTIC METHOD OF CODE ANALYSIS</B542><B541>fr</B541><B542>PROCÉDÉ HEURISTIQUE D' ANALYSE DE CODES</B542></B540><B560><B561><text>US-A1- 2003 061 502</text></B561><B561><text>US-A1- 2005 022 016</text></B561><B561><text>US-A1- 2005 223 238</text></B561><B561><text>US-B1- 6 357 008</text></B561><B562><text>KRUEGEL C ET AL: "Static disassembly of obfuscated binaries" PROCEEDINGS OF THE 13TH USENIX SECURITY SYMPOSIUM - 9-13 AUG. 2004 - SAN DIEGO, CA, USA,, 1 January 2004 (2004-01-01), pages 255-270, XP009131682</text></B562><B562><text>CHRISTODORESCU M ET AL: "Static Analysis of Executables to Detect Malicious Patterns" PROCEEDINGS OF THE USENIX SECURITY SYMPOSIUM, XX, 4 August 2003 (2003-08-04), pages 169-186, XP002333005</text></B562><B562><text>LINN C ET AL: "Obfuscation of Executable Code to Improve Resistance to Static Disassembly" PROCEEDINGS OF THE 10TH. ACM CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY. (CCS'03). WASHINGTON, DC, OCT. 27 - 31, 2003; [ACM CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY], NEW YORK, NY : ACM, US, vol. CONF. 10, 27 October 2003 (2003-10-27), pages 1-10, XP003006997 ISBN: 978-1-58113-738-5</text></B562></B560></B500><B700><B720><B721><snm>BRIETENBACHER, Zdenek</snm><adr><str>Lozibky 1466/52</str><city>61 400 Brno</city><ctry>CZ</ctry></adr></B721></B720><B730><B731><snm>AVG Netherlands B.V.</snm><iid>101320843</iid><irf>3527P/EP/ST</irf><adr><str>Gatwickstraat 9-39</str><city>1043 GL Amsterdam</city><ctry>NL</ctry></adr></B731></B730><B740><B741><snm>Harrison, Michael Robert</snm><iid>101286675</iid><adr><str>Harrison IP 
Westminster Business Centre 
10 Great North Way 
Nether Poppleton</str><city>York YO26 6RB</city><ctry>GB</ctry></adr></B741></B740></B700><B800><B840><ctry>AT</ctry><ctry>BE</ctry><ctry>BG</ctry><ctry>CH</ctry><ctry>CY</ctry><ctry>CZ</ctry><ctry>DE</ctry><ctry>DK</ctry><ctry>EE</ctry><ctry>ES</ctry><ctry>FI</ctry><ctry>FR</ctry><ctry>GB</ctry><ctry>GR</ctry><ctry>HR</ctry><ctry>HU</ctry><ctry>IE</ctry><ctry>IS</ctry><ctry>IT</ctry><ctry>LI</ctry><ctry>LT</ctry><ctry>LU</ctry><ctry>LV</ctry><ctry>MC</ctry><ctry>MK</ctry><ctry>MT</ctry><ctry>NL</ctry><ctry>NO</ctry><ctry>PL</ctry><ctry>PT</ctry><ctry>RO</ctry><ctry>SE</ctry><ctry>SI</ctry><ctry>SK</ctry><ctry>SM</ctry><ctry>TR</ctry></B840><B860><B861><dnum><anum>IB2009006957</anum></dnum><date>20090828</date></B861><B862>en</B862></B860><B870><B871><dnum><pnum>WO2010023557</pnum></dnum><date>20100304</date><bnum>201009</bnum></B871></B870></B800></SDOBI>
<description id="desc" lang="en"><!-- EPO <DP n="1"> -->
<p id="p0001" num="0001">The present disclosure relates to identification and analysis of data transferred via a communications network, and more particularly to identification, detection and analysis of harmful or malicious software or data.</p>
<p id="p0002" num="0002">As computer network technology and infrastructure have improved over the years, the amount and speed of data transferred between computer network devices has drastically increased. Among this transferred data is a class of data referred to as malware. Malware, or malicious software, is a computer program designed to infiltrate a computing device without the device owner's knowledge or consent. Malware has come to refer to a generic class of software including a variety of hostile, intrusive or otherwise annoying forms of software or computer code. Malware includes various viruses, worms, trojan horses (or trojans), rootkits, spyware, adware and any other unwanted malicious software. Various types of malware may collect personal information related to a user and send this information back to an information collecting device. Other types of malware may cause a computing device to function poorly, or to not function at all.</p>
<p id="p0003" num="0003">One attempt at identifying and removing malware is antivirus software. Conventional antivirus software uses search sequences and rules-based analysis to look for known malware. However, malware code may be frequently changed by the malware program author such that search sequences and rules-based analysis may fail to detect updated programs.</p>
<p id="p0004" num="0004">Newer antivirus software uses more advanced and sophisticated identification techniques, especially when trying to detect new and unknown malware programs. Existing malware programs may share similar patterns of commands that, regardless of the actually coding used to implement the malware, may be identified by the antivirus software. However, such methods are not very useful for detecting new and unknown viruses having no previously detected pattern of operation.</p>
<p id="p0005" num="0005">To address this problem, recently-developed antivirus software detection methods evaluate suspicious program behavior. If antivirus software finds major differences from what may be called "good manners," an antivirus software application may assume that it has detected a new virus or malware program. These methods may be referred to using the overall term of "heuristic" malware detection methods. Typically, a heuristic analysis means that the examined program is being launched in some isolated and safe environment, and the method investigates its performance. The method tries to collect as much information as possible and<!-- EPO <DP n="2"> --> evaluate whether an examined program's performance can be considered legitimate, or whether the program strives for something unusual or dangerous. If suspicious activity is detected, the program may be categorized as suspicious or even harmful.</p>
<p id="p0006" num="0006">Heuristic analysis can provide several advantages. It works regardless of whether the examined program have been examined in the past. It can also recognize new viruses and trojans. However, there are some disadvantages as well. These include:
<ul id="ul0001" list-style="none" compact="compact">
<li>Lack of accuracy. No heuristic method can be considered fully accurate. The border between correct and harmful software behaviour can be foggy. Therefore, false alarms on clean programs, as well as missed detections of real malware, can be common.</li>
<li>Time demands. It is very time demanding to launch a program in a safe environment where one can be sure that no harm will result.</li>
</ul></p>
<p id="p0007" num="0007">Countermeasures. Malware authors use number of tricks to prevent this type of analysis. It is extremely difficult to avoid all traps and intrigues.</p>
<p id="p0008" num="0008">The following are examples of prior art disclosures:</p>
<p id="p0009" num="0009"><patcit id="pcit0001" dnum="US2003061502A"><text>US 2003/061502</text></patcit> discloses a computer virus detector which counts the number of suspect program instructions found in a computer program.</p>
<p id="p0010" num="0010">"<nplcit id="ncit0001" npl-type="s"><text>Static disassembly of obfuscated binaries", Kruegel C et al, Proceedings of the 13th Usenix Security Symposium 9-13 Aug. 2004</text></nplcit> discloses binary analysis techniques that can improve the success of the disassembly process when confronted with obfuscated binaries.</p>
<p id="p0011" num="0011">"<nplcit id="ncit0002" npl-type="s"><text>Static Analysis of Executables to Detect Malicious Patterns", Christodorescu M et al, Proceedings of the Usenix Security Symposium XX, 4 August 2003</text></nplcit>, presents an architecture for detecting malicious patterns in executables that is resilient to common obfuscation transformations.</p>
<p id="p0012" num="0012"><patcit id="pcit0002" dnum="US20050022016A"><text>US 2005/0022016</text></patcit> discloses a method of scanning a computer file for virus infection which attempts to identify the compiler used to generate program code and to perform a frequency distribution analysis of instructions found in the code.</p>
<p id="p0013" num="0013"><patcit id="pcit0003" dnum="US6357008B"><text>US 6,357,008</text></patcit> discloses a method for detecting computer viruses including a decryption phase which emulates a sufficient number of instructions to allow an encrypted virus to decrypt its viral body.<!-- EPO <DP n="3"> --></p>
<p id="p0014" num="0014">"<nplcit id="ncit0003" npl-type="s"><text>Obfuscation of Executable Code to Improve Resistance to Static Disassembly", Linn C et al, Proceedings of the 10th ACM conference on Computer and Communications Security, 27-31 October 2003</text></nplcit>, discloses methods of disrupting the static disassembly process so as to make programs harder to disassemble correctly.</p>
<heading id="h0001">SUMMARY</heading>
<p id="p0015" num="0015">According to the present invention, there is provided a method of detecting malware at a computing device as set forth in claim 1 of the appended claims.</p>
<p id="p0016" num="0016">The invention described in this document is not limited to the particular systems, methodologies or protocols described, as these may vary. The terminology used herein is for the purpose of describing particular embodiments only, and is not intended to limit the scope of the present disclosure.</p>
<p id="p0017" num="0017">It must be noted that as used herein and in the appended claims, the singular forms "a," "an," and "the" include plural reference unless the context clearly dictates otherwise. Unless defined otherwise, all technical and scientific terms used herein have the same meanings as commonly understood by one of ordinary skill in the art. As used herein, the term "comprising" means "including, but not limited to."</p>
<p id="p0018" num="0018">In one general respect, the embodiments disclose a method of detecting malware at a computing device. The method includes examining, by a processor of the computing device, a software program comprising a sequence of program instructions stored on a computer readable medium operably connected to the processor; determining, by the processor, whether each instruction in the sequence meets any of a group of suspicion criteria; assigning, by the processor, a instruction-level score to each instruction that meets any of the suspicion criteria; summing, by the processor, the instruction-level scores for each instruction to yield a program-level score; determining, by the processor, whether the program-level score exceeds a threshold; and if the program-level score exceeds a threshold, developing, by the processor, a report indicating a malware detection result.</p>
<p id="p0019" num="0019">In another general respect, the embodiments disclose a method of detecting malware at a computing device. The method includes the step of running, by a processor of the computing device, a software analysis program. Specifically, running the software analysis program comprises loading, by the processor, a sequence of program instructions stored on a computer readable medium operably connected to the processor; examining, by the processor, each program instruction in the sequence as it is executed; determining, by the processor, whether<!-- EPO <DP n="4"> --> each instruction in the sequence meets any of a group of suspicion criteria during execution; assigning, by the processor, a instruction-level score to each instruction that meets any of the suspicion criteria; summing, by the processor, the instruction-level scores for each instruction to yield a program-level score; determining, by the processor, whether the program-level score exceeds a threshold; and if the program-level score exceeds a threshold, developing, by the processor, a report indicating a malware detection result.</p>
<p id="p0020" num="0020">In one general respect, the embodiments disclose a method of detecting malware at a computing device. The method includes examining, by a processor of the computing device, a software program comprising a sequence of program instructions stored on a computer readable medium operably connected to the processor; determining, by the processor, whether each instruction in the sequence meets any of a group of suspicion criteria, wherein the group of suspicion criteria comprises a determination of whether the instruction results in a transformation of data, a determination of whether the instruction causes a jump into another instruction, and a determination of whether at least two sequential instructions have identical meanings; assigning, by the processor, a instruction-level score to each instruction that meets any of the suspicion criteria; summing, by the processor, the instruction-level scores for each instruction to yield a program-level score; determining, by the processor, whether the program-level score exceeds a threshold; and if the program-level score exceeds a threshold, developing, by the processor, a report indicating a malware detection result.</p>
<heading id="h0002">BRIEF DESCRIPTION OF THE DRAWINGS</heading>
<p id="p0021" num="0021">Aspects, features, benefits and advantages of the present invention will be apparent with regard to the following description and accompanying drawings, of which:
<ul id="ul0002" list-style="none" compact="compact">
<li><figref idref="f0001">FIG. 1</figref> illustrates exemplary code related to a technically pure software program;</li>
<li><figref idref="f0002">FIG. 2</figref> illustrates exemplary code related to a malicious software program;</li>
<li><figref idref="f0003">FIG. 3</figref> illustrates an exemplary malware detection process;</li>
<li><figref idref="f0004">FIG. 4</figref> illustrates an exemplary computing device for implementing the process described in <figref idref="f0003">FIG. 3</figref>.</li>
</ul></p>
<heading id="h0003">DETAILED DESCRIPTION</heading>
<p id="p0022" num="0022">The present disclosure describes new heuristic methods that analyze a potentially-suspicious program that function without running the program in an actual operating environment, thereby eliminating the potential for the suspicious program to perform any harmful operations. As mentioned above, heuristic malware detection methods may examine a<!-- EPO <DP n="5"> --> suspicious program while it is running in safe environment, a method referred to herein as the "dynamic" method. However, these dynamic approaches have various drawbacks related to the time and resources required to run the software in a safe environment. In contrast, methods described below as a "static" method of heuristic analysis examine the suspicious program code without running the suspicious program.</p>
<p id="p0023" num="0023">The present disclosure further describes a static method for analyzing program code. This analysis is not performed from merely a scope based on a program behaviour but rather from a scope based on technical purity. This method looks for differences in the program code as compared to the program code produced by common "official" tools. As used herein, the term "official tools" refers to commonly used compilers and run-time compressors. The method described in this disclosure supposes that the program code created in a standard and correct way may be technically pure, functionally straightforward and free from any malicious coding tricks included to block the analysis.</p>
<p id="p0024" num="0024">The technical purity itself may help to differentiate correct code from code that includes various illogical or redundant instructions, unnecessary jumps, roughly non-optimized processing flow etc. The more the malware authors try to block the analysis, the more similar illogical issues and technical errors may be found in the malicious code.<br/>
<figref idref="f0001">FIG. 1</figref> illustrates an exemplary sequence of program instructions created in an official tool, in this example by Microsoft Visual C++ 6.0, may look like. The code shown in <figref idref="f0001">FIG. 1A</figref> is a well known and harmless WGET.EXE program. The WGET. EXE code is technologically pure and has no useless or illogical operations.</p>
<p id="p0025" num="0025">In contrast to the technically pure code shown in <figref idref="f0001">FIG. 1</figref> , <figref idref="f0002">FIG. 2</figref> illustrates the opposite extreme, an example of a malicious trojan worm. Instructions contained in the trojan worm that have absolutely no meaning within the given context, i.e., their only intention is to block the analysis of the code and therefore the detection of the code as malware, are displayed in different shading (e.g., lines 1314555A and 1314555D).</p>
<p id="p0026" num="0026">The example shown in <figref idref="f0002">FIG. 2</figref> illustrates that the trojan worm program contains minimal correct and meaningful instructions (displayed in black), while most of the program code consists of meaningless garbage. If an expert sees such a program, the expert can tell immediately that something is wrong with the code, and the program is more than likely malicious. Thus, it is desirable to program virus detection software to function as an expert, analyzing the technical purity of the code while not merely getting hung up in clever coding tricks and techniques implemented to fool the antivirus software.<!-- EPO <DP n="6"> --></p>
<p id="p0027" num="0027"><figref idref="f0003">FIG. 3</figref> illustrates an exemplary process 300 for heuristically analyzing and detecting malware programs. Initially, the process loads each of a sequence of program instructions examines 302 one of the program instructions included in the software program. Depending on the analysis process or software, or operating environment of the analysis software, each instruction of the sequence may be loaded individually, or a module including multiple instructions may be loaded at once for examination 302. Similarly, one instruction may be analyzed at a time, or based upon the resources available, multiple instructions may be analyzed simultaneously. For simplicity purposes, in exemplary process 300, a single instruction is analyzed at a time.</p>
<p id="p0028" num="0028">During examination 302, the instruction is compared 304 to a suspicion criterion. Collectively, suspicion criteria rate each instruction based upon the expected outcome of the instruction when run. Different results of the analyzed instruction may satisfy various of the suspicion criteria, and based upon these results, an instruction-level score may be assigned to each instruction. The analyzing software may examine each instruction and determine 306 if the instruction violates some or all of the following criteria:
<ol id="ol0001" compact="compact" ol-style="">
<li>1) Whether the examined instruction actually performs some action. For instance, if the content of a 32-bit register rotates by 32 bits, the data should stay the same. The scoring system makes a note on this fact and "fines" such an instruction by an adequate number of penalties. A fine may be a negative score, or it may be an assigned numeric point system where total scores that exceed a predetermined level are presumed to indicate the presence of malware.</li>
<li>2) Whether the examined instruction belongs to an instruction group that actually does not change or alter the data. For instance, two sequential negations of the same registry mean that the registry content has not changed at all. Again, this will be fined by a reasonable number of penalties.</li>
<li>3) Whether the examined instruction jumps into the middle of another instruction. The analyzing software may be able to recognize such a trick, and it may fine it by a high number of penalties.</li>
<li>4) Whether two sequential instructions have the same meaning. For instance, if the string operations direction by STD instruction is set, and immediately afterwards the same instruction is carried out again, the latter instruction is quite redundant and therefore suspicious. Again, it will be penalized.</li>
<li>5) Whether some specific flag is being set that is not further used, or it is set up independently once again. For instance, if a comparison is performed, and then another comparison is performed, the result of the latter comparison overwrites the first result. This instruction is also penalized.<!-- EPO <DP n="7"> --></li>
<li>6) Whether the data rotation is meaningful. If some registry or a memory section is being rotated by more bits then the operand bit width is being rotated, the instruction may be considered illogical and it is penalized.</li>
<li>7) Other features that are not quite suspicious but at least unusual. For example: use of floating point instructions at the entry point, prefix concatenation, frequent use of various uneven variables, etc.</li>
</ol></p>
<p id="p0029" num="0029">Any of the above described situations, if detected in the instruction, may result in the instruction-level score updating 308 to reflect a certain number of penalties assigned to a specific criterion based on experience, comparison to code or instruction sequences generated by an official tool. Exact number of penalties for specific situations may be determined based on a long-term and extensive testing. The penalties may be revised for different situations as the system gains experience with additional programs.</p>
<p id="p0030" num="0030">If the analysis determines 306 that an instruction does not violate a specific criterion, or if the instruction has violated the criterion and the instruction-level score has updated 308, the process may determining 310 if there are additional suspicion criteria to compare 304 the instruction to. If there are additional criteria, the instruction is further compared 304 and analyzed, possibly resulting in another update 308 of the instruction level score. Conversely, if there are no additional criteria to compare 304 the instruction to, a total instruction-level score may be determined 312 for the examined instruction.</p>
<p id="p0031" num="0031">A determination 314 may be made as to whether .there are any additional instructions to examine 302. If there are additional instructions in the sequence of instructions, the process returns to examine 302 and compare 304 the additional instructions to the suspicion criteria. Once all instructions are examined 302, compared 304, and all instruction-level scores are determined 312, the total score for the software program may be summed 316. This summing 316 may be simply an adding of each of the instruction- level scores, or may include various multipliers based upon the number of individual criteria the software program violates. Based upon this sum 316, the software program is determined 318 to be either harmless or malicious. This determination 318 may be based upon a comparison of a similar software program coded by an official tool, such as the code illustrated in <figref idref="f0001">FIG. 1</figref>. This determination 318 may also be based solely upon an examination of the score of the software program and an acceptable threshold set by the analyzing program for identifying malware, i.e., if the score is above a certain number, the software program is identified as malicious. Once identified, a report may be created indicating the results of the determination 318 and, depending on the application, further analysis of the software program may be performed.<!-- EPO <DP n="8"> --> <figref idref="f0004">FIG. 4</figref> depicts a block diagram of exemplary internal hardware that may be used to contain or implement program instructions such as the malware detection process described in <figref idref="f0003">FIG. 3</figref>. A bus 400 may serve as the main information highway interconnecting the other illustrated components of the hardware. CPU 405 may be the central processing unit of the system, performing calculations and logic operations required to execute a program. Read only memory (ROM) 410 and random access memory (RAM) 415 may constitute exemplary memory devices.</p>
<p id="p0032" num="0032">A controller 420 may interface with one or more optional memory devices 425 to the system bus 400. These memory devices 425 may include, for example, an external or internal DVD drive, a CD ROM drive, a hard drive, flash memory, a USB drive or the like. As indicated previously, these various drives and controllers are optional devices.</p>
<p id="p0033" num="0033">Program instructions may be stored in the ROM 410 and/or the RAM 415. Optionally, program instructions may be stored on a tangible computer readable medium such as a compact disk, a digital disk, flash memory, a memory card, a USB drive, an optical disc storage medium, such as Blu-ray disc, and/or other recording medium.</p>
<p id="p0034" num="0034">An optional display interface 430 may permit information from the bus 400 to be displayed on the display 435 in audio, visual, graphic or alphanumeric format. Communication with external devices may occur using various communication ports 440. An exemplary communication port 440 may be attached to a communications network, such as the Internet or an intranet.</p>
<p id="p0035" num="0035">The hardware may also include an interface 445 which allows for receipt of data from input devices such as a keyboard 450 or other input device 455 such as a mouse, a joystick, a touch screen, a remote control, a pointing device, a video input device and/or an audio input device.</p>
<p id="p0036" num="0036">It should be noted the heuristic analysis process discussed herein may be launched on any program section. In some situations, it may be sufficient to examine only a portion of the code, such as the first 512 bytes on the entry point. While an emulator that has to launch the entire program and go through loops with millions of cycles before it actually finds something important, the above described heuristic may provide its results within milliseconds.</p>
</description>
<claims id="claims01" lang="en"><!-- EPO <DP n="9"> -->
<claim id="c-en-01-0001" num="0001">
<claim-text>A method of detecting malware at a computing device, comprising:
<claim-text>conducting (302), by a processor of the computing device, a static evaluation of program instructions in a software program comprising a sequence of instructions stored on a computer readable medium operably connected to the processor, the static evaluation being conducted without performing the program instructions;</claim-text>
<claim-text>comparing (304), by the processor, each instruction in the sequence against each of a group of suspicion criteria, wherein the suspicion criteria are used to rate each instruction based upon an expected outcome of an instruction when run;</claim-text>
<claim-text>determining (306), by the processor, whether each instruction in the sequence violates any of the group of suspicion criteria;</claim-text>
<claim-text>assigning (308), by the processor, an instruction-level score to each instruction that violates any of the suspicion criteria, wherein the instruction-level score reflects one or more of comparison to other code generated by an official tool, or comparison to other instruction sequences generated by an official tool; wherein an official tool refers to a commonly used compiler or a run-time compressor;</claim-text>
<claim-text>summing (316), by the processor, the instruction-level scores for each instruction to yield a program-level score;</claim-text>
<claim-text>determining (318), by the processor, whether the program-level score exceeds a threshold; and</claim-text>
<claim-text>if the program-level score exceeds a threshold, developing, by the processor, a report indicating a malware detection result.</claim-text></claim-text></claim>
<claim id="c-en-01-0002" num="0002">
<claim-text>A method as claimed in claim 1, wherein the conducting (302) further comprises loading each instruction in the sequence of instructions from the computer readable memory.</claim-text></claim>
<claim id="c-en-01-0003" num="0003">
<claim-text>A method as claimed in claim 1 or claim 2, wherein the suspicion criteria comprises a determination of whether the instruction results in a transformation of data.</claim-text></claim>
<claim id="c-en-01-0004" num="0004">
<claim-text>A method as claimed in any one of the preceding claims, wherein the suspicion criteria comprise a determination of whether the instruction belongs to a group of instructions that, collectively do not result in a transformation of data when the group of instructions completes operation.<!-- EPO <DP n="10"> --></claim-text></claim>
<claim id="c-en-01-0005" num="0005">
<claim-text>A method as claimed in any one of the preceding claims, wherein the suspicion criteria comprise a determination of whether the instruction causes a jump into another instruction.</claim-text></claim>
<claim id="c-en-01-0006" num="0006">
<claim-text>A method as claimed in any one of the preceding claims, wherein the suspicion criteria comprise a determination of whether at least two sequential instructions have identical meanings.</claim-text></claim>
<claim id="c-en-01-0007" num="0007">
<claim-text>A method as claimed in any one of the preceding claims, wherein the suspicion criteria comprise a determination of whether the instruction establishes a flag that is not used by any other instruction.</claim-text></claim>
<claim id="c-en-01-0008" num="0008">
<claim-text>A method as claimed in any one of the preceding claims, wherein the suspicion criteria comprise a determination of whether the instruction causes meaningful data rotation.</claim-text></claim>
<claim id="c-en-01-0009" num="0009">
<claim-text>A method as claimed in any one of the preceding claims, further comprising loading, by the processor, the sequence of program instructions stored on a computer readable medium operably connected to the processor.</claim-text></claim>
<claim id="c-en-01-0010" num="0010">
<claim-text>A method as claimed in any preceding claim, wherein the conducting, by the processor, comprises examining each program instruction in the sequence as it is executed.</claim-text></claim>
<claim id="c-en-01-0011" num="0011">
<claim-text>A computer readable medium carrying computer readable program code configured to cause a computer to carry out a method according to any preceding claim.</claim-text></claim>
<claim id="c-en-01-0012" num="0012">
<claim-text>A computer apparatus for modifying computer code, the apparatus comprising:
<claim-text>a program memory containing processor readable instructions; and</claim-text>
<claim-text>a processor configured to read and execute instructions stored in said program memory; wherein said processor readable instructions comprise instructions controlling the computer to carry out a method according to any one of claims 1 to 10.</claim-text></claim-text></claim>
</claims>
<claims id="claims02" lang="de"><!-- EPO <DP n="11"> -->
<claim id="c-de-01-0001" num="0001">
<claim-text>Verfahren zum Erkennen von Malware auf einer Recheneinrichtung, umfassend:
<claim-text>Vornehmen (302), durch einen Prozessor der Recheneinrichtung, einer statischen Auswertung von Programmanweisungen in einem Softwareprogramm umfassend eine Sequenz von Anweisungen, die auf einem computerlesbaren Medium, das funktionsfähig mit dem Prozessor verbunden ist, gespeichert sind, wobei die statische Auswertung ohne Durchführen der Programmanweisungen vorgenommen wird;</claim-text>
<claim-text>Vergleichen (304), durch den Prozessor, jeder Anweisung in der Sequenz mit jedem einer Gruppe von Verdachtskriterien, wobei die Verdachtskriterien verwendet werden, um jede Anweisung auf Basis eines erwarteten Ergebnisses einer Anweisung beim Ablauf zu bewerten;</claim-text>
<claim-text>Bestimmen (306), durch den Prozessor, ob jede Anweisung in der Sequenz gegen irgendeines der Gruppe von Verdachtskriterien verstößt;</claim-text>
<claim-text>Zuordnen (308), durch den Prozessor, eines Scores auf Anweisungsebene zu jeder Anweisung, die gegen irgendeines der Verdachtskriterien verstößt, wobei der Score auf Anweisungsebene einen oder mehrere von Vergleich mit von einem offiziellen Tool erzeugtem anderem Code oder Vergleich mit von einem offiziellen Tool erzeugten anderen Anweisungssequenzen widerspiegelt; wobei sich ein offizielles Tool auf einen gebräuchlichen Compiler oder einen Laufzeitkompressor bezieht;</claim-text>
<claim-text>Summieren (316), durch den Prozessor, der Scores auf Anweisungsebene für jede Anweisung, um einen Score auf Programmebene zu liefern;</claim-text>
<claim-text>Bestimmen (318), durch den Prozessor, ob der Score auf Programmebene eine Schwelle überschreitet; und</claim-text>
<claim-text>wenn der Score auf Programmebene eine Schwelle überschreitet, Erstellen, durch den Prozessor, eines ein Malware-Erkennungsergebnis anzeigenden Berichts.</claim-text></claim-text></claim>
<claim id="c-de-01-0002" num="0002">
<claim-text>Verfahren nach Anspruch 1, wobei das Vornehmen (302) ferner das Laden jeder Anweisung in der Sequenz von Anweisungen aus dem computerlesbaren Speicher umfasst.</claim-text></claim>
<claim id="c-de-01-0003" num="0003">
<claim-text>Verfahren nach Anspruch 1 oder Anspruch 2, wobei die Verdachtskriterien eine Bestimmung dessen umfassen, ob die Anweisung in einer Transformation von Daten resultiert.</claim-text></claim>
<claim id="c-de-01-0004" num="0004">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche, wobei die Verdachtskriterien eine Bestimmung dessen umfassen, ob die Anweisung zu einer Gruppe von Anweisungen gehört, die kollektiv nicht in einer Transformation von Daten resultieren, wenn die Gruppe von Anweisungen<!-- EPO <DP n="12"> --> die Operation abschließt.</claim-text></claim>
<claim id="c-de-01-0005" num="0005">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche, wobei die Verdachtskriterien eine Bestimmung dessen umfassen, ob die Anweisung einen Sprung zu einer anderen Anweisung bewirkt.</claim-text></claim>
<claim id="c-de-01-0006" num="0006">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche, wobei die Verdachtskriterien eine Bestimmung dessen umfassen, ob mindestens zwei sequenzielle Anweisungen identische Bedeutungen haben.</claim-text></claim>
<claim id="c-de-01-0007" num="0007">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche, wobei die Verdachtskriterien eine Bestimmung dessen umfassen, ob die Anweisung ein Flag festlegt, das von keiner anderen Anweisung benutzt wird.</claim-text></claim>
<claim id="c-de-01-0008" num="0008">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche, wobei die Verdachtskriterien eine Bestimmung dessen umfassen, ob die Anweisung eine sinnvolle Datenrotation bewirkt.</claim-text></claim>
<claim id="c-de-01-0009" num="0009">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche, ferner umfassend das Laden, durch den Prozessor, der Sequenz von Programmanweisungen, die auf einem computerlesbaren Medium, das funktionsfähig mit dem Prozessor verbunden ist, gespeichert sind.</claim-text></claim>
<claim id="c-de-01-0010" num="0010">
<claim-text>Verfahren nach einem vorhergehenden Anspruch, wobei das Vornehmen, durch den Prozessor, das Untersuchen jeder Programmanweisung in der Sequenz beim Abarbeiten umfasst.</claim-text></claim>
<claim id="c-de-01-0011" num="0011">
<claim-text>Computerlesbares Medium, das computerlesbaren Programmcode trägt, der konfiguriert ist, um zu bewirken, dass ein Computer ein Verfahren nach einem vorhergehenden Anspruch ausführt.</claim-text></claim>
<claim id="c-de-01-0012" num="0012">
<claim-text>Computergerät zum Modifizieren von Computercode, wobei das Gerät Folgendes umfasst:
<claim-text>einen Programmspeicher, der prozessorlesbare Anweisungen enthält; und</claim-text>
<claim-text>einen Prozessor, der zum Lesen und Abarbeiten von in dem Programmspeicher gespeicherten Anweisungen konfiguriert ist; wobei die prozessorlesbaren Anweisungen Anweisungen umfassen, die den Computer steuern, um ein Verfahren nach einem der Ansprüche 1 bis 10 auszuführen.</claim-text></claim-text></claim>
</claims>
<claims id="claims03" lang="fr"><!-- EPO <DP n="13"> -->
<claim id="c-fr-01-0001" num="0001">
<claim-text>Procédé de détection d'un logiciel malveillant au niveau d'un dispositif informatique, consistant à : effectuer (302), par un processeur du dispositif informatique, une évaluation statique d'instructions de programme d'un programme logiciel comprenant une séquence d'instructions mémorisées sur un support lisible par machine connecté de manière fonctionnelle au processeur, l'évaluation statique étant effectuée sans exécution des instructions de programme ;<br/>
comparer (304), par le processeur, chaque instruction de la séquence à chaque critère d'un groupe de critères de suspicion, dans lequel les critères de suspicion sont utilisés pour noter chaque instruction sur la base d'un résultat attendu d'une instruction lorsqu'elle est exécutée ; déterminer (306), par le processeur, si chaque instruction de la séquence viole, ou non, un quelconque critère du groupe de critères de suspicion ;<br/>
attribuer (308), par le processeur, un score de niveau d'instruction à chaque instruction qui viole un quelconque critère des critères de suspicion, dans lequel le score de niveau d'instruction reflète une comparaison avec un autre code généré par un outil officiel et/ ou une comparaison avec d'autres séquences d'instructions générées par un outil officiel ; dans lequel un outil officiel fait référence à un compilateur ou un compresseur de temps d'exécution utilisé habituellement ;<br/>
calculer la somme (316), par le processeur, des scores de niveau d'instruction de chaque instruction pour obtenir un score de niveau de programme ;<br/>
déterminer (318), par le processeur, si le score de niveau de programme dépasse un seuil ; et<br/>
si le score de niveau de programme dépasse un seuil, développer, par le processeur, un compte-rendu indiquant un résultat de détection de logiciel malveillant.</claim-text></claim>
<claim id="c-fr-01-0002" num="0002">
<claim-text>Procédé selon la revendication 1, dans lequel l'étape consistant à effectuer (302) une évaluation consiste en outre à charger chaque instruction de la séquence d'instructions à partir de la mémoire lisible par ordinateur.</claim-text></claim>
<claim id="c-fr-01-0003" num="0003">
<claim-text>Procédé selon la revendication 1 ou la revendication 2, dans lequel les critères de suspicion comprennent une détermination permettant de savoir si l'instruction a pour conséquence une transformation de données.</claim-text></claim>
<claim id="c-fr-01-0004" num="0004">
<claim-text>Procédé selon l'une quelconque des revendications précédentes, dans lequel les critères de suspicion comprennent une détermination permettant de savoir si l'instruction appartient à un groupe d'instructions qui, collectivement, n'ont pas pour conséquence une transformation de données lorsque le groupe d'instructions exécute une opération.<!-- EPO <DP n="14"> --></claim-text></claim>
<claim id="c-fr-01-0005" num="0005">
<claim-text>Procédé selon l'une quelconque des revendications précédentes, dans lequel les critères de suspicion comprennent une détermination permettant de savoir si l'instruction provoque un saut vers une autre instruction.</claim-text></claim>
<claim id="c-fr-01-0006" num="0006">
<claim-text>Procédé selon l'une quelconque des revendications précédentes, dans lequel les critères de suspicion comprennent une détermination permettant de savoir si au moins deux instructions séquentielles ont des significations identiques.</claim-text></claim>
<claim id="c-fr-01-0007" num="0007">
<claim-text>Procédé selon l'une quelconque des revendications précédentes, dans lequel les critères de suspicion comprennent une détermination permettant de savoir si l'instruction établit un drapeau qui n'est utilisé par aucune autre instruction.</claim-text></claim>
<claim id="c-fr-01-0008" num="0008">
<claim-text>Procédé selon l'une quelconque des revendications précédentes, dans lequel les critères de suspicion comprennent une détermination permettant de savoir si l'instruction a pour conséquence une rotation de données cohérente.</claim-text></claim>
<claim id="c-fr-01-0009" num="0009">
<claim-text>Procédé selon l'une quelconque des revendications précédentes, consistant en outre à charger, par le processeur, la séquence d'instructions de programme mémorisées sur un support lisible par ordinateur connecté de manière fonctionnelle au processeur.</claim-text></claim>
<claim id="c-fr-01-0010" num="0010">
<claim-text>Procédé selon l'une quelconque des revendications précédentes, dans lequel l'étape consistant à effectuer une évaluation, par le processeur, consiste à examiner chaque instruction de programme de la séquence lors de son exécution.</claim-text></claim>
<claim id="c-fr-01-0011" num="0011">
<claim-text>Support lisible par ordinateur à code de programme lisible par ordinateur configuré pour amener un ordinateur à exécuter un procédé selon l'une quelconque des revendications précédentes.</claim-text></claim>
<claim id="c-fr-01-0012" num="0012">
<claim-text>Appareil informatique permettant de modifier un code informatique, l'appareil comprenant : une mémoire de programme contenant des instructions lisibles par processeur ; et un processeur configuré pour lire et exécuter des instructions mémorisées dans ladite mémoire de programme ; dans lequel lesdites instructions lisibles par processeur comprennent des instructions de commande du processeur pour qu'il exécute un procédé selon l'une quelconque des revendications 1 à 10.</claim-text></claim>
</claims>
<drawings id="draw" lang="en"><!-- EPO <DP n="15"> -->
<figure id="f0001" num="1"><img id="if0001" file="imgf0001.tif" wi="120" he="213" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="16"> -->
<figure id="f0002" num="2"><img id="if0002" file="imgf0002.tif" wi="123" he="211" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="17"> -->
<figure id="f0003" num="3"><img id="if0003" file="imgf0003.tif" wi="157" he="223" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="18"> -->
<figure id="f0004" num="4"><img id="if0004" file="imgf0004.tif" wi="145" he="142" img-content="drawing" img-format="tif"/></figure>
</drawings>
<ep-reference-list id="ref-list">
<heading id="ref-h0001"><b>REFERENCES CITED IN THE DESCRIPTION</b></heading>
<p id="ref-p0001" num=""><i>This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.</i></p>
<heading id="ref-h0002"><b>Patent documents cited in the description</b></heading>
<p id="ref-p0002" num="">
<ul id="ref-ul0001" list-style="bullet">
<li><patcit id="ref-pcit0001" dnum="US2003061502A"><document-id><country>US</country><doc-number>2003061502</doc-number><kind>A</kind></document-id></patcit><crossref idref="pcit0001">[0009]</crossref></li>
<li><patcit id="ref-pcit0002" dnum="US20050022016A"><document-id><country>US</country><doc-number>20050022016</doc-number><kind>A</kind></document-id></patcit><crossref idref="pcit0002">[0012]</crossref></li>
<li><patcit id="ref-pcit0003" dnum="US6357008B"><document-id><country>US</country><doc-number>6357008</doc-number><kind>B</kind></document-id></patcit><crossref idref="pcit0003">[0013]</crossref></li>
</ul></p>
<heading id="ref-h0003"><b>Non-patent literature cited in the description</b></heading>
<p id="ref-p0003" num="">
<ul id="ref-ul0002" list-style="bullet">
<li><nplcit id="ref-ncit0001" npl-type="s"><article><author><name>KRUEGEL C et al.</name></author><atl>Static disassembly of obfuscated binaries</atl><serial><sertitle>Proceedings of the 13th Usenix Security Symposium</sertitle><pubdate><sdate>20040809</sdate><edate/></pubdate></serial></article></nplcit><crossref idref="ncit0001">[0010]</crossref></li>
<li><nplcit id="ref-ncit0002" npl-type="s"><article><author><name>CHRISTODORESCU M et al.</name></author><atl>Static Analysis of Executables to Detect Malicious Patterns</atl><serial><sertitle>Proceedings of the Usenix Security Symposium XX</sertitle><pubdate><sdate>20030804</sdate><edate/></pubdate></serial></article></nplcit><crossref idref="ncit0002">[0011]</crossref></li>
<li><nplcit id="ref-ncit0003" npl-type="s"><article><author><name>LINN C et al.</name></author><atl>Obfuscation of Executable Code to Improve Resistance to Static Disassembly</atl><serial><sertitle>Proceedings of the 10th ACM conference on Computer and Communications Security</sertitle><pubdate><sdate>20031027</sdate><edate/></pubdate></serial></article></nplcit><crossref idref="ncit0003">[0014]</crossref></li>
</ul></p>
</ep-reference-list>
</ep-patent-document>
