Practical Cryptographic Key Recovery



Similar documents
Practical Methods for Dealing with Full Disk Encryption. Jesse Kornblum

Analysis of FileVault 2: Apple's full disk encryption. Omar Choudary Felix Grobert Joachim Metz

Forensic Decryption of FAT BitLocker Volumes

Windows Server 2008 R2 Boot Manager Security Policy For FIPS Validation

Disk encryption... (not only) in Linux. Milan Brož

Secure Storage. Lost Laptops

Introduction to BitLocker FVE

Whitepaper Enhancing BitLocker Deployment and Management with SimplySecure. Addressing the Concerns of the IT Professional Rob Weber February 2015

Guidelines on use of encryption to protect person identifiable and sensitive information

Encrypting the Private Files on Your Computer Presentation by Eric Moore, CUGG June 12, 2010

Disk Encryption. Aaron Howard IT Security Office

How to create a portable encrypted USB Key using TrueCrypt

SAS Data Set Encryption Options

Security Policy for FIPS Validation

A Software Response to Hard Drive Encryption. Justin John McCarty III. Thesis submitted to the. College of Engineering and Mineral Resources

Recipe for Mobile Data Security: TPM, Bitlocker, Windows Vista and Active Directory

Penetration Testing Windows Vista TM BitLocker TM

Chapter 5: Operating Systems Part 1

introducing COMPUTER ANTI FORENSIC TECHNIQUES

The Value of Physical Memory for Incident Response

Windows 7 BitLocker Drive Encryption Security Policy For FIPS Validation

Windows 7: Current Events in the World of Windows Forensics

Firewire-based Physical Security Attacks on Windows 7, EFS and BitLocker

Pulse Secure, LLC. January 9, 2015

USB Portable Storage Device: Security Problem Definition Summary

Computer Forensics. Securing and Analysing Digital Information

Determining VHD s in Windows 7 Dustin Hurlbut

Using BitLocker As Part Of A Customer Data Protection Program: Part 1

SecureDoc Disk Encryption Cryptographic Engine

Forensically Determining the Presence and Use of Virtual Machines in Windows 7

Northrop Grumman M5 Network Security SCS Linux Kernel Cryptographic Services. FIPS Security Policy Version

Passware Kit User Guide

EMC DATA DOMAIN ENCRYPTION A Detailed Review

Installing Ubuntu LTS with full disk encryption

Comodo Disk Encryption

Encrypting a USB Drive Using TrueCrypt

2007 Microsoft Office System Document Encryption

FIPS Security Policy. for Motorola, Inc. Motorola Wireless Fusion on Windows CE Cryptographic Module

MCTS Guide to Microsoft Windows 7. Chapter 7 Windows 7 Security Features

USB Portable Storage Device: Security Problem Definition Summary

Virtual Machine Encryption Basics

File System Forensics FAT and NTFS. Copyright Priscilla Oppenheimer 1

Encrypting stored data. Tuomas Aura T Information security technology

New Technologies File System (NTFS) Priscilla Oppenheimer. Copyright 2008 Priscilla Oppenheimer

FIPS Security Policy LogRhythm Log Manager

MAC/OSX - How to Encrypt Data using TrueCrypt. v

Get Success in Passing Your Certification Exam at first attempt!

Fall. Forensic Examination of Encrypted Systems Matthew Postinger COSC 374

Ciphire Mail. Abstract

Digital Forensics. Tom Pigg Executive Director Tennessee CSEC

System Image Backup and Recovery

winhex Disk Editor, RAM Editor PRESENTED BY: OMAR ZYADAT and LOAI HATTAR

INTRODUCTION TO WINDOWS 7

ERNW Newsletter 42 / December 2013

Crystal Practice Management Encrypting the Database

SafeGuard Enterprise Web Helpdesk. Product version: 6 Document date: February 2012

The Misuse of RC4 in Microsoft Word and Excel

AD Image Encryption. Format Version 1.2

McAfee Endpoint Encryption 7.0

