=== chris14_ is now known as chris14
laielloHey folks, I was looking to see if someone here has implemented an AppArmor init profile to create a default-deny for all [unknown] binaries on the OS. We've got it working but are running into quite a bit of friction managing that list. As such, we're looking into developing new utilities to enable us to centrally manage/update/distribute those17:08
laielloallow-lists in near-realtime (a big chunk due to our internal design+Chef). I was wondering if anyone else has done this at scale and was interested/able to compare notes on how they streamlined the developer experience while staying within the regulatory compliance lines.17:08
pombredaHiya :) What the license for the security data at https://ubuntu.com/security/notices (and the usn-db dump)17:51
pombredaAnd the license for https://ubuntu.com/security/oval reports itself as GPL and I do not know what to do for data with a GPL.17:51
pombredaWho to talk to?17:51
pombredaFWIW, we aggregate this in our little project at https://github.com/nexB/vulnerablecode/blob/main/vulnerabilities/importers/ubuntu.py and https://github.com/nexB/vulnerablecode/blob/main/vulnerabilities/importers/ubuntu_usn.py and we like to have a license for that!17:51
pombredaDebian did not have a license ... but that was clarified at https://github.com/nexB/vulnerablecode/blob/main/vulnerabilities/importers/debian_oval.py17:52
sbeattiepombreda: hey, thanks for the question, and apologies that we don't have explicit terms on this stuff. In general, we want people to be able to consume, integrate, aggregare, and use the data presented in tools like nexB (so long as the data is represented accurately).18:19
sbeattieI'll poke people internally about getting more explicit statements in place.18:19
sarnoldlaiello: there's been a handful of people who have tried to put together full-system apparmor confinement but never anything very public :(21:00
jjohansenindeed, we are slowly getting to where it is more feasible but it is difficult atm21:22
laielloThat's a bummer, but consistent with others I've talked to. We'll keep chugging, and maybe we can break the not-very-public side of things. I know we were planning some blog series about it, but I'll see if we can maybe opensource the developer toolsets that we're designing as well.21:57
sarnoldnice :D21:57
laielloI'm also kind of surprised to hear that though, do you know how have others tackled "CM-7(2) — Security safeguards must be implement which prevent program execution of unauthorized software - i.e. software whitelisting." for FedRAMP High Audits in relation to AppArmor? Is there another angle maybe we hadn't considered?21:59
sarnoldI've not done that level of compliance myself but I'd always assumed those would be done via EVM / IMA sorts of things21:59
laielloHmm, I know of them at a high-ish level, but how would EVM be used to prevent execution versus just logging/reporting? Is there something built-in or is it more of an subsystem that we would then integrate with to add that specific logic.22:15
sarnoldlaiello: I think that's "ima appraisal" https://sourceforge.net/p/linux-ima/wiki/Home/#ima-appraisal22:21
sarnoldheh, does the kiwi thing not open in new windows by default? :)22:22
laielloNo, a random mandatory chrome update/reboot I wasn't allowed to keep postponing:D22:22
sarnoldI hate that so much22:23
laielloJust skimming through that last link you sent. Am I reading this right in that, if you combine IMA Appraisal with IMA/EVM Keyrings, you could just sign everything on the OS (and allow the canonical keys for example) and block execution of any unsigned binary?22:28
sarnoldI think so22:29
sarnoldI haven't got a clue how shell scripts, awk scripts, perl scripts, ruby scripts, python scripts, etc work..22:29
laielloYeah, that's been a gnarly mess so far =$22:30
laielloSo IMA seems smooth for a clean boot-up/maintaining the initialized version, but I'm not clear on first read that it would be compatible with continuous delivery as it would theoretically block replacing a binary with another one, even if its signed. Am I reading that right? I may just need to spend the rest of the afternoon reading up on these22:41
laiellosubsystems to get a better understanding on how they work and interact.22:41
sarnoldI always assumed there was some sort of middle-step to applying updates, eg you've got a staging environment where new packages get tested, and if they succeed, then you generate sigs for the packages, then push sigs and packages to all the production machines22:43
laielloYes, that's how things would work - it would make sense to me that as long as they are signed correctly, the OS shouldn't care if a binary is suddenly replaced.22:44
jjohansenwell, we really need better ties between IMA and MACs. AppArmor does a little bit where you can select different profiles based on IMA/EVM but, its really clunky and needs to be improved23:21
jjohansenthis lets you have verified/safe and unsafe profiles and still run things23:21
jjohansenI have talked to mimi about improving it but we have never had the time to really sit down and hash it out23:22
jjohansenbasically I want the IMA/EVM verifcation state to a given key to be used as a rule conditinal23:23
jjohansenIMA good with this key, you can have this profile23:23
jjohansenor you can get read access, etc23:23
sarnoldIMA integration with apparmor sounds lovely :) yet another item for the todo list :)23:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!