Skip to content

Struct module list pointers modify#56

Open
Cu63 wants to merge 2 commits intom0nad:masterfrom
Cu63:struct_module_list_pointers_modify
Open

Struct module list pointers modify#56
Cu63 wants to merge 2 commits intom0nad:masterfrom
Cu63:struct_module_list_pointers_modify

Conversation

@Cu63
Copy link
Copy Markdown
Contributor

@Cu63 Cu63 commented Apr 24, 2026

@m0nad HI

Modify list.prev and list.next after module_hide() to avoid detection
After list_del(), the kernel sets list.prev and list.next to
LIST_POISON1/LIST_POISON2. Security tools detect hidden modules by
scanning for these well-known poison values.
This patch overwrites both pointers with a custom value after removal,
making the module's list entry less detectable by automated scanners.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant