Docsity

Our analysis framework, Diapositivas de Informática

Toggle sidebar
bg1
Sungkyunkwan University (SKKU) Security Lab.
1
DFRWS EU 2019, April 24-26, Oslo, Norway
Digital forensic analysis of encrypted database
files in instant messaging applications on
Windows operating systems
Jusop Choi
a, Jaegwan Yub, Sangwon Hyunc, Hyoungshick Kima
a Sungkyunkwan University, Korea
b LIGNEX1 Co., Ltd, Korea
c Chosun University, Korea
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f

Vista previa parcial del texto

¡Descarga Our analysis framework y más Diapositivas en PDF de Informática solo en Docsity!

Sungkyunkwan University (SKKU) Security Lab. 1 DFRWS EU 2019, April 24-26, Oslo, Norway

Digital forensic analysis of encrypted database files in instant messaging applications on Windows operating systems Jusop Choia, Jaegwan Yub, Sangwon Hyunc, Hyoungshick Kima a (^) Sungkyunkwan University, Korea b (^) LIGNEX1 Co., Ltd, Korea c (^) Chosun University, Korea

Agenda

1. Introduction

2. Our analysis framework

3. Analysis of example IMs

4. Conclusion

Instant messengers (IM) everyday

• We are using instant messengers every day.

• There are a lot of users (WeChat: 1.1 billion, Telegram: 200

million, and Facebook Messenger: 1.3 billion users by

Who can see our messages?

• Government agencies can obtain messages

to use as criminal evidence.

• Government agencies can censor

messages.

• Hackers can steal messages from us.

How can messages be obtained?

Messenger

server

Messenger^ 1.Network packet analysis

• Network traffic is securely protected by well designed

security protocols.

• Overall, it is not easy to analyze the securely protected

network traffic.

1. Network packet analysis 2. Server database analysis 3. Client database analysis

How can messages be obtained?

Messenger

server 2. Server database

analysis

Messenger

• It is hard for the attacker to access the server.

• Because of the privacy issue, many messengers do not

store the messages in the server over a certain time

period (e.g., 3 days for KakaoTalk).

1. Network packet analysis 2. Server database analysis 3. Client database analysis

Agenda

1. Introduction

2. Our analysis framework

3. Analysis of example IMs

4. Conclusion

What databases are used in IM

• There are various database types in instant

messengers.

– Contacts

– Chats

– Calls

– Photos

– Video

Chat database file on client side

• If chat database files are not encrypted (e.g., in WhatsApp),

it is easier to analyze!

• However, in some messengers, the database files are

encrypted.

• The number of IMs using the encryption feature is

increasing over time.

Alice: Hello?

Bob: Hi?

Alice: How are you?

VhadfHIAVvbadfpqiew

por/ajkldvguqewrjab/a

sdjklb==

Encrypted

Use of encryption key

  • After login, encryption key can often be (temporarily) created (in memory).
  • After logout, the encryption key can be deleted from memory.
  • In such cases, it is hard to obtain the encryption key. User (^) Messenger Encrypted database

User Message

“Hello?”

Retrieve encrypted messages and decrypt them Store encrypted messages

Key observations in the encryption

key generation

• To securely generate the dynamic encryption key, most IMs

used the following parameters for key generation.

1) Device specific local parameters: UUID, HDD serial number, …

2) Externally obtained parameters after login: user password, user

key stored at the server, …

1) UUID, Model name, …

2) User password,

random value, …

Messenger

Overall procedure

User

User Message

“Hello?”

Storage Messenger

Encrypted

Database

Encrypted

Database

Encrypted

Database

Login

Logout

Decrypt

Encrypt

= Local parameters + External parameters

Plaintext database file

Agenda

1. Introduction

2. Our analysis framework

3. Analysis of example IMs

4. Conclusion

Target messengers

• KakaoTalk is the most popular messenger in

South Korea with 49.8 million users.

• NateOn is also popular in South Korea with 15

million users.

• QQ is the most popular messenger in China with

899 million users.