16
Inside DVM Intro Nick Bova @mykola_bova Nov 23 2013

Dvm internals intro

Embed Size (px)

Citation preview

Page 1: Dvm internals intro

Inside DVMIntro

Nick Bova@mykola_bova

Nov 23 2013

Page 2: Dvm internals intro

About myself

• In IT since 2000• 6 years with mainframes• Refactoring FinExpert virtual machine and

finex programming language• Many assemblers in institute

• Twitter – @mykola_bova

Page 3: Dvm internals intro

Who am I?

Android developer? – NOJava System Architect? - YES

Page 4: Dvm internals intro

Who are you?

Page 5: Dvm internals intro

Who are you?

Android development?Java development?Reverse engineering?JVM/DVM internals?JVM/DVM assembler development?

Page 6: Dvm internals intro

Ground rules

Page 7: Dvm internals intro

Ground rules

- Please keep your questions until Q&A section- Or let’s put your questions to flipchart- Some small presents for good questions /

answers from Levi9 Ukraine- Small presents will be just passed to winner (no

much time for ceremonies, sorry)- Please feel free to help if you have what to add

during Q&A section

Page 8: Dvm internals intro

Why do we need reverse engineering?

Page 9: Dvm internals intro

Why do we need reverse engineering?

0 – understanding virtual machine internals1 – investigate existing solutions2 – protect your application in case of using

sensitive information

Page 10: Dvm internals intro

Why do we need reverse engineering?

0 – understanding virtual machine internals

I have a dream.

Page 11: Dvm internals intro

I have a dream.

Educational JVM- Clear and simple- Written on java- Accomplished with book

Page 12: Dvm internals intro

What do you want to hear?

Page 13: Dvm internals intro

What we can discuss

1. basics2. tools3. *.dex file format4. DVM byte code (inside DVM)5. "real life" android hacking6. obfuscation (just very very begining)

Page 14: Dvm internals intro

What is out of scope?

1. Detailed trip to obfuscation2. Debugging NDK calls3. Hacking .Net code (xamarin)4. All existing DVM related tools (too much)

Page 15: Dvm internals intro

Sources

- Book “Decompiling Android” Godfrey Nolan- Video “Dalvik VM Internals” https://sites.google.com/site/io/dalvik-vm-internals

Page 16: Dvm internals intro

Q&A