IP Library Granted Patent US 11,520,883
Granted Patent B2
US 11,520,883 · App. 17/575,286 · Granted Dec 6, 2022

Systems and methods for causing nonpredictable environment states for exploit prevention and malicious code neutralization for javascript-enabled applications

Inventor: Avihay Cohen (Tel-Aviv, IL)
Assignee: Seraphic Algorithms Ltd.
G06F21/554G06F21/128G06F21/54G06F9/45529G06F9/54G06F2221/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,520,883
App. No.
17/575,286
Granted
Dec 6, 2022
Kind
B2
Abstract

Systems, methods, and computer-readable media for cybersecurity are disclosed. The systems and methods may involve receiving, by an application capable of JavaScript execution, code for execution; executing, before execution of the received code, an intercepting code, wherein the intercepting code is configured to intercept at least one application programming interface (API) invocation by the received code; intercepting, by the intercepting code, an API invocation by the received code; determining that the intercepted API invocation results in a manipulation of a backing store object; and modifying an execution of the intercepted API invocation, wherein the modified execution results in a nonpredictable environment state.

Claims (76)

1. A cyber security system comprising:

at least one processor configured to:

receive, by an application capable of JavaScript execution, code for execution;

before execution of input code by a JavaScript-enabled application, run an intercepting code, wherein the intercepting code is configured to intercept at least one application programming interface (API) invocation of the input code;

intercept, by the intercepting code, an API invocation of the input code;

determine that the intercepted API invocation results in a manipulation of a backing store object; and

modify an execution of the intercepted API invocation, wherein:

modifying the execution of the intercepted API invocation includes at least one of padding input data associated with the API invocation; encoding input data associated with the API invocation;

manipulating input data associated with the API invocation;

splitting, into multiple execution contexts, input data associated with the API invocation; or changing object shape information; and

the modified execution results in a nonpredictable environment state.

2. The cyber security system of claim 1 , wherein the nonpredictable environment state includes at least one of a non-predictable memory layout, a non-predictable memory behavior, or a non-predictable property of an object.

3. The cyber security system of claim 1 , wherein the intercepting code is configured to patch an exposed native API of a current execution context and intercept an API invocation of the patched native API.

4. The cyber security system of claim 1 , wherein native API functionality of at least one patched API is maintained within the nonpredictable environment state.

5. A cyber security system comprising:

at least one processor configured to:

receive, by an application capable of JavaScript execution, code for execution;

before execution of input code by a JavaScript-enabled application, run an intercepting code, wherein the intercepting code is configured to intercept at least one application programming interface (API) invocation of the input code;

intercept, by the intercepting code, an API invocation of the input code:

determine that the intercepted API invocation results in a manipulation of a backing store object; and

modify an execution of the intercepted API invocation, wherein:

modifying the execution of the intercepted API invocation includes at least one of: encoding in input data associated with the API invocation, at least some randomly selected arguments;

dividing into a random number of execution contexts, input data associated with the API invocation; splitting into a random number of subsets, input data associated with the API invocation; padding with random data of a same type as an argument, at least some randomly selected arguments in input data associated with the API invocation; adding a random number of inline properties to input data associated with the API invocation; allocating within memory a random number of additional backing store objects; or holding at least one object reference in memory in a manner preventing collection by a garbage collector, and releasing the at least one held object reference for garbage collection upon an occurrence of a specified condition, and

the modified execution results in a nonpredictable environment state.

6. The cyber security system of claim 5 , wherein the nonpredictable environment state includes at least one of a non-predictable memory layout, a non-predictable memory behavior, or a non-predictable property of an object.

7. The cyber security system of claim 5 , wherein the intercepting code is configured to patch an exposed native API of a current execution context and intercept an API invocation of the patched native API.

8. The cyber security system of claim 5 , wherein native API functionality of at least one patched API is maintained within the nonpredictable environment state.

9. A computer-implemented method for cyber security, the method comprising:

receiving, by an application capable of JavaScript execution, code for execution;

before execution of input code by a JavaScript-enabled application, running an intercepting code, wherein the intercepting code is configured to intercept at least one application programming interface (API) invocation of the input code;

intercepting, by the intercepting code, an API invocation of the input code;

determining that the intercepted API invocation results in a manipulation of a backing store object; and

modifying an execution of the intercepted API invocation, wherein:

modifying the execution of the intercepted API invocation includes at least one of: padding input data associated with the API invocation; encoding input data associated with the API invocation; manipulating input data associated with the API invocation; splitting, into multiple execution contexts, input data associated with the API invocation; or changing object shape information, and

the modified execution results in a nonpredictable environment state.

10. The computer-implemented method of claim 9 , wherein the nonpredictable environment state includes at least one of a non-predictable memory layout, a non-predictable memory behavior, or a non-predictable property of an object.

11. The computer-implemented method of claim 9 , wherein the intercepting code is configured to patch an exposed native API of a current execution context and intercept an API invocation of the patched native API.

12. The computer-implemented method of claim 9 , wherein native API functionality of at least one patched API is maintained within the nonpredictable environment state.

13. The computer-implemented method of claim 9 , wherein the API invocation is intercepted from at least one available execution context associated with the execution of the input code.

14. A computer-implemented method for cyber security, the method comprising:

receiving, by an application capable of JavaScript execution, code for execution;

before execution of input code by a JavaScript-enabled application, running an intercepting code, wherein the intercepting code is configured to intercept at least one application programming interface (API) invocation of the input code;

