Giter VIP home page Giter VIP logo

Comments (6)

cryptax avatar cryptax commented on May 18, 2024

If I install frida, it works.
Except, later when I am trying to hook my APK I get this error (though I saw a log before that where frida-server was being downloaded and installed to the emulator). Not sure if this is a related bug or a different one.

[INFO] [WEBSERVER] Start hooking [app=tuna.obvious.trust, type=spawn-self]
[Error: Unable to connect to remote frida-server: closed]
error: Unable to connect to remote frida-server: closed

from dexcalibur.

FrenchYeti avatar FrenchYeti commented on May 18, 2024

Hello,

sorry for this late reply.

First issue happens when host-side frida binaries (frida-ps, frida, ...) cannot executed by Dexcalibur (spawn). During enrollment, Dexcalibur push a compatible frida-server server binary into the device. In this case, Dexcalibur starts by executing "frida --version" on the host to gather the local Frida version, and to avoid issue with frida-server version.

Second issue occurs because frida-server is not started, cannot be started by dexcalibur, or cannot be reached. With Android emulator, if you successfully enrolled your device, you should be able to enumerate installed through "Select an application" menu. Most of users connect Android emulator over TCP.

from dexcalibur.

cryptax avatar cryptax commented on May 18, 2024
  1. Ok -- is that a bug of Dexcalibur, a missing requirement, or am I normally meant to install Frida by hand on the host?

  2. I installed the suspicious app on the emulator, and enumerated it fine. When I ask to analyze it, I get the following error. FYI, yes, Android emulator is over TCP.

[INFO] [APK HELPER] APK extracted into : /home/axelle/dexcaliburWS/tuna.obvious.trust/apk
Error: [CONNECTOR] Unknown connector : undefined
    at ConnectorFactory.newConnector (/home/axelle/.nvm/versions/node/v12.20.0/lib/node_modules/dexcalibur/src/ConnectorFactory.js:60:19)
    at DexcaliburProject.setConnector (/home/axelle/.nvm/versions/node/v12.20.0/lib/node_modules/dexcalibur/src/DexcaliburProject.js:193:57)
    at /home/axelle/.nvm/versions/node/v12.20.0/lib/node_modules/dexcalibur/src/WebServer.js:419:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

from dexcalibur.

cryptax avatar cryptax commented on May 18, 2024

On (1) I believe this is just a doc issue : the main page, README.md, does not say to install Frida. But https://frenchyeti.github.io/dexcalibur-doc/Installation-guide says to install frida-tools + apktool. Just need to know which is the most up to date doc :)

from dexcalibur.

FrenchYeti avatar FrenchYeti commented on May 18, 2024

Yes, you are right on (1). My documentation is out dated, and not mention version ! Apktool is now "installed" by dexcalibur. Current requirements are only : nodeJs, frida tools (on host), and java. Other requirements are downloaded by dexcalibur into dexcalibur workspace during first.

Another thing is the latest release on GitHub != NPM. Sorry for that.

In fact, i fully rewrote Dexcalibur and fixed lot of things into new version, however this new version (v1.0) is not yet released. I would like to release it mid-january.

About connectors issue, it's a blocking issue. I will patch it today.

from dexcalibur.

FrenchYeti avatar FrenchYeti commented on May 18, 2024

Thanks :)

from dexcalibur.

Related Issues (20)

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.