Top Banner
MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno Jacobsen Department of Electrical and Computer Engineering Department of Computer Science University of Toronto
23

MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

MIDDLEWARE SYSTEMSRESEARCH GROUP

A Taxonomy for Denial of Service Attacks in Content-based

Publish/Subscribe Systems

Alex Wun, Alex Cheung, Hans-Arno JacobsenDepartment of Electrical and Computer Engineering

Department of Computer Science

University of Toronto

Page 2: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Current State of Denial of Service

Prominent DoS news in 2007: 6 of 13 Root DNS servers attacked

[ICANN2007] DC++ P2P networks used in attacks

[DCPP2007] Estonian sites: government, bank, police

[Yahoo2007] Plenty more …

DoS problems are not going away

Page 3: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Research Goals

Stimulate discussion about DoS in CPS Avoid repeating old DoS weaknesses (e.g.,

IPv6 source routing)

Identify new DoS Concerns Will DoS attacks in CPS systems be any

different? What are the prominent issues? How can potential DoS attacks be classified?

Page 4: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Our Contributions

Study impact of CPS features on DoS effects Distributed event delivery Content-based processing overhead State maintenance

Classify potential DoS attack characteristics

Identify CPS concepts with DoS implications

Page 5: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Messaging Middleware

S SP

Publishers

P

SubscribersEnterpriseServers

EmbeddedDevices

SensorNetworks A B

C

Content-based Publish/Subscribe

Page 6: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

DoS Taxonomy

Page 7: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Message Propagation Effects

Multi-hop routing Localization Transmission

Page 8: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Propagation

Localized

Single-Hop

Multi-Hop

Global

• Non-matching message injection• Malicious unsubscribe• Edge broker access control• Local clients• Co-operative detection not helpful• Effects may still be distributed

• Broker multicast• Per-hop security schemes• Client location

• Matching message injection• Rendezvous routing• Remote clients• Transmitting DoS effects remotely

• Flooding• Global client interest• May span organizations

Page 9: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

State Management Effects

Assumptions on distribution message type

Cumulative effects

Page 10: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Statefulness

Stateless

Stateful

Soft-state

Persistent

• Recovery through normal processing• Unretained publication injections• Connection attempts

• Effects continue due to state change• Malicious unsubscriptions• Subscription injections• Publications retained for CEP

• Recovery through normal maintenance• Expiry mechanisms• Periodic optimizations

• Recovered state causes DoS• DB-based Fault-tolerance• Historic data• Configuration corruptions

Time

Attack

Effects

Attack stops

Time

Attack

Effects

Attack stops

Time

Attack

Effects

Attack stops

Periodiccleanup

Time

Effects

Load frompersistent storage

Page 11: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Content-based Processing EffectsLowcontentcomplexity

Highcontentcomplexity

Page 12: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Content-based Processing Effects

Performance variability highly dependent on workload complexity Response times System recovery

Page 13: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Content-dependence

Independent

Proportional

Inverselyproportional

• Severity of DoS effects are the same regardless of content complexity• ID-based filter removal

• Higher complexity content produces more severe DoS effects• Inducing matching load

• Lower complexity content produces more sever DoS effects• Filter-based filter removal

Content complexity

Load# of Victims# of TargetsDowntime

Page 14: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Techniques - Thrashing

DoS from processing repeated state changes

Subscription cover thrashing example: Many non-covering subscriptions exist from other client(s) Adversary issues covering subscription (triggers removal) Adversary removes covering subscription (triggers

restoration) Repeat …

Page 15: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Techniques - Stockpiling

Store malicious state for use in future attack(s) Can be low rate to avoid detection

Subscription flood example: Stockpile subscription state Issue advertisement to attract subscriptions

Page 16: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Techniques - Traffic Amplification

Malicious traffic of adversary multiplied Known to be a problem in traditional Internet

Smurf attack Source routing Reflection (connection retries)

Fundamental to many CPS features? Highly generic subscriptions and advertisements Uncovering and Unmerging Historic data

Page 17: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Filter versus ID State Removal

Page 18: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Related Work

Mirkovic and Reiher [Mirkovic2004] DDoS taxonomy in traditional Internet domain

Srivatsa and Liu [Srivatsa2005] Authentication to limit flooding-based DoS

Wang et al. [Wang2002] Discussed DoS briefly along with other security

concerns

Page 19: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Conclusion

CPS characteristics with DoS implications Message propagation (remote attacks) Content complexity (highly variable performance) State maintenance (assumptions on message type

distribution)

Abusing features for DoS Stockpiling Traffic Amplification Filter Removal (Thrashing, Victims)

Page 20: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

References

[ICANN2007] http://icann.org/announcements/factsheet-dns-attack-08mar07_v1.1.pdf

[DCPP2007] http://dcpp.wordpress.com/2007/05/22/denying-distributed-attacks/

[Yahoo2007] http://fe48.news.sp1.yahoo.com/s/infoworld/20070517/tc_infoworld/

88610 [Mirkovic2004]

A Taxonomy of DDoS Attack and DDoS Defense Mechanisms, ACM SIGCOMM

[Srivatsa2005] Securing Publish-Subscribe Overlay Services with EventGuard, ACM

Conference on Computer and Communications Security [Wang2002]

Security Issues and Requirements for Internet-Scale Publish-Subscribe Systems, Hawaii International Conference on System Sciences

Page 21: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

MIDDLEWARE SYSTEMSRESEARCH GROUP

Extra Slides

Page 22: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

Messaging Middleware

Publishers SubscribersEnterpriseServers

EmbeddedDevices

SensorNetworks

xxxxxxxxxx

xxxxxxxxxx

xxxxxxxxxx

Distributed broker federationsSubscription state managementContent-based processing

Page 23: MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.

S SP

Publishers

P

Subscribers

Content-based Publish/Subscribe