Full Drive Encryption Security Problem Definition - Encryption Engine

Computer Security: Principles and Practice

Bypassing Local Windows Authentication to Defeat Full Disk Encryption. Ian Haken

1. Scope of Service. 1.1 About Boxcryptor Classic

PGP Whole Disk Encryption Training

WARNING!!: Before installing Truecrypt encryption software on your

FIPS Security Policy 3Com Embedded Firewall PCI Cards

SafeGuard Enterprise Web Helpdesk. Product version: 6.1

Encrypting your external USB drive on Windows

SkyRecon Cryptographic Module (SCM)

SafeGuard Enterprise Web Helpdesk

Chapter 11 Security+ Guide to Network Security Fundamentals, Third Edition Basic Cryptography

RECOVERING FROM SHAMOON

Do "standard tools" meet your needs when it comes to providing security for mobile PCs and data media?

Microsoft Vista: Serious Challenges for Digital Investigations

Assessing the Security of Hardware-Based vs. Software-Based Encryption on USB Flash Drives

Full version is >>> HERE <<<

Additional information >>> HERE <<<

MS-50292: Administering and Maintaining Windows 7. Course Objectives. Required Exam(s) Price. Duration. Methods of Delivery.

Forensics Book 2: Investigating Hard Disk and File and Operating Systems. Chapter 5: Windows Forensics II

ZENworks 11 Support Pack 4 Full Disk Encryption Agent Reference. May 2016

Just EnCase. Presented By Larry Russell CalCPA State Technology Committee May 18, 2012

Use the below instructions to configure your wireless settings to connect to the secure wireless network using Microsoft Windows Vista/7.

Recovery of deleted files on a TrueCrypt volume March 23, 2010 rationallyparanoid.com

SECUDE AG. FinallySecure Enterprise Cryptographic Module. FIPS Security Policy

Q-CERT Workshop. Matthew Geiger 2007 Carnegie Mellon University

Microsoft Windows Common Criteria Evaluation

Acronis Backup & Recovery 10 Server for Windows. Installation Guide

BackupAssist v6 quickstart guide

Administering and Maintaining Windows 7 Course 50292C; 5 Days, Instructor-led

PGP Desktop Quick Start Guide version 9.6

DIGIPASS CertiID. Getting Started 3.1.0

GostCrypt User Guide. Laboratoire de Cryptologie et de Virologie Opérationnelles - France

MarkMlnasi Byron Hynes

Designing and Deploying Connected Device Solutions for Small and Medium Business

Trustworthy Computing

Transcription:

SMA CYBER Sector Practical Cryptographic Key Recovery Jesse Kornblum

Outline Introduction Targets Current Methods Tool Marks Example - BitLocker Conclusion

Targets Documented Open Source TrueCrypt Undocumented Open Source PGP Whole Disk Encryption http://www.pgp.com/downloads/sourcecode/ Documented Closed Source BitLocker Drive Encryption* Undocumented Closed Source PointSec Previously unseen tools

Current Methods Brute Force Try every block of bytes as possible key "Last resort of the incompetent" See "Linear Scan" paper by Hargreaves and Chivers Doesn't work for split keys

Current Methods Key Schedule Search Better brute force Really identifying data that is not a key schedule See "Cold Boot" paper by Halderman et al.

Current Methods Source code analysis Requires elbow grease Can't be automated Works great May have to update for each version See "Volatools" paper by Walters and Petroni, BlackHat Federal 2007

Tool Marks Marks specific to individual tools Associated with physical forensics Image courtesy Flickr user grendelkhan, http://flickr.com/photos/grendelkhan/118876699/

Tool Marks Were the screwdrivers found in the suspect's house used on the screws found on the bank vault? Image courtesy Flickr user Uwe Hermann, http://flickr.com/photos/uwehermann/92145964/sizes/m/

Computer Forensics Tool Marks Anything detectable that software stores in RAM or on disk that identifies the tool in question Most Recently Used lists Header and footer carving Registry keys left after program removed Preferences files in user directories Wiping programs leave traces behind

