<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Wpsdt4_license_key on Cybersecurity Research</title><link>https://lukeleal.com/research/tags/wpsdt4_license_key/</link><description>Recent content in Wpsdt4_license_key on Cybersecurity Research</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 14 May 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://lukeleal.com/research/tags/wpsdt4_license_key/index.xml" rel="self" type="application/rss+xml"/><item><title>pluggable.php Login Stealer - XOR'd Passwords in a Fake License Key</title><link>https://lukeleal.com/research/posts/pluggable-php-wp-authenticate-stealer/</link><pubDate>Tue, 14 May 2024 00:00:00 +0000</pubDate><guid>https://lukeleal.com/research/posts/pluggable-php-wp-authenticate-stealer/</guid><description>&lt;p&gt;In my &lt;a href="https://lukeleal.com/research/posts/wp-login-keylogger/"&gt;wp-login.php keylogger post&lt;/a&gt; the injection sat in the login page itself. This sample goes one level deeper into WordPress: it modifies &lt;strong&gt;&lt;code&gt;wp-includes/pluggable.php&lt;/code&gt;&lt;/strong&gt;, the core file that defines &lt;code&gt;wp_authenticate()&lt;/code&gt;, so the credentials are captured no matter &lt;em&gt;how&lt;/em&gt; a user logs in.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;It only logs logins that succeeded. The attacker gets working passwords and nothing else.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="why-pluggablephp"&gt;Why pluggable.php&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;wp_authenticate()&lt;/code&gt; is the function WordPress calls to check a username and password. The login form, &lt;code&gt;xmlrpc.php&lt;/code&gt;, and plugins that handle logins all end up there. By editing the function in place, the attacker doesn&amp;rsquo;t have to hook into any one login page.&lt;/p&gt;</description></item></channel></rss>