rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
asdf28 has joined #linux-sunxi
<karlp> bauen1: explainn it like I'm five. you're secure boot bit runs first, how does being able to locate it at an arbitrary memory address do anything?
asdf28 has quit [Ping timeout: 272 seconds]
lurchi__ is now known as lurchi_
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 264 seconds]
ChriChri_ is now known as ChriChri
lurchi_ is now known as lurchi__
sunshavi has quit [Remote host closed the connection]
ganbold has quit [Ping timeout: 244 seconds]
ganbold has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
<smaeul> karlp: bauen1: for one thing, you can point it to the "switch to NBROM and enter FEL" code address in the SBROM
<smaeul> SBROM will attempt to copy your code there (which does nothing since SBROM is not writable) and then jump to that address, giving the attacker FEL access
<smaeul> although, if an attacker can modify the TOC0, they can also wipe it, causing the SBROM to fall back to FEL
<smaeul> karlp: it allows you to do this: https://en.wikipedia.org/wiki/Return-oriented_programming with the entire SBROM code and signed TOC0 code
<smaeul> bauen1: is there not a size limit for TOC0?
<smaeul> btw you can take the memory blocks from https://github.com/smaeul/ghidra-or1k/blob/h3/data/languages/AR100_H6.pspec if you want to look at H6 BROMs in ghidra
swiftgeek has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
asdf28 has joined #linux-sunxi
sunshavi has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
asdf28 has quit [Ping timeout: 272 seconds]
asdf28 has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
asdf28 has quit [Ping timeout: 260 seconds]
lurchi__ has quit [Ping timeout: 260 seconds]
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
cnxsoft1 has joined #linux-sunxi
daregap has joined #linux-sunxi
gediz0x539 has joined #linux-sunxi
shailangsa has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
reinforce has joined #linux-sunxi
jernej_ has joined #linux-sunxi
jernej has quit [*.net *.split]
OnkelUlla has quit [*.net *.split]
atsampson has quit [*.net *.split]
Benjojo has quit [*.net *.split]
ric96 has quit [*.net *.split]
j--r has quit [*.net *.split]
ullbeking has quit [*.net *.split]
curlybracket has quit [*.net *.split]
colona has quit [*.net *.split]
jernej_ is now known as jernej
atsampson has joined #linux-sunxi
ric96 has joined #linux-sunxi
Benjojo has joined #linux-sunxi
ullbeking has joined #linux-sunxi
j--r has joined #linux-sunxi
curlybracket has joined #linux-sunxi
OnkelUlla has joined #linux-sunxi
colona has joined #linux-sunxi
martinayotte has quit [Ping timeout: 256 seconds]
diego71 has quit [Read error: Connection reset by peer]
martinayotte has joined #linux-sunxi
cmeerw has joined #linux-sunxi
cnxsoft1 has quit [Quit: cnxsoft1]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Client Quit]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Client Quit]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Client Quit]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Client Quit]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Client Quit]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Client Quit]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Client Quit]
cnxsoft has joined #linux-sunxi
mps has quit [Ping timeout: 240 seconds]
<bauen1> smaeul: i can't test this, i can only look at the dump, but i don't think so
gediz539 has joined #linux-sunxi
gediz0x539 has quit [Ping timeout: 240 seconds]
<bauen1> so at least for the h5 you don't even need any valid (signed) toc0 image to exploit this
gediz539 has quit [Remote host closed the connection]
gediz0x539 has joined #linux-sunxi
<bauen1> smaeul: you don't even need to rely on rop, if you find the right word in the signed blob (a pointer to the end of the normal toc0 image) you can select the target location so that the stack is overwritten and upon return from the memcpy you have complete execution
gediz0x539 has quit [Ping timeout: 258 seconds]
gediz0x539 has joined #linux-sunxi
yann|work has joined #linux-sunxi
diego71 has joined #linux-sunxi
RichardG867 has quit [Ping timeout: 240 seconds]
<bauen1> and you also don't need physical access to exploit this bug, you just need to be able to write to a boot device
gediz0x539 has quit [Read error: Connection reset by peer]
gediz0x539 has joined #linux-sunxi
<bauen1> smaeul: i'm not 100% if there is no limit, but it appears that at least 1 boot method (idk which one) doesn't have a limit
swiftgeek is now known as _swiftgeek
_swiftgeek is now known as swiftgeek
random_yanek has quit [Ping timeout: 272 seconds]
random_yanek has joined #linux-sunxi
arete74 has quit [Ping timeout: 272 seconds]
arete74 has joined #linux-sunxi
florian_kc has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
abelvesa has quit [Remote host closed the connection]
asdf28 has joined #linux-sunxi
abelvesa has joined #linux-sunxi
abelvesa has joined #linux-sunxi
abelvesa has quit [Client Quit]
abelvesa has joined #linux-sunxi
arete74 has quit [Ping timeout: 260 seconds]
arete74 has joined #linux-sunxi
arete74 has quit [Ping timeout: 260 seconds]
arete74 has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
<bauen1> looking at the code that loads the toc0 from an spi nor chip, the length needs to be a multiple of 0x8000 to be accepted, but that's the only limitation
<bauen1> after the length has been read the sbrom will load data from the spi nor in 0x8000 increments using dma
AneoX has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
AneoX has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
AneoX has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
AneoX has quit [Ping timeout: 256 seconds]
\\Mr_C\\ has joined #linux-sunxi
AneoX has joined #linux-sunxi
netlynx has joined #linux-sunxi
<bauen1> smaeul: i still don't have any boards, so i can't actually dump the roms myself, so i don't have any h6 code to look at yet
j--r has quit [*.net *.split]
jernej has quit [*.net *.split]
TheSeven has quit [*.net *.split]
warpme__ has quit [*.net *.split]
branon has quit [*.net *.split]
branon has joined #linux-sunxi
j--r has joined #linux-sunxi
TheSeven has joined #linux-sunxi
warpme__ has joined #linux-sunxi
jernej has joined #linux-sunxi
florian_kc is now known as florian
AneoX has quit [Ping timeout: 264 seconds]
AneoX has joined #linux-sunxi
mps has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 258 seconds]
akaWolf1 has joined #linux-sunxi
warpme__ has quit []
warpme_ has joined #linux-sunxi
akaWolf has quit [Ping timeout: 246 seconds]
AneoX has quit [Ping timeout: 240 seconds]
Mangy_Dog has joined #linux-sunxi
damex has quit [Ping timeout: 265 seconds]
damex has joined #linux-sunxi
asdf28 has quit [Ping timeout: 246 seconds]
asdf28 has joined #linux-sunxi
AneoX has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
AneoX has quit [Ping timeout: 258 seconds]
AneoX has joined #linux-sunxi
shailangsa has joined #linux-sunxi
bauen1 has quit [Quit: Lost terminal]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
bauen1 has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 258 seconds]
arete74 has quit [Ping timeout: 240 seconds]
arete74 has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
yann|work is now known as yann
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
RichardG867 has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 260 seconds]
gendevbot has joined #linux-sunxi
<asdf28> q:-=>
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
gaston1980 has joined #linux-sunxi
akaWolf1 has quit [Read error: Connection reset by peer]
akaWolf has joined #linux-sunxi
akaWolf has quit [Ping timeout: 258 seconds]
<bauen1> smaeul: could you maybe help me with confirming that the vulnerability actually exists ? i don't plan on buying a h5 board (and even then shipping would take > 1 month)
JohnDoe_71Rus has joined #linux-sunxi
popolon has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
anarsoul has quit [Remote host closed the connection]
anarsoul has joined #linux-sunxi
gendevbot has quit [Ping timeout: 256 seconds]
gediz0x539 has quit [Ping timeout: 240 seconds]
gendevbot has joined #linux-sunxi
damex has quit [Remote host closed the connection]
damex has joined #linux-sunxi
lurchi_ is now known as lurchi__
chewitt has joined #linux-sunxi
florian has quit [Quit: Leaving]
diego71 has quit [Ping timeout: 240 seconds]
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #linux-sunxi
chewitt has quit [Read error: Connection reset by peer]
chewitt_ has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
ganbold has quit [Ping timeout: 256 seconds]
lurchi__ is now known as lurchi_
jstein has joined #linux-sunxi
jbrown has quit [Ping timeout: 272 seconds]
jbrown has joined #linux-sunxi
popolon has quit [Quit: WeeChat 2.9]
AneoX has joined #linux-sunxi
arete74 has quit [Ping timeout: 258 seconds]
arete74 has joined #linux-sunxi
arete74 has quit [Ping timeout: 240 seconds]
arete74 has joined #linux-sunxi
damex has quit [Ping timeout: 240 seconds]
diego71 has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
damex has joined #linux-sunxi
arete74 has quit [Ping timeout: 272 seconds]
arete74 has joined #linux-sunxi
luke-jr has quit [Ping timeout: 260 seconds]
luke-jr has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 265 seconds]
popolon has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
tuxd3v has joined #linux-sunxi
sunshavi has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
lurchi_ has quit [Read error: Connection reset by peer]
lurchi_ has joined #linux-sunxi
[promenade] is now known as [TimeLapse]
lurchi_ is now known as lurchi__
jstein has quit [Quit: quit]
sunshavi has quit [Ping timeout: 264 seconds]
xyntrix has quit [Quit: Leaving]
random_yanek has quit [Ping timeout: 240 seconds]
sunshavi has joined #linux-sunxi
cmeerw has quit [Ping timeout: 260 seconds]
random_yanek has joined #linux-sunxi
tuxillo has quit [Remote host closed the connection]
asdf28 has quit [Ping timeout: 240 seconds]
tuxillo has joined #linux-sunxi