# US 2007/0294769 A1 · Hardware support for computer speciation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2007/0294769 A1
- Document ID: US20070294769A1
- Status: Published application
- Kind: A1
- Application number: 11/749,612
- Filed: 2007-05-16
- Published: 2007-12-20
- Earliest claimed: 2006-05-16
- Assignees: Hercules Software, LLC
- Inventors: Peter Bird
- Web page: https://patentgrep.com/patent/US20070294769A1

## CPC

- G06F 21/56: Computer malware detection or handling, e.g. anti-virus arrangements
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system for disrupting malware includes a transform function and its inverse transform function which, when applied serially to an original bit pattern will return the original bit pattern, but when applied in solo will result in a bit pattern which is different than the original bit pattern, a preprocessor configured to apply the transform function in order to transform each benign program received from the computer-readable medium from an architecturally standardized form into a locally-specific form prior to storage of the program code in the program memory; a postprocessor configured to apply the inverse transform function in order to inversely transform all programs prior to their execution, such that previously transformed benign programs are converted back to the architecturally standardized form and malicious programs are rendered dysfunctional for their intended purpose. A method includes operations for serially transforming and inversely transforming authorized programs, but only inversely transforming unauthorized programs.

## Claims

### Claim 1

A computer system configured to execute benign programs while disrupting malicious programs, the computer system comprising:
a program memory configured to store program code including benign program code and malicious program code;
an input/output interface configured to receive benign programs and malicious programs from a computer-readable medium, the benign programs containing no malicious program code and the malicious programs containing at least some malicious program code;
a transform function and its inverse transform function which, when applied serially to an original bit pattern will return the original bit pattern, but when applied in solo will result in a bit pattern which is different than the original bit pattern;
a program code preprocessor configured to apply the transform function in order to transform each benign program received from the computer-readable medium from an architecturally standardized form into a locally-specific form prior to storage of the program code in the program memory;
a program code postprocessor configured to apply the inverse transform function in order to inversely transform all programs prior to their execution, such that previously transformed benign programs are converted back to the architecturally standardized form and malicious programs are rendered dysfunctional for their intended purpose; and
a main processor configured to execute the programs in the architecturally standardized form.

### Claim 2 (depends on 1)

The computer system as recited in claim 1 wherein the program code preprocessor comprises a bit mask value, and wherein the transform comprises a bit masking transform for bit masking at least a portion of each benign program using the bit mask value.

### Claim 3 (depends on 2)

The computer system as recited in claim 2 wherein the program code preprocessor comprise a software process.

### Claim 4 (depends on 3)

The computer system as recited in claim 3 wherein the software process enables a user to associate a different bit mask value with each of a plurality of application programs.

### Claim 5 (depends on 1)

The computer system as recited in claim 1 wherein a user is able to designate whether each program is benign or possibly malicious.

### Claim 6 (depends on 1)

The computer system as recited in claim 1 wherein the program code postprocessor comprises a switch module controlled by a settable value and is configured to select between untransformed program code and the inversely transformed form of the program code for execution by the main processor.

### Claim 7 (depends on 1)

The computer system as recited in claim 1 wherein the transform comprises shuffling bits in the program code to alternate bit positions.

### Claim 8 (depends on 7)

The computer system as recited in claim 7 wherein the program code preprocessor comprises a shuffle map that specifies alternate bit positions.

### Claim 9 (depends on 8)

The computer system as recited in claim 8 wherein the inverse transform comprises shuffling bits in programs using an inverse shuffle map that specifies original bit positions associated with the alternate bit positions, whereby previously shuffled bits of benign programs will be returned to the bits' original bit positions and bits of not previously shuffled programs will be remain in the alternate bit positions, thereby causing malicious programs to be unable to fulfill their intended purpose.

### Claim 10 (depends on 2)

The computer system as recited in claim 2 wherein the bit masking transform comprises applying an EXCLUSIVE OR operation on at least a portion of the program code.

### Claim 11 (depends on 1)

The computer system as recited in claim 1 wherein the program code preprocessor comprises an opcode map for use in transforming opcodes from their standardized form to a computer-specific form.

### Claim 12 (depends on 11)

The computer system as recited in claim 11 wherein the program code preprocessor transforms benign programs by substituting the opcodes in the benign programs with different codes identified in the opcode map.

### Claim 13 (depends on 12)

The computer system as recited in claim 12 wherein the program code postprocessor inversely transforms the executing programs by substituting opcodes in the programs with the associated architecturally standardized opcodes identified in the inverse opcode map.

### Claim 14 (depends on 12)

