summaryrefslogtreecommitdiff
path: root/README.md
blob: d49d2a177262e6d0a30840c88d64d3fbb5f55f1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Android karton service

Extract various information from APK.

**Author**: Julien (jvoisin) Voisin


**Consumes:**
```
{
    "type":  "sample",
    "extension": "apk"
} 
```

**Produces:**
```
{
    "type": "sample",
    "kind": "analyzed",
    "sample": <Resource>,
    "payload": {
	"attributes": {
          "certificate": <string>,
          "main_activity": <string>,
          "package": <string>
          "activities": <list<string>>
          "permissions": <list<string>>
	  "certificate_not_after": <string>
	  "certificate_serial": <int>
	  "certificate_subject": <string>
	  "certificate_not_before": <string>
	  "certificate_issuer": <string>
	  "app_name": <string>
	}
    }
}
```

## Usage

First of all, make sure you have setup the core system: https://github.com/CERT-Polska/karton

Then install karton-android and run it:

```shell
$ pip install git+https://github.com/jvoisin/karton-android

$ karton-android
```