8539578

Systems and Methods for Defending a Shellcode Attack

PublishedSeptember 17, 2013
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
18 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A computer-implemented method for defending an attack from the execution of shellcode, comprising: duplicating elements within a dynamically linked library (dll), wherein the dll resides in a first memory space; redirecting the duplicated elements into a second memory space; establishing a protection attribute for the elements within the second memory space; modifying one or more links to point to elements within the second memory space instead of elements within the first memory space; determining a location of execution code attempting to access the elements within the second memory space; and preventing the execution code from executing based on the determined location.

2

2. The method of claim 1 , wherein the dll comprises a kernel32.dll.

3

3. The method of claim 1 , wherein the determined location of the execution code indicates the code is running on a heap memory allocation.

4

4. The method of claim 1 , wherein the determined location of the execution code indicates the code is running on a stack memory allocation.

5

5. The method of claim 1 , further comprising allowing the executing code to execute if the determined location indicates the code is not running on a heap or stack memory allocation.

6

6. The method of claim 1 , wherein the modified links point to an InLoadOrderModuleList, an InMemoryOrderModuleList, and an In InitializationOrderModuleList.

7

7. The method of claim 1 , wherein the protection attribute comprises a PAGE_GUARD|PAGE_EXECUTE_READWRITE attribute.

8

8. The method of claim 1 , further comprising establishing an exception handler to identify an exception raised by the protection attribute for elements within the second memory space.

9

9. The method of claim 8 , further comprising using the exception handler to determine the location of the execution code attempting to access the elements within the second memory space.

10

10. A computer system configured to defend an attack caused by the execution of shellcode, comprising: a processor; memory in electronic communication with the processor; instructions stored in the memory, the instructions being executable by the processor to: duplicate elements within a dynamically linked library (dll), wherein the dll resides in a first memory space; redirect the duplicated elements into a second memory space; establish a protection attribute for the elements within the second memory space; modify one or more links to point to elements within the second memory space instead of elements within the first memory space; determine a location of execution code attempting to access the elements within the second memory space; and prevent the execution code from executing based on the determined location.

11

11. The computer system of claim 10 , wherein the dll comprises a kernel32.dll.

12

12. The computer system of claim 10 , wherein the determined location of the execution code indicates the code is running on a heap memory allocation.

13

13. The computer system of claim 10 , wherein the determined location of the execution code indicates the code is running on a stack memory allocation.

14

14. The computer system of claim 10 , wherein the instructions are executable by the processor to: allow the executing code to execute if the determined location indicates the code is not running on a heap or stack memory allocation.

15

15. The computer system of claim 10 , wherein the modified links point to an InLoadOrderModuleList, an InMemoryOrderModuleList, and an In InitializationOrderModuleList.

16

16. The computer system of claim 10 , wherein the protection attribute comprises a PAGE_GUARD|PAGE_EXECUTE_READWRITE attribute.

17

17. The computer system of claim 10 , wherein the instructions are executable by the processor to establish an exception handler to identify an exception raised by the protection attribute for elements within the second memory space.

18

18. A computer-program product for defending an attack from the execution of shellcode, the computer-program product comprising a non-transitory computer-readable medium storing instructions thereon, the instructions being executable by a processor to: duplicate elements within a dynamically linked library (dll), wherein the dll resides in a first memory space; redirect the duplicated elements into a second memory space; establish a protection attribute for the elements within the second memory space; modify one or more links to point to elements within the second memory space instead of elements within the first memory space determine a location of execution code attempting to access the elements within the second memory space; and prevent the execution code from executing based on the determined location.

Patent Metadata

Filing Date

Unknown

Publication Date

September 17, 2013

Inventors

Rong Zhou
Jerry Jing

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “SYSTEMS AND METHODS FOR DEFENDING A SHELLCODE ATTACK” (8539578). https://patentable.app/patents/8539578

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.