The computer system as recited in claim 12 wherein only a subset of the opcodes in each benign program is substituted with different opcodes and wherein the subset of opcodes includes only architecturally standardized opcodes that effect transfer of control flow when the benign program executes.

### Claim 15 (depends on 14)

The computer system as recited in claim 14 wherein the subset of architecturally standardized opcodes correspond to instructions selected from a group consisting of:
a branch instruction;
a conditional branch instruction;
a subroutine call instruction; and
a subroutine return instruction.

### Claim 16 (depends on 1)

The computer system as recited in claim 1, further comprising an instruction memory hierarchy, and wherein the postprocessor is logically located within the instruction memory hierarchy.

### Claim 17 (depends on 1)

The computer system as recited in claim 1, wherein the postprocessor is integrated within the main processor.

### Claim 18

A computer-implemented method for disrupting malware in a computer, the method comprising:
receiving a plurality of programs, wherein one or more of the programs is authorized for execution and wherein one or more of the programs is unauthorized for execution;
transforming only each authorized program into a localized form by applying a specified transformation;
at time of execution of a selected program from the plurality of programs, fetching an instruction from the selected program;
prior to executing the fetched instruction, inversely transforming the fetched instruction by applying an inverse transformation; and
executing the inversely transformed instruction.

### Claim 19 (depends on 18)

The computer-implemented method as recited in claim 18 wherein transforming each of the authorized programs comprises performing an EXCLUSIVE OR operation on at least a portion of the instructions of the authorized programs.

### Claim 20 (depends on 18)

The computer-implemented method as recited in claim 18 wherein transforming each of the authorized programs comprises shuffling bits of at least a portion of the instructions of the authorized programs.

### Claim 21 (depends on 18)

The computer-implemented method as recited in claim 18 wherein inversely transforming each of the authorized programs comprises converting opcodes of a specified value in the selected program into another opcode of a different value.

### Claim 22 (depends on 21)

The computer-implemented method as recited in claim 21 wherein converting opcodes of a specified value comprises accessing an opcode map in memory, wherein the map associates the opcode of the specified value with the opcode of the different value.

### Claim 23 (depends on 18)

The computer-implemented method as recited in claim 18 wherein the inversely transforming operation is performed by a program code postprocessor that is part of the computer's memory hierarchy.

### Claim 24 (depends on 23)

The computer-implemented method as recited in claim 23 wherein the computer comprises an instruction cache and an instruction execution pipeline, and wherein the postprocessor is logically positioned between the instruction cache and the instruction execution pipeline.

### Claim 25 (depends on 23)

The computer-implemented method as recited in claim 23 wherein the program code postprocessor is part of a central processing unit (CPU) of the computer.

### Claim 26 (depends on 23)

The computer-implemented method as recited in claim 23 wherein the program code postprocessor comprises a speciation register for use in performing the inversely transforming operation.

### Claim 27 (depends on 26)

The computer-implemented method as recited in claim 26 wherein the speciation register is inaccessible to non-privileged programs.

### Claim 28 (depends on 18)

The computer-implemented method as recited in claim 18 wherein the transforming comprises shuffling bits from original positions to alternate positions in an authorized program, and wherein inversely transforming comprises shuffling bits from the alternate positions back to the original positions in the authorized program and shuffling bits from original positions to disruptive positions in unauthorized programs.

### Claim 29 (depends on 18)

The method as recited in claim 18 wherein the transforming operation and the inversely transforming operation together form an identity function with respect to each authorized program.

### Claim 30 (depends on 18)

The method as recited in claim 18 wherein the inversely transforming operation comprises disruptively transforming the fetched instruction if the fetched instruction is from an unauthorized program.

### Claim 31 (depends on 30)

The method as recited in claim 30 wherein the disruptively transforming the fetched instruction comprises generating a different instruction that is in the computer's architecturally standardized form.

### Claim 32 (depends on 30)

The method as recited in claim 30 wherein the disruptively transforming operation comprises generating a different instruction that is not in the computer's architecturally standardized form.

### Claim 33 (depends on 18)

The method as recited in claim 18 further comprising receiving input from a user designating which of the plurality of programs are authorized for execution.

### Claim 34 (depends on 26)

The method as recited in claim 26 wherein the transforming operation is performed by a program code preprocessor having a speciation value configured for bit masking bits of each authorized program, the method further comprising:
setting the speciation value;
associating the speciation value with a selected application program.

### Claim 35 (depends on 34)

The method as recited in claim 34 further comprising communicating the speciation value to the postprocessor.

### Claim 36 (depends on 34)

The method as recited in claim 34 further comprising storing the speciation value in the speciation register.
