SlideShare a Scribd company logo
It‟s all about the Basics!!
WORDPRESS SECURITY
SUCURI# WHOIS PEREZBOX
• Name: Tony Perez
• Twitter: @perezbox
• Company: Sucuri, Inc.
• Insight: Information Technology
• Passion: Brazilian Jiu Jitsu
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCATL 2
TODAY‟S 5 CHALLENGES
• Knowledge / Awareness
• Administration
• Extensibility
• Credentials
• End-users
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 3
KNOWLEDGE
Check yourself before you wreck yourself
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 4
“The user’s going to pick dancing pigs over
security every time.”
- Bruce Schneider
IT‟S ABOUT RISK REDUCTION!!!
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 5
• Forget the “Why”
• Why is this happening to me?
• Focus on the “How”
• How do I protect myself?
Your risk will never be 0%
DEFENSE IN DEPTH
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 6
• Layered Defenses
“…a concept in which multiple layers of security controls
(defenses) are placed throughout an information technology
(IT) system. Its intent is to provide redundancy in the event a
security control fails or a vulnerability is exploited…”
KNOW THE ENVIRONMENTLAMPSTACK
LINUX
Apache
MySQL
PHP
• This is what it takes to
run WordPress
• Each contains its own
laundry list of known
vulnerabilities
• .org Implementations
not .com
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 7
REALISTIC ENVIRONMENT
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 8
Linux Operating System
Apache
WordPress CPANEL Plesk
MySQL
myLittleAdmin PHPMyAdmin Etc..
PHP
Modules
ASK QUESTIONS…
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 9
• Host:
• What happens if I get hacked and you detect it before I do?
• What backup solution do you offer me?
• What security protocols do you have in place to protect me?
• Designer / Developer:
• Are you following all the appropriate coding best practice guidelines found in the codex?
• Has your code ever been independently reviewed?
• How will my website be maintained after the project completion?
• Who will be responsible for updating my theme / plugin / core when the project is
complete?
• Are my files being backed up in the event of a catastrophe?
TODAY‟S RELEVANT ATTACK VECTORS
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 10
• Access Control
• Brute Force
• Software Vulnerabilities
• Vulnerability Scanners
• Denial of Service (DoS)
• Distributed / Non-Distributed
• Two factor / Multi-Factor
Authentication
• IP White Listing
• Throttling Access Attempts
• Access is King for attackers and
website owners make it too easy
• Facilitated through Poor Passwords
• Little Attention to Access Control‟s
• Applies to all entry points –
email, cpanel, FTP / SFTP, etc…
ACCESS CONTROL
Challenges Solutions
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 11
• Website Firewall – SaaS based
• Stay current with the latest
vulnerability releases
• Apply updates to entire stack when
available
• Keep Only What you need on the
server (production)
• Very difficult for non technical people
• Users refuse to update, some cannot
• Soup Kitchen Servers
• Too many attackers with too much time
• Zero Days
SOFTWARE VULNERABILITIES
Challenges Solutions
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 12
DENIAL OF SERVICE VS BRUTE FORCE
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 13
• Educational Post: http://blog.sucuri.net/2014/03/understanding-denial-of-service-and-
brute-force-attacks-wordpress-joomla-drupal-vbulletin.html
• Differentiating Factor = Intent
• Disruption of Services vs Gaining Access
• Both important in their own Righ
Large Distributed Brute Force WordPress Attack Underway – 40,000 Attacks Per Minute
More than 162,000 WordPress Sites Used for Distributed Denial of Service Attack (DDOS)
CONNECTING
• If you don‟t need it, disable it
• SFTP / SSH is preferred
• FTP works fine – disable if you‟re not using, don‟t talk to me if you are
• FTP/SFTP != WP-ADMIN
• Least Privileged
• You don‟t have to log in FTP / SFTP with full root access
• Everyone doesn‟t need to be an admin
• You don‟t need to log in as admin
• The focus is on the role, not the name of the user
• Accountability – kill generic accounts – who is doing what?
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 14
THE PASSWORD GAME
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 15
• Big enterprises with large
followings
• Big Name
• Worth Investing time and energy
to compromise, bigger return
• Trolling the web looking for
known vulnerabilities
• Ability for mass exposure
• Think “TimThumb”
ATTACK TYPE
Opportunistic Targeted
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 16
BRAND REPUTATION
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 17
• Blacklisting
• Dirty Search Engine Result Pages (SERP)
THE HOW
Nothing fancy here.. The facts
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 18
“Own one Own them All”
TOP SECURITY ISSUES TODAY
• Backdoors
• Injections
• Pharma Hack
• SEO SPAM
• Malicious Redirects
• Defacements
• Form Abuse
• SPAM Emails
• Compromised web servers
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 19
1. Employ Website Firewall
2. Don‟t let WordPress write to itself
3. Filter Access by IP
4. Use a dedicated server / VPS
5. Monitor all Activity (Logging)
6. Enable SSL for transactions
7. Keep environment current (patched)
8. No Soup Kitchen Servers
1. Kill PHP Execution
2. Disable Theme / Plugin Editing via Admin
3. Connect Securely – SFTP / SSH
4. Use Authentication Keys in wp-config
5. Use Trusted Sources
6. Use a local Antivirus – Yes, MAC‟s need one
7. Verify your permissions - D 755 | F 644
8. Least Privileged
9. Kill generic accounts - Accountability
10. Backup your site – yes, Database too
THINGS YOU CAN DO TO REDUCE RISK
The Bare Minimum: Ideal implementations:
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 20
KILL PHP EXECUTION
• The idea is not to let them execute any PHP files. You do so by adding this in an
.htaccess file in the directory of choice. Recommendation:
• WP-INCLUDES
• UPLOADS
#PROTECT [Directory Name]
<Files *.php>
Deny from all
</Files>
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 21
DISABLE PLUGIN/THEME EDITOR
• Add to wp-config – if a user is compromised they won‟t be able to add anything to the
core theme or plugin files.
# Disable Plugin / Theme Editor
Define(„DISALLOW_FILE_EDIT‟,true);
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 22
• Limit Login Attempts
• BackupBuddy
• Akismet
• Better WP Security
• WP Security Audit Log
• Google Authenticator
• WordFence
• Detection – Monitoring / Remediation
• Protection – Website Firewall
• Auditing – Sucuri Premium Plugin
• BackupBuddy
Read about how I set things up here:
http://wpengine.com/2013/04/24/how-tony-
perez-of-sucuri-sets-up-his-own-security/
SECURITY CONFIGURATIONS
My Setup Alternatives
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 23
IMPORTANT SERVICES (PAID)
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 24
• Managed Hosting
• WPEngine - http://wpengine.com/
• Page.ly - http://page.ly/
• WebSynthesis - http://websynthesis.com/
• Maintenance Services
• Maintainn - http://maintainn.com/
• Security
• Sucuri – http://sucuri.net
• Sucuri Blog: http://blog.sucuri.net
• SiteCheck Scanner:
http://sitecheck.sucuri.net
• Unmask Parasites:
http://unmaskparasites.com
• Secunia Security Advisories:
http://secunia.com/community/advisories/
search/?search=wordpress
• Hacked –
http://wordpress.org/tags/hacked
• Malware –
http://wordpress.org/tags/malware
• BadwareBusters –
https://badwarebusters.org
• WordPress Hardening
• http://codex.wordpress.org/Hardeni
ng_WordPress
KNOW WHERE TO GO
Support Forums Online Resources
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 25
BLACKLIST SOURCES
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 26
• Google
• Search Engine Results Page (SERP)
• http://www.google.com/webmaster/tools
• http://www.google.com/safebrowsing/diagnostic?site=[your site]
• Bing
• Internet Explorer | Yahoo
• http://www.bing.com/toolbox/webmaster/
• Norton
• SafeWeb Browsing | Facebook
• http://safeweb.norton.com/
• AVG
• Opera
• http://www.avgthreatlabs.com/sitereports/
Sucuri, Inc.
Tony Perez
http://sucuri.net
http://blog.sucuri.net
http://perezbox.com | @perezbox
3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 27

