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
|
loaded ta_22-0-0-77_7c426e7f.bin, session slot 0, cmd_buf PA 0x8200000 len 0x8000
residue set: TA blocks=248 faults=0
=== snapshot at 0x402938 : sp=0x41bf70 ctx=0x41d030 (machine FROZEN before teardown) ===
freeze OK: translate(sp)=0x4257f70
DACR=0x00005401 -> accessible domains [0, 5, 6, 7]
--realwrites: stack paint capped at 0x41bfa5 (measured writable boundary)
attacker-writable regions (user-RW AND DACR-permitted in the TA's own TTBR0):
0x00407000-0x00417000 dom=6 magic prefix 0x50 (paint from 0x40707f)
0x00418000-0x0041bfa5 dom=6 magic prefix 0x51 (paint from 0x41807f)
0x0041d000-0x00421000 dom=6 magic prefix 0x52 (paint from 0x41d07f)
0x00422000-0x00423000 dom=6 magic prefix 0x53 (paint from 0x42207f)
0x04000000-0x04001000 dom=5 magic prefix 0x54 (paint from 0x400007f)
0x04002000-0x04003000 dom=5 magic prefix 0x55 (paint from 0x400207f)
painted 27 pages; pinned 3 uncontrollable words
vector base 0x0, abort hooks armed
r4 instrumentation: ctx VA->PA map has 2 pages
HW-measured residue applied to 24/24 slots
=== POSITIVE CONTROLS (predicted outcomes) ===
0x00402425 DATA insn=0x40483a ctrl_regs=['r1', 'r4', 'r5', 'r6']
expected: add sp,#0x28 ; pop.w{..pc} -> pc from *(sp+0x44), PAINTED => PC_CONTROL
vec=0x10 lr_abt=0x404842 sp_usr=0x41bfb8
0x0040371d PREFETCH fetch=0x0 sp=0x41d054
expected: mov sp,r4 ; pop.w{..pc} -> pc from *(ctx+0x20), BELOW carve floor => not ctrl
vec=0xc lr_abt=0x4 sp_usr=0x41d054
0x0040157b DATA insn=0x40157a ctrl_regs=[]
expected: str r0,[r1] with r1=0 -> data abort at 0
vec=0x10 lr_abt=0x401582 sp_usr=0x41bf70
=== r4/ctx interaction sweep: 24384 candidates, cap 200 ===
..6000/24384 2s touch=1255 authR=1 cpW=0 cpR=0
..12000/24384 3s touch=1888 authR=33 cpW=0 cpR=0
..18000/24384 4s touch=2265 authR=33 cpW=0 cpR=0
..24000/24384 5s touch=2390 authR=33 cpW=0 cpR=0
unmapped-access fires total: 0 ; fault-addr high-byte distribution (top): {}
paint prefixes are 0x50+ (=> decode matches); any 0x50+ high byte = a controlled-pointer deref
ctx touchers: 2390 ; auth[] readers: 33
CONTROLLED-POINTER WRITES (str through a value loaded from controllable memory): 0
...of which the pointer is sourced from FE07 auth[] (NO carve floor): 0 <<<
CONTROLLED-POINTER READS: 0 (of which auth-sourced: 0)
|