一种基于关键地址动态保护的栈溢出自动防御方法
By dynamically instrumenting function return addresses and utilizing a memory manager to detect and set memory attributes, this approach solves the problems of low efficiency and incomplete defense against stack overflows in existing technologies, achieving efficient defense against return2shellcode and return2libc attacks.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- RUAN AN TECH CO LTD
- Filing Date
- 2023-03-01
- Publication Date
- 2026-07-17
AI Technical Summary
Existing stack overflow defense technologies suffer from low efficiency, consume additional stack space, and cannot completely defend against return2shellcode and return2libc attacks.
By dynamically instrumenting function return addresses during function calls, utilizing the memory manager to detect and prevent tampering, and combining memory properties to be set to read-only or writable, instrumentation can be automated, and instrumentation can be performed using eBPF, kprobe, uprobe, or frida frameworks.
It effectively prevents the function return address from being tampered with, defends against return2shellcode and return2libc attacks, improves defense efficiency, and reduces stack space waste.
Smart Images

Figure CN116150739B_ABST