More Related Content

PPTX
WordPress Security - Learning From Hacks
PPTX
Hacked - What do you do now?
PPTX
WordPress Security Begins With Good Posture
PPT
TBEX - North America 2014 - 5 Tips to Keep Your Content and Users Safe
PPTX
Steps to Keep Your Site Clean
PDF
Sucuri Webinar: How to Clean a Hacked Magento Website
PDF
Sucuri Webinar: How to identify and clean a hacked Joomla! website
PPTX
Sucuri Webinar: WAF (Firewall) and CDN Feature Benefit Guide
WordPress Security - Learning From Hacks
Hacked - What do you do now?
WordPress Security Begins With Good Posture
TBEX - North America 2014 - 5 Tips to Keep Your Content and Users Safe
Steps to Keep Your Site Clean
Sucuri Webinar: How to Clean a Hacked Magento Website
Sucuri Webinar: How to identify and clean a hacked Joomla! website
Sucuri Webinar: WAF (Firewall) and CDN Feature Benefit Guide

What's hot (20)

PPTX
Sucuri Webinar: How Caching Options Can Impact Your Website Speed
PPTX
Sucuri Webinar: Leveraging Sucuri's API
PPTX
WCEU 2016 - 10 tips to sleep better at night
PPTX
Sucuri Webinar: How Websites Get Hacked
PPTX
WordPress Hardening v4
PPTX
Website Security - It Begins With Good Posture
PPTX
Sucuri Webinar: What is SEO Spam and How to Fight It
PPTX
Sucuri Webinar: Website Security Primer for Digital Marketers
PDF
Sucuri Webinar: How to clean hacked WordPress sites
PDF
WPSecurity best practices of securing a word press website
DOCX
Secure wordpress site
PPTX
WP Security - Master Class #SMWLagos2014
PPTX
Navigating Online Threats - Website Security for Everyday Website Owners
PPTX
Webinar: Personal Online Privacy - Sucuri Security
PDF
WordPress Security Essentials WordCamp Denver 2012
PPTX
What Are the Most Common Types of Hacks?
PDF
Bug bounty or beg bounty?
PPTX
Why Do Hackers Hack?
PDF
TechCrunch Early Stage 2020 - How to prioritize security at your startup
PDF
NetVU Tech-4290/4390
Sucuri Webinar: How Caching Options Can Impact Your Website Speed
Sucuri Webinar: Leveraging Sucuri's API
WCEU 2016 - 10 tips to sleep better at night
Sucuri Webinar: How Websites Get Hacked
WordPress Hardening v4
Website Security - It Begins With Good Posture
Sucuri Webinar: What is SEO Spam and How to Fight It
Sucuri Webinar: Website Security Primer for Digital Marketers
Sucuri Webinar: How to clean hacked WordPress sites
WPSecurity best practices of securing a word press website
Secure wordpress site
WP Security - Master Class #SMWLagos2014
Navigating Online Threats - Website Security for Everyday Website Owners
Webinar: Personal Online Privacy - Sucuri Security
WordPress Security Essentials WordCamp Denver 2012
What Are the Most Common Types of Hacks?
Bug bounty or beg bounty?
Why Do Hackers Hack?
TechCrunch Early Stage 2020 - How to prioritize security at your startup
NetVU Tech-4290/4390
Ad

