SlideShare una empresa de Scribd logo
1 de 10
Descargar para leer sin conexión
0   1   0   0    0         0         1           1
0   1   1   0    0         0         1           0
0   1   1   0    1         0         1           0
0   1   0   1    0         1         0           1
                Obfuscating Transformations


1   0   0   1
                for Decompilation Resistant   04/28/09
                Java
                James Hamilton




0   0   0   1    1 1 0 1
computer programs

  computer programs are written in an English-like language, by a programmer,
  known as source code

  many programming languages exist, for different purposes, for example Java

                   public class SimpleProgram {
                      public static void main(String[] args) {
                          System.out.println(quot;Helloquot;);
                      }
                   }

  source code is transformed into executable computer instructions by a compiler

                   000101010101010110111111010110110
                   010100101101010110101010101010100
                   101001010101010101010101010111111
                   101001000000010101010101010101010
                   101001010101111111101010101110001


                                                                                   2
understanding computer programs

  source code

  public class SimpleProgram {
     public static void main(String[] args) {
         System.out.println(quot;Helloquot;);
     }
  }                                             easy to understand


  executable code

  000101010101010110111111010110110
  010100101101010110101010101010100
  101001010101010101010101010111111
  101001000000010101010101010101010
  101001010101111111101010101110001             hard to understand

                                                                     3
stealing computer programs

  software companies sell the executable version of their program but
  keep the source code secret

  software theives want the source code to change and re-sell




                 000101010101010110111111010110110
                 010100101101010110101010101010100
                 101001010101010101010101010111111
                 101001000000010101010101010101010
                 101001010101111111101010101110001

   software                                               software
   company                                                  theif


                                                                        4
stealing computer programs by decompilation

  software theives may attempt to decompile an executable program to
  access the source code




     software                                        software
     company                                           theif

                                                                       5
protecting computer programs using code obfuscation

  software companies may obscure their programs to protect from
  decompilation

  software thieves find it difficult to understand and decompile programs




                  00010101010101!&^%&01111010110110
                  010^%$£&&$101011010101010£$%$£00
                  10100101$£%£$^$%&!£*)(*^&$%£”01111
                  10%$&%£$000010101010^&%!10101010
                  10100101$”$&^**^%%((!$1010^01110001

   software                                                software
   company                                                   thief


                                                                            6
stealing obfuscated programs using program slicing

  software thieves may slice programs to remove obscurities and reveal
  only the useful parts




     software                                          software
     company                                             thief


                                                                     7
protecting obfuscated programs from program slicing

  software companies must make sure the obfuscations cover all
  sections of code, without leaving useful sections for software thieves to
  find

  obfuscations must be hard to detect and remove

  software thieves will have trouble finding useful code


                  $%$^%^*&(%$£^%$^$%^$%£”£!!”$(*&^%
                  !££%$£^%^*”£$”&%^*”($£”$)^**%*$*%£$!
                  £^*£&!£”)%($%&£&$%(!£*(!£*!(£*!$£&%!!!
                  “£$”£$&£”!!”£!*($£!**££I£^*%£”*(&^*^(&*%
                  !^$£$*(!!(£!)(*£^£!!””!!!!!!£%^&^$££$”””£”$$

   software                                                      software
   company                                                         thief

                                                                            8
research questions

➢   what obfuscations can be applied to computer programs to hinder
    decompilation and software theft?
➢   how effective are such obfuscations against attacks?
➢   what are the ways in which adversaries could attack such
    obfuscations?
➢   how can we use this knowledge to create secure programs?




    software                                              software
    company                                                 thief


                                                                      9
questions?




             10

Más contenido relacionado

Último

Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sectoritnewsafrica
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Mark Simos
 
Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfAarwolf Industries LLC
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...itnewsafrica
 

Último (20)

Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
 
Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
 

Obfuscating Transformations for Decompilation Resistant Java (designed for a non-specialist audience)

  • 1. 0 1 0 0 0 0 1 1 0 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 0 1 0 1 0 1 0 1 Obfuscating Transformations 1 0 0 1 for Decompilation Resistant 04/28/09 Java James Hamilton 0 0 0 1 1 1 0 1
  • 2. computer programs computer programs are written in an English-like language, by a programmer, known as source code many programming languages exist, for different purposes, for example Java public class SimpleProgram { public static void main(String[] args) { System.out.println(quot;Helloquot;); } } source code is transformed into executable computer instructions by a compiler 000101010101010110111111010110110 010100101101010110101010101010100 101001010101010101010101010111111 101001000000010101010101010101010 101001010101111111101010101110001 2
  • 3. understanding computer programs source code public class SimpleProgram { public static void main(String[] args) { System.out.println(quot;Helloquot;); } } easy to understand executable code 000101010101010110111111010110110 010100101101010110101010101010100 101001010101010101010101010111111 101001000000010101010101010101010 101001010101111111101010101110001 hard to understand 3
  • 4. stealing computer programs software companies sell the executable version of their program but keep the source code secret software theives want the source code to change and re-sell 000101010101010110111111010110110 010100101101010110101010101010100 101001010101010101010101010111111 101001000000010101010101010101010 101001010101111111101010101110001 software software company theif 4
  • 5. stealing computer programs by decompilation software theives may attempt to decompile an executable program to access the source code software software company theif 5
  • 6. protecting computer programs using code obfuscation software companies may obscure their programs to protect from decompilation software thieves find it difficult to understand and decompile programs 00010101010101!&^%&01111010110110 010^%$£&&$101011010101010£$%$£00 10100101$£%£$^$%&!£*)(*^&$%£”01111 10%$&%£$000010101010^&%!10101010 10100101$”$&^**^%%((!$1010^01110001 software software company thief 6
  • 7. stealing obfuscated programs using program slicing software thieves may slice programs to remove obscurities and reveal only the useful parts software software company thief 7
  • 8. protecting obfuscated programs from program slicing software companies must make sure the obfuscations cover all sections of code, without leaving useful sections for software thieves to find obfuscations must be hard to detect and remove software thieves will have trouble finding useful code $%$^%^*&(%$£^%$^$%^$%£”£!!”$(*&^% !££%$£^%^*”£$”&%^*”($£”$)^**%*$*%£$! £^*£&!£”)%($%&£&$%(!£*(!£*!(£*!$£&%!!! “£$”£$&£”!!”£!*($£!**££I£^*%£”*(&^*^(&*% !^$£$*(!!(£!)(*£^£!!””!!!!!!£%^&^$££$”””£”$$ software software company thief 8
  • 9. research questions ➢ what obfuscations can be applied to computer programs to hinder decompilation and software theft? ➢ how effective are such obfuscations against attacks? ➢ what are the ways in which adversaries could attack such obfuscations? ➢ how can we use this knowledge to create secure programs? software software company thief 9