> For the complete documentation index, see [llms.txt](https://heapbytes.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://heapbytes.gitbook.io/notes/apk-pentesting/dynamic-analysis.md).

# Dynamic Analysis

## Objection

<https://github.com/sensepost/objection>\
This basically patches the apk, install/inject frida automatically.

#### Cmdline to patch an apk -

```
objection patchapk --source your_apk.apk
```

## PIDcat

<https://github.com/JakeWharton/pidcat>

#### This will only work when the following permission is set: android:debuggable="true"

<figure><img src="/files/vzGO0nOTQ0D7kiBoXpVY" alt=""><figcaption></figcaption></figure>

## Frida

{% embed url="<https://frida.re/docs/home/>" %}
