surviving a server hack: lessons learned ... - wordpress… · software only site •millennium,...

27
SURVIVING A SERVER HACK: LESSONS LEARNED & WAYS TO SECURE YOUR SYSTEM Lou Balek, Information Security Specialist Marie Martino, Systems and Catalog Services Librarian WILIUG SPRING CONFERNCE 2015

Upload: others

Post on 06-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

SURVIVING A SERVER HACK: LESSONS

LEARNED & WAYS TO SECURE YOUR

SYSTEM

Lou Balek, Information Security Specialist

Marie Martino, Systems and Catalog Services Librarian

WILIUG SPRING CONFERNCE 2015

Page 2: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

MORAINE VALLEY COMMUNITY COLLEGE

• 2 year public cc in SW suburbs

just outside Chicago

• Spring 2015

• FTE: 9,066

• Headcount: 15,293

• Collection:

• 111,000+ Items

• Recently moved from Turnkey

Software Only Site

• Millennium, 2011

Page 3: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

SysLib’s Log : Stardate 68421.4

(December 15, 2014)

3:31pm – call from IT about excessive

traffic on server/iii contacted

4:51pm – Millennium is reported

down/iii contacted again

6:55pm – iii contacted with request to

follow-up

Page 4: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

H A C K E D!

Page 5: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

SysLib’s Log : Stardate 68421.4

(December 15, 2014)

7:53pm - sent email to key staff

with iii update; early morning

meeting scheduled

8:55pm - strategic communication

approved and sent out to public

about the system being down

Page 6: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

REBUILDING PROCESS

iii disables Millennium and ability to restart it

IT takes server offline

IT wipes server

IT reinstalls OS & iii reinstalls Millennium

iii restores the DB

IT brings server back online

All of us test

All of us(re)configure

All of us deal with lingering/hidden issues

Page 7: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

DB RESTORATION

Bumpy start to process seemed to set the tone for remainder

System was completely down about 43.5 hours

Core public services were fully restored first* (catalog, WAM)

Millennium back end was partially operational after additional 12 hours (early post-reconfig, testing, and fresh backup)

Some components needed to be pieced back together

Took a full month to recover

*Well, mostly, if you don’t count Encore, more on that later . . .

Page 8: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

CHALLENGES

Timing Issues

Never a good time for a hack . . .

Finals Week

Just before our winter break (closed

for 2 weeks), but also lowest usage

time

Encore server hardware failure, in the

same week!

Page 9: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

CHALLENGES

Preparation

Didn’t have a “disaster” plan

Library had a new relationship with IT

Dept and iii after recent Millennium

server migration

Hindsight is 20/20

Page 10: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

CHALLENGES

Restoration is not immediate nor is it

without consequence

Technical hiccups & glitches & snafus (oh

my!) happen and slow down the process

Possibility of data loss

May have to reconfigure a number of system

settings, like starting from scratch

Page 11: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

BROKEN “STUFF”

Transactional data loss

Reset all system passwords

Thousands of locked records

Broken OCLC connections

ILL problems:

Requests lost and broken

WEBPAC forms failed/locking

ILL/OCLC connection broken

illoptions form-- for mapping to OCLC form reconfig

Route statements for Encore had to be restored

Diacritics missing

Reconnecting web services (patron sync)

Ongoing issue with backups/enterprise API

WebBridge settings lost

Page 12: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

CHALLENGES

Communication/Coordination

Lots of hands working in different

places/different time zones

Logistical issues cropped up during

initial restore and beyond

Project hand-offs were not always

smooth

Page 13: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

CHALLENGES

Communication/Coordination (cont.)

Needed PM, iii side! At least flag our account in system!

Ultimately increased amount of time to fully recover system

Defining expectations (urgency/priority)

Emotions running high at all levels, across organization

Page 14: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

CHALLENGES

Users

Managing communication with public

Depending on the data you keep about patrons,

may have to address the stolen data issue

Patron trust?

Page 15: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

LESSONS LEARNED

Complacency is your worst enemy—have a plan in place!

Communication/coordination with ALL stakeholders is key—

state needs/expectations explicitly.

Advocate for your system, doggedly, if expectations not

being met and reach out to those who can help.

Remember, the restoration process takes time. Be

prepared for “bumps in the road,” possible data loss, and

configuration issues.

Prioritize services--users first!

Yes, it can get worse before it gets better (but it will get

better).

Document the process – learn from previous incidences.

Get to know your Security Specialist!

Page 16: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

MILLENNIUM/SIERRA SECURITY TIPS

http://innovativeusers.org/past-iug-conferences.html

IUG 2012 A03: Security 101 for System Administrators, presented by Daniel Ferrer from Central Michigan U and Doug Randall, iii

http://csdirect.iii.com/documentation/presentation_archive.php

IUG 2014 D09:IUG 2012 A03: Security 101 for System Administrators, presented by Chris Pettibon and Doug Randall, iii

Page 17: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

ATTACKS ON WEEK

42 Bash OS Vulnerability attack

Over 15 different countries

Page 18: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

TOOLS OF THE TRADE

Firewall

Vulnerability scanner

OS / software patches

Logging events

IP blocking

Page 19: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

NEXT-GENERATION FIREWALLS

Next-generation firewalls combine

application awareness and deep packet

inspection to give companies more control

over applications while also detecting and

blocking malicious threats.

Page 20: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

NESSUS

Vulnerability scanner for auditors and

security analysts.

Patch Auditing

Risk Assessment

Page 21: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

OS / SOFTWARE PATCHES

Update OS include features and bug fix

Page 22: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

LOGGING EVENT

When an event happen write this log file

Login event

Process event

Page 23: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

IP BLOCKING

Black list

By event type

By county

Page 24: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

OPEN-SOURCE SOFTWARE

OSS is computer software with its source code

made available with a license in which the

copyright holder provides the rights to study,

change, and distribute the software to anyone

and for any purpose.

Page 25: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

OPEN-SOURCE TOOLS

OpenVAS - vulnerability scanner

Snort - lightweight network intrusion detection

system

OSSEC - is an Open Source Host-based

Intrusion Detection System

Graylog2 - log analyzer and searching through

log errors.

Page 26: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

ANY QUESTIONS

Page 27: SURVIVING A SERVER HACK: LESSONS LEARNED ... - WordPress… · Software Only Site •Millennium, 2011. SysLib’sLog : Stardate 68421.4 (December 15, 2014) ... System was completely

THANKS!

Lou Balek

[email protected]

Marie Martino

[email protected]