Cryptographic Tool Marks Hard to detect the keys themselves Should be random Can detect the cryptographic tool itself Programs Drivers Mounted volumes Can detect the structure surrounding the keys

BitLocker Drive Encryption Full Volume Encryption bundled with Windows Vista Ultimate Uses 128 bit AES-CBC + Elephant diffuser Can configure for 256 bit and/or without diffuser Crypto developed by Niels Ferguson also wrote Twofish, Helix, Fortuna RNG, CCM mode Uses AES-CCM for key management Actual encryption work is done with 512 bit Full Volume Encryption Key (FVEK) Key is 512 bits regardless of mode being used

BitLocker Drive Encryption I am not aware of any backdoors in BitLocker Drive Encryption You cannot access a protected volume without the FVEK Image courtesy of the Microsoft Corporation. BitLocker Drive Encryption is a registered trademark of the Microsoft Corporation.

BitLocker Drive Encryption Good documentation, but not complete Key management systems not described No implementation of elephant provided Reverse engineered by Kumar and Kumar Published paper, linux driver to mount protected volumes http://www.nvlabs.in/node/9

BitLocker Drive Encryption Brute Force works FVEK is in RAM Key schedule search works Finds several schedules Two of the keys make up the FVEK Some assembly required Source code analysis Not an option for most of us

BitLocker Tool Marks BitLocker AES key schedules Several schedules in memory at any given time Some bits of FVEK used to generate sector keys Other bits of FVEK used to encrypt/decrypt data In default mode, some bits unused

BitLocker Tool Marks AES key schedules Encryption and Decryption schedules

BitLocker Tool Marks Searching for BitLocker AES key schedules in RAM Overlapped slightly

Algorithm Pool Tag AES key in schedule Zeros

BitLocker Tool Marks 0x0 FVEc pool tag 0x14 Algorithm ID, must be 0x8000-0x8003 0x1C Start of first BitLocker AES schedule AES key must be at start and end of schedule bytes 0x1C-0x2C and 0x15C-0x16C for 128-bit Zeros at end of schedule if 128-bit mode 0x1EC Start of second BitLocker AES schedule Same rules as above

BitLocker Tool Marks Not perfect, but good enough Original Recovered

Finding Tool Marks How did we do this? RTFM FIPS certifications are great! Ask developers for help WinHex IDA Pro Checked builds Image courtesy of User:Icey on Wikipedia and is public domain Debugging symbols Always trying to answer: How does it know where to look?

Performance Brute Force O(nm) Key Schedule Search O(nm) Source Code X* + O(n), where X* may be infinite Toolmarks X + O(n)

Forensics Tool Marks Requires as much elbow grease as source code analysis Often more Doesn't require the source code May require updating for each version TrueCrypt May be your only option for previously unseen tools

Questions? Introduction Targets Current Methods Tool Marks Example - BitLocker Conclusion

Thank you Microsoft Corporation for keeping me employed Kumar and Kumar for their reverse engineering work AAron Walters for organizing ManTech International Corporation for letting me geek out You for staying! Image courtesy of the Microsoft Corporation.

References BitLocker Drive Encryption N. Kumar and V. Kumar, "Bitlocker and Windows Vista", http://www.nvlabs.in/node/9 FIPS Security Policy: http://csrc.nist.gov/groups/stm/cmvp/documents/140-1/140sp/140sp947.pdf Brute Force Searches C. Hargeaves and H. Chivers, "Recovery of Encryption Keys from Memory Using a Linear Scan", http://ieeexplore.ieee.org/xplore/login.jsp?url=/iel5/4529302/4 529303/04529504.pdf

References Key Schedule Searching Cold Boot paper, http://citp.princeton.edu/memory/ Source Code Analysis AAron Walters and Nick Petroni, Volatools, Volatools: Integrating Volatile Memory Forensics into the Digital Investigation Process, http://4tphi.net/fatkit/