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

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

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