FRIENDS OF SEARCH HARDENING WORDPRESS VARIOUS TWEAKS FOR BETTER WP SECURITY



Similar documents
Nikolay Zaynelov Annual LUG-БГ Meeting nikolay.zaynelov.com

Hacking the WordpressEcosystem

Protect Your Websites and Beat the Hackers

WordPress Security Scan Configuration

Web Hosting Wordpress, Joomla, Drupal Integration

Hardening WordPress. (or, How Not To Get Hacked And What To Do When You Are) Gregory Ray dot gray Sunday, March 15, 15

Hardening Joomla 1. HARDENING PHP. 1.1 Installing Suhosin. 1.2 Disable Remote Includes. 1.3 Disable Unneeded Functions & Classes

Site Store Pro. INSTALLATION GUIDE WPCartPro Wordpress Plugin Version

Content Management System

FileCloud Security FAQ

MAGENTO Migration Tools

Rensselaer Union Club Webhosting CPanel Guide

EZblue BusinessServer The All - In - One Server For Your Home And Business

The easy way to a nice looking website design. By a total non-designer (Me!)

Kenna Platform Security. A technical overview of the comprehensive security measures Kenna uses to protect your data

Trend Micro Worry- Free Business Security st time setup Tips & Tricks

FocusOPEN Deployment & Configuration Guide

Livezilla How to Install on Shared Hosting By: Jon Manning

IceWarp to IceWarp Server Migration

EZblue BusinessServer The All - In - One Server For Your Home And Business

WordPress 2.9 e-commerce

How to break in. Tecniche avanzate di pen testing in ambito Web Application, Internal Network and Social Engineering

FortiOS Handbook - Hardening your FortiGate VERSION 5.2.3

Automated CPanel Backup Script. for home directory backup, remote FTP backup and Amazon S3 backup

NSi Mobile Installation Guide. Version 6.2

File Space / Web Space / Database Space - Self-Service Allocation August 2009

XXIntroduction. XXRequirements. XXInstallation. XXInterface. XXUsage Instructions

The Web Pro Miami, Inc. 615 Santander Ave, Unit C Coral Gables, FL T: info@thewebpro.com

Web Plus Security Features and Recommendations

Eylean server deployment guide

How to Create a WordPress web site at

Sophos UTM Web Application Firewall for Microsoft Exchange connectivity

Acunetix Web Vulnerability Scanner. Getting Started. By Acunetix Ltd.

FaxCore Ev5 Database Migration Guide :: Microsoft SQL 2008 Edition

Ruby on Rails Secure Coding Recommendations

Wordpress Security. A guide on how to not get hacked when using wordpress. David Kennedy (ReL1K) Twitter: Dave_ReL1K

14. CUCM 8 - free sftp solution for backup on ubuntu server

1. An Introduction to cpanel. Welcome to Thanks for signing up. 2. How Domain Names work

I. Delivery Flash CMS template package II. Flash CMS template installation III. Control Panel setup... 5

Using the Web service

Web24 Web Hosting Guide

How to Install WordPress Manually: Securing and De-Bloating WordPress

GFI White Paper PCI-DSS compliance and GFI Software products

Setup Corporate (Microsoft Exchange) . This tutorial will walk you through the steps of setting up your corporate account.

FileMaker Security Guide The Key to Securing Your Apps

Joomla Security Report

30 Steps to Successfully Installing DotNetNuke on a Network Solutions Shared Hosting Package

Accessing the FTP Server - User Manual

User's Guide. Product Version: Publication Date: 7/25/2011

Achieving PCI COMPLIANCE with the 2020 Audit & Control Suite.

THE PLAN FOR TODAY. Welcome to Camp Tech!

Getting Started with Web Hosting at TechServ

Criteria for web application security check. Version

Secure Messaging Server Console... 2

Customer Control Panel Manual

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

DSI File Server Client Documentation

PaperStream Connect. Setup Guide. Version Copyright Fujitsu

2011 ithemes Media LLC. All rights reserved in all media. May be shared with copyright and credit left intact.!

1. Introduction. 2. Web Application. 3. Components. 4. Common Vulnerabilities. 5. Improving security in Web applications

Migration Manual (For Outlook 2010)

How To Set Up Ops Cser.Com (Pros) For A Pc Or Mac) With A Microsoft Powerbook (Proos) (Prosecco) (Powerbook) (Pros) And Powerbook.Com/

SECURITY OF WEB CONTENT MANAGEMENT SYSTEMS

Introduction to PhPCollab

User Guide Trust Safety Accounting Upload PC Law and SFTP Software Release: Final Date

Zed E-Commerce and WebCRM 7.5. Release Notes 11/29/2011

Locking down a Hitachi ID Suite server

PC Monitor Enterprise Server. Setup Guide

osclass open source classifieds Installation Guide step by step

Microsoft Virtual Labs. Administering the IIS 7 File Transfer Protocol (FTP) Server

Exchange Integration DME 4.4 Microsoft Exchange 2007, 2010, 2013

Click Studios. Passwordstate. Upgrade Instructions to V7 from V5.xx

Installation Guide for WebSphere Application Server (WAS) and its Fix Packs on AIX V5.3L

This book is solely for personal use. You do not have the right to resell or distribute in any form. E-Design LLC

Digital Downloads Pro

MySQL quick start guide

NetWrix SQL Server Change Reporter. Quick Start Guide

REDCap Technical Overview

shweclassifieds v 3.3 Php Classifieds Script (Joomla Extension) User Manual (Revision 2.0)

Lesson One Creating the Website and the WordPress Process

WordPress websites themes and configuration user s guide v. 1.6

