module

Emacs Extension Persistence

Disclosed
Jan 28, 2026
Created
Feb 18, 2026

Description

This module adds a lisp based malicious extension to the emacs configuration file.
When emacs is opened, the extension will be loaded and the payload will be executed.

Tested against emacs 29.3 build 1 on Ubuntu Desktop 24.04.

Author

h00die

Platform

Linux

Architectures

cmd, x86, x64

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/linux/persistence/emacs_extension
msf exploit(emacs_extension) > show targets
...targets...
msf exploit(emacs_extension) > set TARGET < target-id >
msf exploit(emacs_extension) > show options
...show and set options...
msf exploit(emacs_extension) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.