intercepting, by the intercepting code, an API invocation of the input code;

determining that the intercepted API invocation results in a manipulation of a backing store object; and

modifying an execution of the intercepted API invocation, wherein:

modifying the execution of the intercepted API invocation includes at least one of: encoding in input data associated with the API invocation, at least some randomly selected arguments; dividing into a random number of execution contexts, input data associated with the API invocation; splitting into a random number of subsets, input data associated with the API invocation; padding with random data of a same type as an argument, at least some randomly selected arguments in input data associated with the API invocation; adding a random number of inline properties to input data associated with the API invocation;

allocating within memory a random number of additional backing store objects; or holding at least one object reference in memory in a manner preventing collection by a garbage collector, and releasing the at least one held object reference for garbage collection upon an occurrence of a specified condition, and

the modified execution results in a nonpredictable environment state.

15. The computer-implemented method of claim 14 , wherein the nonpredictable environment state includes at least one of a non-predictable memory layout, a non-predictable memory behavior, or a non-predictable property of an object.

16. The computer-implemented method of claim 14 , wherein the intercepting code is configured to patch an exposed native API of a current execution context and intercept an API invocation of the patched native API.

17. The computer-implemented method of claim 14 , wherein native API functionality of at least one patched API is maintained within the nonpredictable environment state.

18. The computer-implemented method of claim 14 , wherein the API invocation is intercepted from at least one available execution context associated with the execution of the input code.

19. A non-transitory computer-readable medium storing program instructions executable by at least one processor to:

receive, by an application capable of JavaScript execution, code for execution;

before execution of input code by a JavaScript-enabled application, run an intercepting code, wherein the intercepting code is configured to intercept at least one application programming interface (API) invocation of the input code;

intercept, by the intercepting code, an API invocation of the input code;

determine that the intercepted API invocation results in a manipulation of a backing store object; and

modify an execution of the intercepted API invocation, wherein:

modifying the execution of the intercepted API invocation includes at least one of: padding input data associated with the API invocation; encoding input data associated with the API invocation; manipulating input data associated with the API invocation; splitting, into multiple execution contexts, input data associated with the API invocation; or changing object shape information, and

the modified execution results in a nonpredictable environment state.

20. The non-transitory computer-readable medium of claim 19 , wherein the nonpredictable environment state includes at least one of a non-predictable memory layout, a non-predictable memory behavior, or a non-predictable property of an object.

21. The non-transitory computer-readable medium of claim 19 , wherein the intercepting code is configured to patch an exposed native API of a current execution context and intercept an API invocation of the patched native API.

22. The non-transitory computer-readable medium of claim 19 , wherein native API functionality of at least one patched API is maintained within the nonpredictable environment state.

23. The non-transitory computer-readable medium of claim 19 , wherein the API invocation is intercepted from at least one available execution context associated with the execution of the input code.

24. A non-transitory computer-readable medium storing program instructions executable by at least one processor to:

receive, by an application capable of JavaScript execution, code for execution;

before execution of input code by a JavaScript-enabled application, run an intercepting code, wherein the intercepting code is configured to intercept at least one application programming interface (API) invocation of the input code;

intercept, by the intercepting code, an API invocation of the input code;

determine that the intercepted API invocation results in a manipulation of a backing store object; and

modify an execution of the intercepted API invocation, wherein:

modifying the execution of the intercepted API invocation includes at least one of: encoding in input data associated with the API invocation, at least some randomly selected arguments; dividing into a random number of execution contexts, input data associated with the API invocation; splitting into a random number of subsets, input data associated with the API invocation; padding with random data of a same type as an argument, at least some randomly selected arguments in input data associated with the API invocation; adding a random number of inline properties to input data associated with the API invocation; allocating within memory a random number of additional backing store objects; or holding at least one object reference in memory in a manner preventing collection by a garbage collector, and releasing the at least one held object reference for garbage collection upon an occurrence of a specified condition; and

the modified execution results in a nonpredictable environment state.

25. The non-transitory computer-readable medium of claim 24 , wherein the nonpredictable environment state includes at least one of a non-predictable memory layout, a non-predictable memory behavior, or a non-predictable property of an object.

26. The non-transitory computer-readable medium of claim 24 , wherein the intercepting code is configured to patch an exposed native API of a current execution context and intercept an API invocation of the patched native API.

27. The non-transitory computer-readable medium of claim 24 , wherein native API functionality of at least one patched API is maintained within the nonpredictable environment state.

28. The non-transitory computer-readable medium of claim 24 , wherein the API invocation is intercepted from at least one available execution context associated with the execution of the input code.

Assignments (3)
RELEASE OF SECURITY INTEREST Recorded Jun 25, 2026
From: HSBC BANK PLC
To: SERAPHIC ALGORITHMS LTD
Reel/Frame 075079/0275 →
SECURITY INTEREST Recorded May 12, 2025
From: SERAPHIC ALGORITHMS LTD
To: HSBC BANK PLC
Reel/Frame 071088/0637 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 13, 2022
From: COHEN, AVIHAY
To: SERAPHIC ALGORITHMS LTD.
Reel/Frame 058650/0920 →
Continuity (3)
Continuation PCTIL2021051062 · Aug 31, 2021
Provisional Application 63072581 · Aug 31, 2020
Related Publication 20220164441A1 · May 26, 2022