Viewers also liked (8)

PPTX
Building a Security Framework for Websites
PPTX
WordPress Website Security - Trends, Threats, Defenses
PPT
Facebook security
PPT
Information security
PPTX
Facebook Security SMCMIDMO
PPTX
Cybercrime.ppt
PPTX
Cyber crime and security ppt
Building a Security Framework for Websites
WordPress Website Security - Trends, Threats, Defenses
Facebook security
Information security
Facebook Security SMCMIDMO
Cybercrime.ppt
Cyber crime and security ppt
Ad

Similar to WordPress Security 2014 - The Basics of Security (20)

PPTX
WordPress Security - The "No-BS" Version
PDF
KoprowskiT-Difinify2017-SQL_Security_In_The_Cloud
PDF
Shiny, Let’s Be Bad Guys: Exploiting and Mitigating the Top 10 Web App Vulner...
PDF
WordPress Security 101 – WordCamp Finland 2016 presentation by Otto Kekäläine...
PPTX
How to Secure your WordPress Website - WordCamp UK 2014
PDF
WordPress security 101 - WP Jyväskylä Meetup 21.3.2017
PDF
WordPress security 101 - WP Turku Meetup 2.2.2017
PDF
Attacking Drupal
PPT
Blog World 2010 - How to Keep Your Blog from Being Hacked
PPTX
2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite
PDF
USG Rock Eagle 2017 - PWP at 1000 Days
PDF
We4IT lcty 2013 - keynote - worst practices - the best of the worst
PDF
Getting Down and Dirty with Accessibility and Usability workshop at TCUK12
PDF
WordPress Security 101 - Meetup Nairobi March 2020
PDF
Seravo.com: WordPress Security 101
PPTX
Cyber security fundamentals & ethical hacking
PPTX
Locking down word press
PDF
WordPress Security Essentials
PDF
Dakotacon 2017
PDF
Adminblast 2013
WordPress Security - The "No-BS" Version
KoprowskiT-Difinify2017-SQL_Security_In_The_Cloud
Shiny, Let’s Be Bad Guys: Exploiting and Mitigating the Top 10 Web App Vulner...
WordPress Security 101 – WordCamp Finland 2016 presentation by Otto Kekäläine...
How to Secure your WordPress Website - WordCamp UK 2014
WordPress security 101 - WP Jyväskylä Meetup 21.3.2017
WordPress security 101 - WP Turku Meetup 2.2.2017
Attacking Drupal
Blog World 2010 - How to Keep Your Blog from Being Hacked
2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite
USG Rock Eagle 2017 - PWP at 1000 Days
We4IT lcty 2013 - keynote - worst practices - the best of the worst
Getting Down and Dirty with Accessibility and Usability workshop at TCUK12
WordPress Security 101 - Meetup Nairobi March 2020
Seravo.com: WordPress Security 101
Cyber security fundamentals & ethical hacking
Locking down word press
WordPress Security Essentials
Dakotacon 2017
Adminblast 2013

