Profiling of spawned processes in container images and enforcing security policies respective thereof

US11640472B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11640472-B2
Application numberUS-202117195069-A
CountryUS
Kind codeB2
Filing dateMar 8, 2021
Priority dateOct 1, 2015
Publication dateMay 2, 2023
Grant dateMay 2, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Execution of software containers is secured using security profiles. A security profile is generated for a container image, wherein the container image includes resources utilized to execute a corresponding application container, wherein the generated security profile includes at least a spawned processes profile, wherein the spawned processes profile includes, for each spawned process executed at runtime by the application container, a signature of an executable file of the spawned process. The operation of a runtime execution of the application container is monitored. A violation of the spawned processes profile is detected based on the monitored operation.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for securing execution of software containers, comprising: generating a security profile for a container image, wherein the container image includes resources utilized to execute a corresponding application container, wherein the generated security profile includes at least a spawned processes profile, wherein the spawned processes profile includes, for each spawned process executed at runtime by the application container, a signature of an executable file of the spawned process; monitoring operation of a runtime execution of the application container; and detecting a violation of the spawned processes profile based on the monitored operation. 2. The method of claim 1 , further comprising: exporting the container image to a host device from an image registry, wherein the security profile is generated based on the container image stored in the host device without executing the container image on the host device. 3. The method of claim 1 , further comprising: scanning contents of the container image to identify an entry-point script, wherein the entry-point script is a first process being executed upon launching of an application container; identifying calls for any spawned process in the entry-point script; obtaining the respective executable file for each identified call; and generating a signature for each obtained executable file, wherein the spawned processes profile includes each generated signature. 4. The method of claim 3 , wherein generating each signature further comprises: computing any of a check-sum value and a hash value over the contents of the executable file. 5. The method of claim 4 , wherein monitoring the operation of the runtime execution of the application container further comprises: intercepting communications to and from the application container during the runtime execution of the application container, wherein each intercepted communication includes at least a call to execute a spawned process. 6. The method of claim 5 , wherein detecting the violation of the spawned process further comprises: capturing an executable file of the spawned process being called in each intercepted communication; generating a signature for each captured executable file; and comparing each generated signature to the respective signature saved in the spawned processes profile, wherein the violation of the spawned processes profile is detected based on a signature mismatch for at least one intercepted communication of the intercepted communications. 7. The method of claim 1 , wherein the container image is a static file, wherein the application container is a runtime instance of a software container executing a specific application. 8. The method of claim 1 , wherein generating the security profile further comprises: scanning at least one program identified in the container image to identify, for each scanned program, a callable unit; and mapping each identified callable unit to a respective system call, wherein each system call is triggered upon a runtime execution of the respective callable unit, wherein storing the mapping of callable units to system calls in the security profile. 9. The method of claim 8 , wherein the mapping is performed based on a mapping table, wherein the mapping table includes a list of callable units for a plurality of runtime processes and at least one matching system call for each callable unit of the list of callable units. 10. A non-transitory computer readable medium having stored thereon instructions for causing a processing circuitry to execute a process, the process comprising: generating a security profile for a container image, wherein the container image includes resources utilized to execute a corresponding application container, wherein the generated security profile includes at least a spawned processes profile, wherein the spawned processes profile includes, for each spawned process executed at runtime by the application container, a signature of an executable file of the spawned process; monitoring operation of a runtime execution of the application container; and detecting a violation of the spawned processes profile based on the monitored operation. 11. The non-transitory computer readable medium of claim 10 , wherein the process further comprises: exporting the container image to a host device from an image registry, wherein the security profile is generated based on the container image stored in the host device without executing the container image on the host device. 12. A system for securing execution of software containers, comprising: a processing circuitry; and a memory, the memory containing instructions that, when executed by the processing circuitry, configure the system to: generate a security profile for a container image, wherein the container image includes resources utilized to execute a corresponding application container, wherein the generated security profile includes at least a spawned processes profile, wherein the spawned processes profile includes, for each spawned process executed at runtime by the application container, a signature of an executable file of the spawned process; monitor operation of a runtime execution of the application container; and detect a violation of the spawned processes profile based on the monitored operation. 13. The system of claim 12 , wherein the system is further configured to: export the container image to a host device from an image registry, wherein the security profile is generated based on the container image stored in the host device without executing the container image on the host device. 14. The system of claim 12 , wherein the system is further configured to: scan contents of the container image to identify an entry-point script, wherein the entry-point script is a first process being executed upon launching of an application container; identify calls for any spawned process in the entry-point script; obtain the respective executable file for each identified call; and generate a signature for each obtained executable file, wherein the spawned processes profile includes each generated signature. 15. The system of claim 14 , wherein the system is further configured to: compute any of a check-sum value and a hash value over the contents of the executable file. 16. The system of claim 15 , wherein the system is further configured to: intercept communications to and from the application container during the runtime execution of the application container, wherein each intercepted communication includes at least a call to execute a spawned process. 17. The system of claim 16 , wherein the system is further configured to: capture an executable file of the spawned process being called in each intercepted communication; generate a signature for each captured executable file; and compare each generated signature to the respective signature saved in the spawned processes profile, wherein the violation of the spawned processes profile is detected based on a signature mismatch for at least one intercepted communication of the intercepted communications. 18. The system of claim 12 , wherein the container image is a static file, wherein the application container is a runtime instance of a software container executing a specific application. 19. The system of claim 12 , wherein the system is further configured to: scan at least one program identified in the container image to identify, for each scanned program, a callable unit; and map each identified callab

Assignees

Inventors

Classifications

  • G06F21/53Primary

    by executing in a restricted environment, e.g. sandbox or secure virtual machine · CPC title

  • Test or assess software · CPC title

  • G06F21/577Primary

    Assessing vulnerabilities and evaluating computer system security · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11640472B2 cover?
Execution of software containers is secured using security profiles. A security profile is generated for a container image, wherein the container image includes resources utilized to execute a corresponding application container, wherein the generated security profile includes at least a spawned processes profile, wherein the spawned processes profile includes, for each spawned process executed…
Who is the assignee on this patent?
Twistlock Ltd
What technology area does this patent fall under?
Primary CPC classification G06F21/53. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 02 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).