Surviving WAF Bypass
Building Stronger Authentication Defenses for WordPress Websites
Haim Michael
zindrex.com
zindell.com
blog.lifemichael.com
Slide 2
Slide 2 text
Haim Michael
Slide 3
Slide 3 text
My name is Haim Michael, and I am from Tel-Aviv, and I am a lecturer in
the university for advanced topics in computer science.
Jacado Games for Mobile - – Years 2001- 2008
meetup.com/lifemichael youtube.com/lifemichael
XtremePython
xtremepython.dev
XtremeJ
xtremej.dev
XtremeAI
xtremeai.dev
Zindell - Building AI Aligned Companies – Years 2026 - …
XtremeJS
xtremejs.dev
prompo.ai
zindrex.com
ngager.pro
blog.lifemichael.com
Passion for Learning & Building
Slide 4
Slide 4 text
WordPress
Slide 5
Slide 5 text
What is WordPress?
WordPress is an open-source Content Management System (CMS) used to
build and manage websites. It runs primarily on PHP, stores content in a
MySQL-compatible database, and can be extended through themes and
plugins.
https://wordpress.org
Slide 6
Slide 6 text
The LAMP Configuration
Most WordPress installations
run on the LAMP stack.
Slide 7
Slide 7 text
The Popularity of WordPress
WordPress is extremely popular, which makes it attractive for both website
owners and attackers.
Slide 8
Slide 8 text
The Popularity of PHP
PHP is the most popular programming language on the server side of web
applications.
Slide 9
Slide 9 text
Lessons Learned
Slide 10
Slide 10 text
Clean Installation
When moving a WordPress website from one server to another, it's best to
start with a clean installation and set up a new admin.
Slide 11
Slide 11 text
Use HTTPS
HTTPS is an encrypted communication protocol that provides a secure, private
channel between your browser and the web server.
Slide 12
Slide 12 text
Websites Isolation
When managing multiple WordPress websites, it's best to keep them
separate, each with its own database and server.
Slide 13
Slide 13 text
Changing Admin Login Page
There are several free plugins that allow you to change the URL path of the
admin login page.
Slide 14
Slide 14 text
Continuous Automatic Update
WordPress and many of its plugins are continuously updated. Many of these
updates aim at fixing security breaches.
define(‘WP_AUTO_UPDATE_CORE’, ‘direct’);
Make sure you add this line
to the wp-config.php file
Slide 15
Slide 15 text
Avoid FTP Credentials *
WordPress can automatically update itself without using FTP credentials.
Secure your website and avoid sharing your WordPress installation with FTP
credentials.
define(‘FS_METHOD’, ‘direct’);
Make sure you add this line
to the wp-config.php file
Slide 16
Slide 16 text
Controlled Files Ownership *
Make sure the files and folders' permissions don’t infringe on your WordPress
installation.
https://developer.wordpress.org/advanced-administration/security/hardening/#file-permissions
Slide 17
Slide 17 text
Web Application Firewall
Installing a web application firewall (WAF) is a MUST, but it isn’t enough, and in
some cases it isn't possible. Install PressGate to add one more layer of
security.
Slide 18
Slide 18 text
Plugins & Themes
Remove themes and plugins you don’t need. Use only plugins you trust.
Ensure the plugins and themes folders include plugins and themes you are
familiar with. The same with themes.
Slide 19
Slide 19 text
Private Key Access
When possible, access your files on the remote server using private key
access or a web interface the hosting company provided. This is safer than
using a username and password.
Slide 20
Slide 20 text
Minimal Firewall Rules
When possible, configure the website firewall to work with the minimum
required access.
Slide 21
Slide 21 text
PHPMyAdmin
PHPMyAdmin is, by default, the most popular web application for managing a
MySQL installation. If possible, choose to remove it.
Slide 22
Slide 22 text
Two Step Authentication
Two-step authentication (2FA) adds an extra layer of security beyond the
password. Even if an attacker steals or guesses the password, they still need
the second authentication factor to log in. With PressGate, you can easily add
TOTP-based two-step authentication to WordPress for free.
https://zindrex.com/pressgate
Slide 23
Slide 23 text
Takeaways
Slide 24
Slide 24 text
Operational Rigor
Approach WordPress security as an operational discipline, not as a one-time
plugin installation.
Use automatic updates, restricted access, backups, and isolation as part of a
practical hardening strategy.
Slide 25
Slide 25 text
Safer Recovery
Perform a safer WordPress migration or recovery without copying possible
backdoors. Make sure you inspect uploaded files and database exports for
suspicious content before reuse.
Slide 26
Slide 26 text
Reduce Risk by Minimization
Reduce risk by minimizing plugins, themes, admin tools, users, and exposed
services.
Slide 27
Slide 27 text
Safer Files Ownership *
Configure safer files and directory ownership in order to protect the file
system.
Slide 28
Slide 28 text
The FTP Credentials *
Don’t rely on FTP credentials and don’t allow the WordPress installation to
use them.
Slide 29
Slide 29 text
Informed Tradeoff
Make informed tradeoffs between
convenience and security when
managing WordPress websites.
Slide 30
Slide 30 text
Layers of Security
Installing a plugin or using a
WAF is just one more layer of
hardening.
Slide 31
Slide 31 text
PressGate
The PressGate plugin adds an additional layer of security for the admin login web
page. PressGate is available for free (GPL). More info at https://zindrex.com.
Built-in 2FA with Google Authenticator support | Manually block IP addresses from accessing
the website | Easily accessed detailed logs of all logins | Configure thresholds and time windows
for behavior detection | Configure separated login security policies for every role
Slide 32
Slide 32 text
Q&A
Thanks for attending my talk :)
WhatsApp +972.54.6655837
[email protected]
https://blog.lifemichael.com
Let’s Connect
life michael
Monolith vs Microservices