More from Tony Perez (11)

PPTX
A Practical Security Framework for Website Owners
PPTX
2017 WHD - Bridging the Divide Between Behavior and Security
PPTX
Accounting for Website Security in Higher Education
PPTX
Business of People - Lessons Learned Building a Remote Workforce
PPTX
Website Security (WordPress) - It's About the Basics
PPTX
Website Security - Latest and Greatest (WordPress 2014)
PPTX
WordCamp Minneapolis 2014 - Website Security Presentation - Sucuri Security
PPTX
Joomla! Day Atlanta 2014 - Website Security - The Basics
PPTX
Word press website security
PPTX
WordPress Security - Dealing With Today's Hacks
PPTX
Word camp orange county 2012 enduser security
A Practical Security Framework for Website Owners
2017 WHD - Bridging the Divide Between Behavior and Security
Accounting for Website Security in Higher Education
Business of People - Lessons Learned Building a Remote Workforce
Website Security (WordPress) - It's About the Basics
Website Security - Latest and Greatest (WordPress 2014)
WordCamp Minneapolis 2014 - Website Security Presentation - Sucuri Security
Joomla! Day Atlanta 2014 - Website Security - The Basics
Word press website security
WordPress Security - Dealing With Today's Hacks
Word camp orange county 2012 enduser security

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
cuic standard and advanced reporting.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Electronic commerce courselecture one. Pdf
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Cloud computing and distributed systems.
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
KodekX | Application Modernization Development
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Approach and Philosophy of On baking technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Machine learning based COVID-19 study performance prediction
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Empathic Computing: Creating Shared Understanding
cuic standard and advanced reporting.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Electronic commerce courselecture one. Pdf
sap open course for s4hana steps from ECC to s4
Cloud computing and distributed systems.
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
KodekX | Application Modernization Development
Dropbox Q2 2025 Financial Results & Investor Presentation
Spectral efficient network and resource selection model in 5G networks
Approach and Philosophy of On baking technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Unlocking AI with Model Context Protocol (MCP)
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
The Rise and Fall of 3GPP – Time for a Sabbatical?

