SlideShare a Scribd company logo
1 of 10
Download to read offline
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

More Related Content

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Recently uploaded (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

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