IP Library Granted Patent US 11,928,206
Granted Patent B2
US 11,928,206 · App. 18/304,231 · Granted Mar 12, 2024

Selective import/export address table filtering

Inventors: Eric Klonowski (Broomfield, CO); Ira Strawser (Thorton, CO)
Assignee: Open Text Inc.
G06F21/54G06F21/554G06F2221/033
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,928,206
App. No.
18/304,231
Granted
Mar 12, 2024
Kind
B2
Abstract

Examples of the present disclosure describe systems and methods for selective export address table filtering. In aspects, the relative virtual address (RVA) of exported function names may be modified to point to a protected memory location. An exception handler may be registered to process exceptions relating to access violations of the protected memory location. If an exception is detected that indicates an attempt to access the protected memory location, the instruction pointer of the exception may be compared to an allowed range of memory addresses. If the instruction pointer address is outside the boundaries, remedial action may occur.

Claims (55)

1. A system comprising:

a processor; and

a memory coupled to the processor, the memory storing computer executable instructions executable to:

generate a list of exportable functions accessible to an executable program;

identify a first function name relative virtual address (RVA) corresponding to a first function in the list of exportable functions;

identify a last function name RVA corresponding to a last function in the list of exportable functions;

modify the first function name RVA to point to a restricted memory location, thereby creating a modified function name RVA;

detect an exception that indicates an attempt to access the restricted memory location of the modified function name RVA;

compare an instruction pointer address associated with the exception to an allowed range of memory addresses for system functions, the allowed range comprising a lower boundary corresponding to the first function name RVA and an upper boundary corresponding to the last function name RVA;

determine that the instruction pointer address is outside the allowed range of memory addresses for system functions; and

when the memory address of the exception is outside the allowed range, provide an indication of an anomaly for the executable program.

2. The system of claim 1 , wherein generating the list of the exportable functions comprises scanning at least one of a library file or an address table associated with the executable program.

3. The system of claim 2 , wherein the list of exportable functions comprises a function name and a function address corresponding to a function in the list of exportable functions.

4. The system of claim 1 , wherein the first function name RVA points to a memory address of an object in an image file.

5. The system of claim 1 , wherein modifying the first function name RVA comprises:

storing the first function name RVA in a data structure;

assigning an alternate memory address to the first function; and

forming an association between the first function name RVA and the alternate memory address in the data structure.

6. The system of claim 1 , wherein determining that the instruction pointer address is outside the allowed range comprises comparing the instruction pointer address to a list of authorized system binaries.

7. The system of claim 1 , further comprising remediating the anomaly by terminating the executable program.

8. A non-transitory machine-readable storage medium comprising instructions executable to:

generate a list of exportable functions accessible to an executable program;

identify a first function name relative virtual address (RVA) corresponding to a first function in the list of exportable functions;

identify a last function name RVA corresponding to a last function in the list of exportable functions;

modify the first function name RVA to point to a restricted memory location, thereby creating a modified function name RVA;

detect an exception that indicates an attempt to access the restricted memory location of the modified function name RVA;

compare an instruction pointer address associated with the exception to an allowed range of memory addresses for system functions, the allowed range comprising a lower boundary corresponding to the first function name RVA and an upper boundary corresponding to the last function name RVA;

determine that the instruction pointer address is outside the allowed range of memory addresses for system functions; and

when the memory address of the exception is outside the allowed range, provide an indication of an anomaly for the executable program.

9. The non-transitory machine-readable storage medium of claim 8 , wherein the instructions are further executable to scan at least one of a library file or an address table associated with the executable program.

10. The non-transitory machine-readable storage medium of claim 9 , wherein the list of exportable functions comprises a function name and a function address corresponding to a function in the list of exportable functions.

11. The non-transitory machine-readable storage medium of claim 8 , wherein the first function name RVA points to a memory address of an object in an image file.

12. The non-transitory machine-readable storage medium of claim 8 , wherein the instructions are further executable to:

store the first function name RVA in a data structure;

assign an alternate memory address to the first function; and

form an association between the first function name RVA and the alternate memory address in the data structure.

13. The non-transitory machine-readable storage medium of claim 8 , wherein the instructions are further executable to compare the instruction pointer address to a list of authorized system binaries.

14. The non-transitory machine-readable storage medium of claim 8 , wherein the instructions are further executable to remediate the anomaly by terminating the executable program.

15. A method comprising:

generating a list of exportable functions accessible to an executable program;

identifying a first function name relative virtual address (RVA) corresponding to a first function in the list of exportable functions;

identifying a last function name RVA corresponding to a last function in the list of exportable functions;

modifying the first function name RVA to point to a restricted memory location, thereby creating a modified function name RVA;

detecting an exception that indicates an attempt to access the restricted memory location of the modified function name RVA;

comparing an instruction pointer address associated with the exception to an allowed range of memory addresses for system functions, the allowed range comprising a lower boundary corresponding to the first function name RVA and an upper boundary corresponding to the last function name RVA;

determining that the instruction pointer address is outside the allowed range of memory addresses for system functions; and

when the memory address of the exception is outside the allowed range, providing an indication of an anomaly for the executable program.

16. The method of claim 15 , wherein generating the list of the exportable functions comprises scanning at least one of a library file or an address table associated with the executable program.

17. The method of claim 16 , wherein the list of exportable functions comprises a function name and a function address corresponding to a function in the list of exportable functions.

18. The method of claim 15 , wherein the first function name RVA points to a memory address of an object in an image file.

19. The method of claim 15 , wherein modifying the first function name RVA comprises:

storing the first function name RVA in a data structure;

assigning an alternate memory address to the first function; and

forming an association between the first function name RVA and the alternate memory address in the data structure.

20. The method of claim 15 , further comprising remediating the anomaly by terminating the executable program.

Assignments (4)
ASSIGNMENT AND ASSUMPTION AGREEMENT Recorded Jul 6, 2023
From: CARBONITE, LLC
To: OPEN TEXT INC.
Reel/Frame 064351/0178 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 29, 2023
From: WEBROOT LLC
To: CARBONITE, LLC
Reel/Frame 064167/0129 →
CERTIFICATE OF CONVERSION Recorded Jun 29, 2023
From: WEBROOT INC.
To: WEBROOT LLC
Reel/Frame 064176/0622 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 10, 2023
From: KLONOWSKI, ERIC; STRAWSER, IRA
To: WEBROOT INC.
Reel/Frame 063591/0644 →
Continuity (3)
Continuation 16683816 · Nov 14, 2019
Provisional Application 62768066 · Nov 15, 2018
Related Publication 20230252131A1 · Aug 10, 2023