Professional Documents
Culture Documents
Sean T. Malone
Principal Security Consultant
(Were Hiring!)
www.seantmalone.com
The Problem
Encryption
is not
Enough!
http://www.wired.com/threatlevel/2013/06/decryption-deadline-looms/
Copyright 2013 Sean T. Malone
The Solution
Store the files on someone elses system
Isnt that illegal?
usually.
Lets do this with standard functionality
Its a Feature!
All of these techniques are used for real
web apps
Theres nothing here to patch removing
these features breaks legitimate web
apps
Disclaimer
This is a research project, not production
software. I am not responsible if you lose
critical data through the use of this
software.
Also, I am not a lawyer. Nothing in this
presentation constitutes legal advice, and I
do not recommend using these concepts
or this software for anything illegal.
Copyright 2013 Sean T. Malone
Web Browser
Technology Evolution
Cookies
JavaScript
AJAX
Web
Storage
Web
Workers
Web
Sockets
Copyright 2013 Sean T. Malone
Sounds like a
Botnet Node
to me!
Copyright 2013 Sean T. Malone
Sandboxing
But I thought browser sandboxing made it
almost impossible to access system data
and execute code?
URL Shorteners
Ad Distribution Networks
http://www.whatwg.org/specs/web-apps/current-work/multipage/network.html
Data Storage
HTML5 Web Storage
[localStorage] is designed for storage that spans multiple
http://www.whatwg.org/specs/web-apps/current-work/multipage/webstorage.html
Back End
MySQL (ActiveRecord) & Redis
Definitions
File Block: A piece of an uploaded file with a set
maximum size
Node: A web browser that is a member of the botnet
Server: The central command and control system used
to manage nodes, uploads, downloads, and block
directories
Storing a File
File
Name
MIME Type
Data
Encrypted Data
Block 1
Copyright 2013 Sean T. Malone
Block 2
Block 3
Block 4
Block 5
Storing a Block
Server
B1
B1
B1
B1
B1
B1
B1
B1
B1
Retrieving a Block
Server
B1
B1
B1
B1
B1
B1
B1
B1
B1
Retrieving a File
File
Name
MIME Type
Data
Encrypted Data
Block 1
Copyright 2013 Sean T. Malone
Block 2
Block 3
Block 4
Block 5
Demo!
Code Release
www.seantmalone.com