https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285021
--- Comment #7 from WZIS Software <[email protected]> --- Our software now can combat root-based attacks when the attacker tries to using gdb to dynamically debug our program, using truss to attach our process, tries to open /dev/mem, /dev/kmem to checking the memory to find critical info from our process or from our software protected program. But without the procctl to function properly, our software is still not able to combat attacks that creating a coredump from our process or protected process. [root@bsd123 ~]# truss -p 3652 truss: can not attach to target process: Function not implemented [root@bsd123 ~]# gdb -p 3652 GNU gdb (GDB) 13.2 [GDB v13.2 for FreeBSD] Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd13.2". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 3652 ptrace: Function not implemented. (gdb) quit [root@bsd123 ~]# sleep 1000 </dev/mem Killed [root@bsd123 ~]# sleep 1000 </dev/kmem Killed [root@bsd123 ~]# -- You are receiving this mail because: You are the assignee for the bug.
