> 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="https://2093681522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8U5ZBZXak4T44Qt4GjMG%2Fuploads%2FA6C4WNa2Mlzd6ZSXQItU%2Fimage.png?alt=media&amp;token=090b3179-237f-47e9-b48c-5573714eb917" alt=""><figcaption></figcaption></figure>

## Frida

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