digital forensics, from floppies to the cloud€¦ · digital sherlock in a nutshell . types of...

72
Digital Forensics, from floppies to the Cloud Can Darwin win the game of digital evolution? @kerouanton #ISC2CongressEMEA

Upload: others

Post on 16-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Digital Forensics, from floppies to the Cloud

Can Darwin win the game of digital evolution?

@kerouanton #ISC2CongressEMEA

Page 2: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

SOME BASICS Digital Sherlock in a nutshell

Page 3: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Types of digital forensics

Investigations – Criminal – Police

Incident Management – Breach analysis

Data recovery – Legal archives

Page 4: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Typical forensic workflow

Page 5: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

SEIZING EVIDENCE From theory to reality

Page 6: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

The Theory

Page 7: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

The Reality

Page 8: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Diversity

Page 9: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Home-made “NAS” for P2P sharing

Page 10: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Physical size vs Logical Size

Page 11: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

EVIDENCE COLLECTION Inventory complexity

Page 12: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Extracting physical media

Page 13: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Apple annoyances…

Page 14: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

A typical issue…

Page 15: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Moore’s Law, best ennemy!

Major issue with disk size :

- 1.2 million of porn files

- 18 Tb of disks

• Several months analysis…

• Very complex case…

Can quickly become unmanageable.

Page 16: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Media gathering Issues

• Physical Size Micro-SD cards

• Logical Size Terabytes

• Quantity low storage price

• Diversity 10s of formats

Page 17: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Another typical issue

Page 18: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

CELL PHONES Cellphone investigation ? Priceless !

Page 19: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

The cables nightmare

Page 20: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Very expensive kits...

Page 21: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

FIELD KITS Police Loves Hard Cases

Page 22: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

DNA Field Kit

Page 23: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Drone Field Kit

Page 24: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

GSM Relay Field Kit

Page 25: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Cell-phones Field Kit

Page 26: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Disk imaging Field Kits

Page 27: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

All-In-One Field Kit

Page 28: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 29: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 30: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Seriously, Who can afford this?

Page 31: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

IN THE LAB Mindboggling Parallelization

Page 32: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 33: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 34: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 35: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 36: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Evidence storage

Page 37: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

FILE CARVING

Page 38: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

So many filesystems

Page 39: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

800 file formats, and more…

Most forensics tools use the same API for file rendering…

Page 40: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

The time issue 1. Automated Acquisition Takes Hours…

2. Automated Carving Takes Hours, Sometimes Days…

3. Manual analysis Takes Hours, Days, sometimes Weeks

4. Reporting Takes Days

Page 41: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

NEW « CHALLENGES » Dealing with

Page 42: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Disk Encryption

Page 43: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Secure Remote Wiping

Page 44: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Tails, TOR and the Darknet

Page 45: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

What NSA thinks of TOR

Page 46: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Darknet Forensics ?

Page 47: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Embedded devices nightmare

Page 48: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Smartphone Encryption

Page 49: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

IP Box : bruteforcing the PIN

Page 50: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

iMessage, WhatsApp etc.

Page 51: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Escaping investigation

Page 52: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

42 = GAMA® ? The Answer about Life, Universe, and Everything (...including Forensics!)

Page 53: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Introducing « GAMA® »

Page 54: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Introducing « GAMA® »

Page 55: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 56: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 57: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

iCloud

Page 58: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Subpoenas

Page 59: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Territoriality issues

Three possible options

1. Cybercrime agreement (EU, USA, …) helps action on third-party country, but only if we are sure the data are physically stored on the agreeing country. Received directly, must be validated by legal prosecutor.

1. Official request : Commission Rogatoire Internationale (CRI). Takes between 6 and 12 months often too late (if log retention < 6 mois).

2. CRI + backup request. Issues with IP timeout validity, and other proof of evidence elements.

The cantonal prosecutor asks Federal Justice Department,

who asks OFA in Washington D.C.

« Instant » data, further legalizing of obtained evidence.

Still not an obligation (for GAMA™) to giveaway data,

based on cultural and legal differences amonst countries.

Page 60: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 61: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 62: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 63: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Cryptowars - Cloud

Page 64: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Cryptowars - Mobile

Page 65: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

TOWARDS NEW FORENSICS… GAMA®’s Forensic Tools

Page 66: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…
Page 67: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Rekall

Open Source Python Forensics Framework

Virtual Machine Live Forensics

• Filesystem, Memory, Registy, Processes…

• Multi-OS (Linux, Windows, OSX…)

• Able to investigate on nested VMs !

www.rekall-forensic.com

Page 68: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

GRR (Google Rapid Response)

Open Source, multiplatform Distributed Forensics Management uses Rekall and more. « Cloud-by-design » Can handle large cases and live investigations (10’000 servers !) Scheduling, and much more features.

Page 69: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

TO CONCLUDE Final slides

Page 70: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Let’s recap !

• Legacy Forensics tools are no longer efficient.

• Evidence is no longer on Disks, and increasingly in RAM.

• Evidence is now in virtualized U.S. Clouds (GAMA®).

• New forensics tools are run by GAMA® for their own forensic needs, & cyberattack mitigation. – Virtualization and RAM forensics

– Nested VMs forensics

• GAMA® can collaborate… or not, to provide evidence.

Page 71: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

Fearing the future ?

• GAMA® Supremacy, even on Law Enforcement (Cryptowars), is a new interesting challenge.

• That will lead to the evolution of Legal Arsenal in most countries : – To force evidence disclosure by GAMA®, – To insert backdoors & crypto / key escrow.

IS THAT WHAT WE, AS CITIZENS

OR COMPANIES, REALLY WANT ?

Page 72: Digital Forensics, from floppies to the Cloud€¦ · Digital Sherlock in a nutshell . Types of digital forensics Investigations – Criminal – Police ... •Several months analysis…

By Bruno Kerouanton Twitter: @kerouanton / éé.net

Thank You !

@kerouanton #ISC2CongressEMEA