18362010. METHOD AND SYSTEM FOR DYNAMICALLY UPDATING STACK CANARY simplified abstract (SAMSUNG ELECTRONICS CO., LTD.)

From WikiPatents
Jump to navigation Jump to search

METHOD AND SYSTEM FOR DYNAMICALLY UPDATING STACK CANARY

Organization Name

SAMSUNG ELECTRONICS CO., LTD.

Inventor(s)

Jaeyoung Lee of Suwon-si (KR)

Sachin Pundkar of Bengaluru (IN)

Somraj Mani of Bengaluru (IN)

Surendra Singh of Bengaluru (IN)

Tushar Vrind of Bengaluru (IN)

Venkata Raju Indukuri of Bengaluru (IN)

Danby Kim of Suwon-si (KR)

METHOD AND SYSTEM FOR DYNAMICALLY UPDATING STACK CANARY - A simplified explanation of the abstract

This abstract first appeared for US patent application 18362010 titled 'METHOD AND SYSTEM FOR DYNAMICALLY UPDATING STACK CANARY

Simplified Explanation

- A canary update method involves updating a canary value based on a flag value of a task. - The method includes extracting a first value from an array, setting the canary to this value, and then updating the canary if necessary. - The processor accesses memory through a mapping circuit that maps physical memory regions to virtual memory regions. - The mapping circuit helps in managing memory for tasks and updating canary values efficiently.

Potential Applications

- This technology can be applied in software security systems to detect buffer overflow attacks. - It can be used in operating systems to enhance memory protection mechanisms.

Problems Solved

- Prevents buffer overflow attacks by updating canary values efficiently. - Helps in managing memory regions for tasks effectively.

Benefits

- Enhances security by updating canary values based on task flag values. - Improves memory management through the use of mapping circuits.


Original Abstract Submitted

A canary update method according to some embodiments is disclosed. The canary update method includes executing, by a processor configured to process tasks including the canary, computer program instructions to perform operations including extracting, by a processor, a first value from an array including N values, setting the canary to the first value, determining that the canary is updated based on a canary flag value of a first task, extracting, when determined that the canary is updated, a second value from the array, and updating the canary of the first task to the second value. The processor is configured to access a memory through a mapping circuit, and the mapping circuit includes mapping information between a physical memory region in the memory corresponding to the first task and a virtual memory region associated with the mapping circuit.