#
…

2021-05-26

00:43emilazy has joined #asahi
01:09Z750 has joined #asahi
02:25aquijoule_ has joined #asahi
02:25bgb has joined #asahi
02:27PhilippvK has joined #asahi
02:30phiologe has quit [Ping timeout: 480 seconds]
02:31aquijoule__ has quit [Ping timeout: 480 seconds]
03:19marvin24 has joined #asahi
03:22marvin24_ has quit [Ping timeout: 480 seconds]
03:34marcanmaz: I was just thinking, what does KVM do with impdef traps? I know it does set TIDCP
03:34marcanif it just kills the VM, then this thing turns into a DoS vuln in KVM, so it'd have to handle it and ignore reads/writes instead
03:34marcan(which is what Hypervisor.framework does)
03:35marcanor perhaps just re-inject the exception as an unknown into the guest (which would then handle it as a userspace fault)
03:37marcanlooks like Freenode just purged all channels with the word "libera" in the topic
03:38marcanseems we were spared by choosing OFTC instead, but I'm still going to just purge the asahi channels
03:59klange has joined #asahi
05:04tertu has joined #asahi
05:32VinDuv has joined #asahi
05:37rkjnsn[m]While not usable from VMs, would M1RACLES allow two containers that are supposed to be isolated / sandboxed to communicate?
05:46marcanOS-based containers (e.g. docker on linux) yes, unfortunately
05:46thunfischouch, that's brutal. thanks for disclosing that.
05:46marcanbut there are probably many ways of doing that anyway, with other CPU side channels and such (just this one is a particularly trivial one)
05:47marcane.g. I bet someone can come up with something funky with cache timing attacks on vDSO pages, or stuff like that
05:58mulderje[m] has joined #asahi
06:00mulderje[m] is now known as mulderje
06:01mulderje has quit []
06:01mulderje has joined #asahi
06:06rkjnsn[m]Sure, but compared to timing attacks, this appears to be relatively easy, fast, and reliable. (No statistical analysis necessary.)
06:07rkjnsn[m]Almost certainly still not a concern for anything I plan on doing, but good to be aware of.
06:09thunfischyeah, to me this rules out any possibility of trying to isolate stuff on m1 with containers. :[ way too easy to explit apparently.
06:10thunfischnot that containers are a good choice for security, sure, but in some cases it was "enough"
06:10emilazyyou can still isolate them in many ways
06:10emilazyyou just can't stop two malicious, collaborating ones from communicating
06:10phireis two containers voulterally communicating really a threat model?
06:11emilazyit certainly breaks a sufficiently strict sandboxing discipline, including the one the OS is meant to provide
06:11emilazybut yeah it's unlikely to be the dealbreaker for most
06:11emilazyif you were expecting a standard linux system with containers to provide this kind of isolation you probably already lost
06:12emilazylike, it's basically granting certain kinds of IPC privilege to every running process, but it has to be one both ends deliberately use, so the potential for exploits beyond two exploited components negotiating data exfiltration is probably low
06:13marcanexactly, the use cases for "I want to run two containers but talking to each other breaks my security model" are very few
06:13marcanthis is veering on the malware analysis side of things, and you are quite frankly insane if you are doing that with containers; that needs a VM
06:14phireit's only going to matter if you have some containers which have network privlages and others which have other diffrent privaliages and there are collaberating malicious containers in each domain
06:14marcanI consider containers to be a security technology for, a priori, non-malicious software
06:14marcanI would not deliberately run fully untrusted, presumed-malicious code in containers as policy
06:14marcanand certainly not in scenarios sensitive enough where this kind of covert channel is an issue
06:20cptcobalt has joined #asahi
06:25rkjnsn[m]I was thinking along the lines of, if I knew some target of value spun up containers for specific activities,
06:25rkjnsn[m]one with network access and one of particular interest was explicitly run without network access,
06:25rkjnsn[m]perhaps I find a way to compromise the base image they use for both and use M1RACLES to pass the data.
06:25rkjnsn[m]Not an attack I personally have to worry about, but folks have gone to greater lengths than that for some high-value targets.
06:30marcanyeah, but APTs like that have better exploits anyway, as I said in the faq... :)
06:30VinDuv has quit [Quit: Leaving.]
06:39dottedmagSpinning untrusted containers on high-value targets...
06:40pugguu has joined #asahi
06:41dottedmagBTW, it means that no amount of userspace trickery can be applied to work around it, so e.g. gVisor doesn't help, right?
06:42pugguuAre those suppose to be like that marcan all i see is 2 question marks in sideways squuares
06:45pugguuThey are more like diamonds
06:47emilazyit sounds like your software or font is missing support for some Unicode characters
06:47emilazyand showing � instead
06:48emilazythough I'm not seeing where the non-ASCII characters in marcan's recent messages are
06:50sirn has joined #asahi
06:51pugguuHmm interesting im on a ascii supported client and is running in android so shouldnt have any issues
06:59pugguu has quit [Ping timeout: 480 seconds]
07:42Misthiosmy webclient also shows the diamonds
07:44bgb has quit [Ping timeout: 480 seconds]
07:56tbodt_ is now known as tbodt
07:59tbodt has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
07:59tbodt has joined #asahi
08:00tbodt has quit []
08:00tbodt has joined #asahi
08:04rcombs has joined #asahi
08:05j_eymarcan: lol u registeed a domain for the cve, cute
08:11mazmarcan: we just inject an UNDEF into the guest.
08:13mazmarcan: as far as a KVM guest is concerned, IMDEP encoding are never implemented, so at least we're consistent.
08:14mazmarcan: I don't see how that's a DoS though.
08:22mjg59 has joined #asahi
08:37ave has quit [Quit: o/ https://thelounge.lasagna.dev]
08:37linuxgemini has quit [Quit: o/ https://thelounge.lasagna.dev]
08:38linuxgemini has joined #asahi
08:38ave has joined #asahi
08:43skali has joined #asahi
08:49EER has joined #asahi
08:53arnd has joined #asahi
09:08skali has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:19marcanmaz: it isn't if you inject UNDEF
09:20marcanit would if you terminated the VM instead or something
09:20marcanso no problem then :)
09:20mazmarcan: no. the guest has done something that was never advertised as supported.
09:21mazmarcan: you execute an UNDEF, you take an exception. that's what the architecture says.
09:21marcanMisthios: I guess your webclient is missing the Hypervisor Progress Glyphs unicode page
09:22marcanmaz: sure, though normally those UNDEFs are sent straight to EL1, which is different from these which trap to EL2 and have to be reinjected, so I wasn't sure what the behavior was :)
09:22marcanbut of course this all makes sense, I just wanted to double check
09:23mazmarcan: thankfully, from the guest PoV, it cannot make the difference. we just emulate that part of the architecture (and the NV support requires that at all times anyway).
09:24marcanah, right :)
09:25maz(without NV)
09:31marcanyup, makes sense
09:31marcanand I guess anything not trap-and-emulate ends up calling into that
09:31mazmarcan: yup, UNDEF is the default handler.
09:41verybasic has joined #asahi
09:46NekomimiScience has joined #asahi
09:56jnnice work on m1racles.com! :D
10:07Tom has joined #asahi
10:14Thomas____ has quit [Ping timeout: 480 seconds]
10:47grange_c has joined #asahi
10:50bgb has joined #asahi
10:51bfredl[m] has joined #asahi
11:07bgb_ has joined #asahi
11:08bgb has quit [Ping timeout: 480 seconds]
11:08perigoso[m] has joined #asahi
11:33hell__ has joined #asahi
12:10Tom has quit [Ping timeout: 480 seconds]
12:15hell__ has quit [Quit: CPU triple-faulted.]
12:15hell__ has joined #asahi
12:29yrlfwow, that m1racles acronym is absolutely wonderful!
12:29Raito_Bezarius has quit [Quit: WeeChat 3.0]
12:30Raito_Bezarius has joined #asahi
12:31Raito_Bezarius has quit [Remote host closed the connection]
12:32jnplaying Bad Apple to demo an Apple M1 bug is also... just 200% marcan
12:32jnso cool :)
12:32Raito_Bezarius has joined #asahi
12:32JTLmarcan: Bad Apple (M1)
12:32JTL(Sorry I couldn't resist)
12:33hell__(Bad Apple)^2
12:43minihey, it's a catchy song with an interesting video
12:55minecrell has joined #asahi
13:08riatre has joined #asahi
13:09choozy has joined #asahi
13:55bgb has joined #asahi
13:58bgb_ has quit [Ping timeout: 480 seconds]
14:04tomw has joined #asahi
14:05tomw is now known as to-mw
14:06to-mw is now known as tom-w
14:22rann has quit [Quit: Updating details, brb]
14:22rann has joined #asahi
14:25apetresc has joined #asahi
14:46cadubentzen has joined #asahi
14:59artemist has quit [Quit: artemist]
14:59artemist has joined #asahi
15:03facez[m] has joined #asahi
15:22pugguu has joined #asahi
15:23pugguu has quit [Read error: Connection reset by peer]
15:24pugguu has joined #asahi
15:46null has joined #asahi
16:00choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
16:07trippeh has joined #asahi
16:08EER has quit [Remote host closed the connection]
16:11matt_b has joined #asahi
16:14matt_bI take it there won't be a march-april status update blog post?
16:18nafod has joined #asahi
16:18Chainsawmatt_b: There were m1racles instead.
16:22VinDuv has joined #asahi
16:23hir0pro has joined #asahi
16:24matt_byeah, saw that this morning :p
16:25matt_bbut I assumed that was the progress report for may XD
16:29hir0pro has quit [Quit: leaving]
16:40yrlfmatt_b: IIRC marcan said he wants to wait a bit for the progress report to be able to add the hypervisor / mmiotrace stuff to it; that was a few weeks ago I think
16:50choozy has joined #asahi
16:51Andalu30 has joined #asahi
16:51hir0pro has joined #asahi
16:53marcanmatt_b: the march one is very overdue and is supposed to be about kernel upstreaming
16:53marcanthen april-may, about the hypervisor
16:54elwisp has joined #asahi
16:54marcanwas going to do another stream today but too much m1racles stuff, so tomorrow instead :)
16:54marcanoff to sleep
16:56facez[m]<Chainsaw "matt_b: There were m1racles inst"> m1racles brought me here! Well done
17:10bps has joined #asahi
17:13bps is now known as bps2
17:16pugguu has quit [Read error: Connection reset by peer]
17:16pugguu has joined #asahi
17:16bps2 has left #asahi [Leaving]
17:27Andalu30 has quit [Ping timeout: 480 seconds]
17:41pugguu has quit [Read error: Connection reset by peer]
17:41pugguu has joined #asahi
17:56izmar has joined #asahi
17:58Izumoo has joined #asahi
17:58pugguu has quit [Read error: Connection reset by peer]
17:59pugguu has joined #asahi
18:06fridtjof[m] is now known as fridtjof[m2]
18:08fridtjof[m2] is now known as fridtjof[m]
18:08fridtjof[m] has quit [Quit: authenticating]
18:08fridtjof[m] has joined #asahi
18:14Tom has joined #asahi
18:19Tom has left #asahi [#asahi]
18:24StupidYui has joined #asahi
18:38SunWuKung has quit [Remote host closed the connection]
18:38pugguu has quit [Read error: Connection reset by peer]
18:38pugguu has joined #asahi
18:42pugguu has quit [Read error: Connection reset by peer]
18:43pugguu has joined #asahi
18:56SunWuKung has joined #asahi
19:00maor26 has joined #asahi
19:00maor26 has quit []
19:53ah-[m] has joined #asahi
19:53PieroDel[m] has joined #asahi
20:04pugguu has quit [Ping timeout: 480 seconds]
20:10MisthiosI liked the jokes
20:18izmar has quit [Remote host closed the connection]
20:28VinDuv has quit [Quit: Leaving.]
21:00choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
21:15mustache_ride has joined #asahi
21:26matt_b has quit [Remote host closed the connection]
21:27SunWuKung has quit [Ping timeout: 480 seconds]
21:33choozy has joined #asahi
21:34choozy has quit []
21:46Aaron[m]1 has joined #asahi
21:59maximus64 has joined #asahi
22:03lanodan has joined #asahi
22:20choozy has joined #asahi
22:28pcm720 has joined #asahi
22:36choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
22:58enomem has joined #asahi
23:53The_DarkFire_[m] has joined #asahi
…