WordPress Security 2014 - The Basics of Security

  • 1. It‟s all about the Basics!! WORDPRESS SECURITY
  • 2. SUCURI# WHOIS PEREZBOX • Name: Tony Perez • Twitter: @perezbox • Company: Sucuri, Inc. • Insight: Information Technology • Passion: Brazilian Jiu Jitsu 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCATL 2
  • 3. TODAY‟S 5 CHALLENGES • Knowledge / Awareness • Administration • Extensibility • Credentials • End-users 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 3
  • 4. KNOWLEDGE Check yourself before you wreck yourself 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 4 “The user’s going to pick dancing pigs over security every time.” - Bruce Schneider
  • 5. IT‟S ABOUT RISK REDUCTION!!! 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 5 • Forget the “Why” • Why is this happening to me? • Focus on the “How” • How do I protect myself? Your risk will never be 0%
  • 6. DEFENSE IN DEPTH 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 6 • Layered Defenses “…a concept in which multiple layers of security controls (defenses) are placed throughout an information technology (IT) system. Its intent is to provide redundancy in the event a security control fails or a vulnerability is exploited…”
  • 7. KNOW THE ENVIRONMENTLAMPSTACK LINUX Apache MySQL PHP • This is what it takes to run WordPress • Each contains its own laundry list of known vulnerabilities • .org Implementations not .com 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 7
  • 8. REALISTIC ENVIRONMENT 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 8 Linux Operating System Apache WordPress CPANEL Plesk MySQL myLittleAdmin PHPMyAdmin Etc.. PHP Modules
  • 9. ASK QUESTIONS… 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 9 • Host: • What happens if I get hacked and you detect it before I do? • What backup solution do you offer me? • What security protocols do you have in place to protect me? • Designer / Developer: • Are you following all the appropriate coding best practice guidelines found in the codex? • Has your code ever been independently reviewed? • How will my website be maintained after the project completion? • Who will be responsible for updating my theme / plugin / core when the project is complete? • Are my files being backed up in the event of a catastrophe?
  • 10. TODAY‟S RELEVANT ATTACK VECTORS 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 10 • Access Control • Brute Force • Software Vulnerabilities • Vulnerability Scanners • Denial of Service (DoS) • Distributed / Non-Distributed
  • 11. • Two factor / Multi-Factor Authentication • IP White Listing • Throttling Access Attempts • Access is King for attackers and website owners make it too easy • Facilitated through Poor Passwords • Little Attention to Access Control‟s • Applies to all entry points – email, cpanel, FTP / SFTP, etc… ACCESS CONTROL Challenges Solutions 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 11
  • 12. • Website Firewall – SaaS based • Stay current with the latest vulnerability releases • Apply updates to entire stack when available • Keep Only What you need on the server (production) • Very difficult for non technical people • Users refuse to update, some cannot • Soup Kitchen Servers • Too many attackers with too much time • Zero Days SOFTWARE VULNERABILITIES Challenges Solutions 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 12
  • 13. DENIAL OF SERVICE VS BRUTE FORCE 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 13 • Educational Post: http://blog.sucuri.net/2014/03/understanding-denial-of-service-and- brute-force-attacks-wordpress-joomla-drupal-vbulletin.html • Differentiating Factor = Intent • Disruption of Services vs Gaining Access • Both important in their own Righ Large Distributed Brute Force WordPress Attack Underway – 40,000 Attacks Per Minute More than 162,000 WordPress Sites Used for Distributed Denial of Service Attack (DDOS)
  • 14. CONNECTING • If you don‟t need it, disable it • SFTP / SSH is preferred • FTP works fine – disable if you‟re not using, don‟t talk to me if you are • FTP/SFTP != WP-ADMIN • Least Privileged • You don‟t have to log in FTP / SFTP with full root access • Everyone doesn‟t need to be an admin • You don‟t need to log in as admin • The focus is on the role, not the name of the user • Accountability – kill generic accounts – who is doing what? 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 14
  • 15. THE PASSWORD GAME 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 15
  • 16. • Big enterprises with large followings • Big Name • Worth Investing time and energy to compromise, bigger return • Trolling the web looking for known vulnerabilities • Ability for mass exposure • Think “TimThumb” ATTACK TYPE Opportunistic Targeted 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 16
  • 17. BRAND REPUTATION 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 17 • Blacklisting • Dirty Search Engine Result Pages (SERP)
  • 18. THE HOW Nothing fancy here.. The facts 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 18 “Own one Own them All”
  • 19. TOP SECURITY ISSUES TODAY • Backdoors • Injections • Pharma Hack • SEO SPAM • Malicious Redirects • Defacements • Form Abuse • SPAM Emails • Compromised web servers 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 19
  • 20. 1. Employ Website Firewall 2. Don‟t let WordPress write to itself 3. Filter Access by IP 4. Use a dedicated server / VPS 5. Monitor all Activity (Logging) 6. Enable SSL for transactions 7. Keep environment current (patched) 8. No Soup Kitchen Servers 1. Kill PHP Execution 2. Disable Theme / Plugin Editing via Admin 3. Connect Securely – SFTP / SSH 4. Use Authentication Keys in wp-config 5. Use Trusted Sources 6. Use a local Antivirus – Yes, MAC‟s need one 7. Verify your permissions - D 755 | F 644 8. Least Privileged 9. Kill generic accounts - Accountability 10. Backup your site – yes, Database too THINGS YOU CAN DO TO REDUCE RISK The Bare Minimum: Ideal implementations: 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 20
  • 21. KILL PHP EXECUTION • The idea is not to let them execute any PHP files. You do so by adding this in an .htaccess file in the directory of choice. Recommendation: • WP-INCLUDES • UPLOADS #PROTECT [Directory Name] <Files *.php> Deny from all </Files> 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 21
  • 22. DISABLE PLUGIN/THEME EDITOR • Add to wp-config – if a user is compromised they won‟t be able to add anything to the core theme or plugin files. # Disable Plugin / Theme Editor Define(„DISALLOW_FILE_EDIT‟,true); 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 22
  • 23. • Limit Login Attempts • BackupBuddy • Akismet • Better WP Security • WP Security Audit Log • Google Authenticator • WordFence • Detection – Monitoring / Remediation • Protection – Website Firewall • Auditing – Sucuri Premium Plugin • BackupBuddy Read about how I set things up here: http://wpengine.com/2013/04/24/how-tony- perez-of-sucuri-sets-up-his-own-security/ SECURITY CONFIGURATIONS My Setup Alternatives 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 23
  • 24. IMPORTANT SERVICES (PAID) 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 24 • Managed Hosting • WPEngine - http://wpengine.com/ • Page.ly - http://page.ly/ • WebSynthesis - http://websynthesis.com/ • Maintenance Services • Maintainn - http://maintainn.com/ • Security • Sucuri – http://sucuri.net
  • 25. • Sucuri Blog: http://blog.sucuri.net • SiteCheck Scanner: http://sitecheck.sucuri.net • Unmask Parasites: http://unmaskparasites.com • Secunia Security Advisories: http://secunia.com/community/advisories/ search/?search=wordpress • Hacked – http://wordpress.org/tags/hacked • Malware – http://wordpress.org/tags/malware • BadwareBusters – https://badwarebusters.org • WordPress Hardening • http://codex.wordpress.org/Hardeni ng_WordPress KNOW WHERE TO GO Support Forums Online Resources 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 25
  • 26. BLACKLIST SOURCES 3/15/2014@PEREZBOX @SUCURI_SECURITY #WCCHX 26 • Google • Search Engine Results Page (SERP) • http://www.google.com/webmaster/tools • http://www.google.com/safebrowsing/diagnostic?site=[your site] • Bing • Internet Explorer | Yahoo • http://www.bing.com/toolbox/webmaster/ • Norton • SafeWeb Browsing | Facebook • http://safeweb.norton.com/ • AVG • Opera • http://www.avgthreatlabs.com/sitereports/

Editor's Notes

  • #6: As humans we like to focus too much on the “Why me? Why would they do this? Why my site?” but the reality is that we rarely do what we have to from the get go. How many of those same people asking the “Why” spent the time asking the “How” before they got a website.I know I didn’t….By How I mean, how do I protect myself? This ofcourse is not fault to you as website owners. It just hasn’t been instilled in our brains yet. When you buy a car, before you get off the lot the sales person is telling you about insurance and things like GAP. When you buy a computer, they come with builtinAntiVirus, offering 6 months free, and making it difficult for you to get rid of later. The reality, these are very annoying pesky examples but it puts it in our minds. We need insurance. We need an antivirus. Can we say the same for when we are building a website or when we’re requesting it? Can we say that we’re asking our developers and maintainers the right questions?