Giter VIP home page Giter VIP logo

Comments (4)

dadreamer avatar dadreamer commented on August 15, 2024 1

So sad, I can't bypass ASLR with that:

C:\adb>adb shell
shell@F01F:/ $ echo 0 > /proc/sys/kernel/randomize_va_space
/system/bin/sh: can't create /proc/sys/kernel/randomize_va_space: Permission denied
1|shell@F01F:/ $

Now I have level 2 (full randomization):

C:\adb>adb shell
shell@F01F:/ $ cat /proc/sys/kernel/randomize_va_space
2
shell@F01F:/ $

I'm also not allowed to create anything in /etc/ because that's read-only file system and no root, of course.

Nevertheless I tried to attach to android_server in IDA. But it doesn't see the phone's processes. I assume it's because I can't do su.

Any ideas how to overcome this?

BTW thanks for the article on StageFright exploit. It's kinda useful on revealing the details.

from exploit.

huntcve avatar huntcve commented on August 15, 2024

That is only a device-depended PoC. You need to change the spray base for your device.

from exploit.

dadreamer avatar dadreamer commented on August 15, 2024

@huntcve
Could you tell me how I can determine this spray address? Is out there some manual or article for that?

Looking at the code I see that you have changed not only spray address (sp_addr) but ROP pivot (newpc_val) also. Where did you get those values?

upd:
It seems I've found a very basic step-by-step instruction. Now I have to check things out to see how they're going.

from exploit.

dadreamer avatar dadreamer commented on August 15, 2024

Closing this as no longer actual for me.

from exploit.

Related Issues (2)

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.