NetBrain Security Guidance

IIS, FTP Server and Windows

Introduction to Google Apps for Business Integration

Omniquad Exchange Archiving

System Administration Training Guide. S100 Installation and Site Management

Web Application Guidelines

Ad Hoc (Temporary) Accounts Instructions

Online Backup - Installation and Setup

SECUR IN MIRTH CONNECT. Best Practices and Vulnerabilities of Mirth Connect. Author: Jeff Campbell Technical Consultant, Galen Healthcare Solutions

ABOUT TOOLS4EVER ABOUT DELOITTE RISK SERVICES

Experian Secure Transport Service

Transcription:

FRIENDS OF SEARCH HARDENING WORDPRESS VARIOUS TWEAKS FOR BETTER WP SECURITY

WHO HAD (TO FIX) A HACKED WORDPRESS?

bg.vu/fos14

WHAT REALLY MATTERS: TOP 3! IF YOU HAVE 5 MINS TO SPARE, JUST DO THESE

92% (of ~500 sites)

#1 Update your blogs regularly! http://wordpress.org/extend/plugins/wp-updates-notifier/

Change update behavior # Disables ALL core updates: define('wp_auto_update_core', false); Be sure to REALLY know what you re doing there! # Enables all core updates, including minor and majors: define('wp_auto_update_core', true); # Default: Enables core updates for minor releases: define('wp_auto_update_core', 'minor'); Want something more fine-grained? Check AUTO_UPDATE_$TYPE filter (e.g. auto_update_plugin, auto_update_theme, etc.) which is used for specific updates. http://github.com/georgestephanis/update-control/

WWW.INFINITEWP.COM

WWW.MANAGEWP.COM

#2 Get rid of stuff you don t use! Remove all inactive plug-ins as well as themes!

#3 Backup Database & Files, often! http://wordpress.org/extend/plugins/backwpup/

SECURITY STARTS AT SETUP MAKE THINGS RIGHT FROM THE BEGINNING!

#4 Setup WordPress properly Use unique keys and salts to add random elements for encryption! Use a cryptic prefix to prevent automated scripts and SQL injections. $table_prefix = wp_vzqcxsjv7ul_ ; https://api.wordpress.org/secret-key/1.1/salt/

#5 Protect your wp-config.php <files wp-config.php> order deny,allow deny from all </files> This needs to go into your WP roots.htaccess file to prevent external access Even better move wpconfig.php outside of www. Also do chmod 400/440

#6 Remove the default admin Setup new user as admin; logout. Login w/ new admin; delete old one. Make sure to use a STRONG password, pleeaaasssseeee! http://www.random.org/passwords/

FileZilla stores passwords unencrypted in a well known file. There is malware out there that looks for these straight away! Don t use the Normal logon type. There are the Ask for password and the Interactive types that won t save your passwords on disk. Even better: Don t use FileZilla and regular FTP logins, at all! NEVER EVER STORE PASSWORDS! AT LEAST: SWITCH TO SFTP & USE A PROPER CLIENT!

WWW.LASTPASS.COM

#7 Protect your Login (and wp-admin) Recommended: Try the Lockdown WP Admin plug-in to protect PHP files in wpadmin as well as the login itself. Don t just put an.htaccess for basic passwd. protection. It s a lot of pain http://wordpress.org/extend/plugins/lockdown-wp-admin/

#8 Lock-out multiple failed logins Limit Login Attempts http://wordpress.org/extend/plugins/limit-login-attempts/

#9 Even better: Two-factor Verification Info: http://gdig.de/1t - Download: http://gdig.de/1u

#9 Even better: Two-factor Verification Google Authenticator http://wordpress.org/plugins/google-authenticator/

#9 Even better: Two-factor Verification Provide your login credentials and get auth-code from your mobile phones G-Auth-App.

WWW.DUOSECURITY.COM

WWW.DUOSECURITY.COM

WWW.GETCLEF.COM

#10 Block malicious URL requests domain.com/?q=%2e%2e or domain.com/path/base64_ will return HTTP 403 (Forbidden). http://wordpress.org/plugins/block-bad-queries/

ADDITIONAL TWEAKS THINGS YOU COULD DO IN YOUR CONFIG AS WELL

#11 SSL Logins & Administration define('force_ssl_login', true); Set FORCE_SSL_LOGIN to true to force all logins to happen over SSL. (still allows non-ssl admin sessions) define('force_ssl_admin', true); Use FORCE_SSL_ADMIN to force all logins and all admin sessions to happen over SSL (can be slow )

#12 Move the wp-content folder define('wp_content_dir', $_SERVER['DOCUMENT_ROOT'].'/blog/my-wp-content'); WP_CONTENT_DIR points to new the full local path (no trailing slash) define('wp_content_url', 'http://domain.com/blog/my-wp-content'); WP_CONTENT_URL points to new full URI (no trailing slash either)

#13 Disable File Editing define('disallow_file_edit', true); Set DISALLOW_FILE_EDIT to true to disable editing files from dashboard. By default, admins are allowed to edit PHP files. Setting the above is equivalent to removing the 'edit_themes', 'edit_plugins' and 'edit_files' capabilities of all users.

#14 Fix File & Folder Permissions WP-Security Scan Very important: chmod your wp-config.php to be read-only! http://wordpress.org/extend/plugins/wp-security-scan/

WORDPRESS.ORG/PLUGINS/WORDFENCE/

WORDPRESS.ORG/PLUGINS/BETTER-WP-SECURITY/

@basgr SEO Trainings, Seminars & Strategy Consulting Berlin-based Full-Service Performance Marketing Agency WordPress Security, Consulting & Development bg.vu/fos14