Git Product home page Git Product logo

samsung-ime-rce-poc's Introduction

Samsung Remote Code Execution as System User

Read full details of the vulnerability here

samsung-ime-rce-poc's People

Contributors

ahoog42 avatar christypriory avatar dweinstein avatar fuzion24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

samsung-ime-rce-poc's Issues

Some tips on using this :)

  • on Windows, you might need to set the file access mode in patch_odex.py to binary: odex_buff = open(odexFile, "rb").read() and patched_odex = open(outputFile, "wb") or else you will get "struct.error: unpack requires a string argument of length 4".
  • if you only need the "patch" function of "patch_odex.py", you can simply remove the line "import androguard.core.bytecodes.dvm"
  • files in /data/dalvik-cache/ can be changed using the dirtycow exploit: https://github.com/timwr/CVE-2016-5195
  • there seems to be no need to reboot the device, just do something like this (needs android.permission.KILL_BACKGROUND_PROCESSES):
((ActivityManager) getSystemService(ACTIVITY_SERVICE)).killBackgroundProcesses("com.sec.factory");

new ProcessBuilder(dirtycow.getAbsolutePath(), patched_odex.getAbsolutePath(), 
"/data/dalvik-cache/system@[email protected]@classes.dex").start().waitFor();

((ActivityManager) getSystemService(ACTIVITY_SERVICE)).killBackgroundProcesses("com.sec.factory");

problem with Note3

In /data/dalvik-cache, DeviceTest odex is not in system group.
what can I do ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.