4 ms·
Does this distro have modern application sandboxing? For example, can I say which applications have access to my photos, email, location, microphone, etc...?
by criddell 4y ago
Does this distro have modern application sandboxing? For example, can I say which applications have access to my photos, email, location, microphone, etc...?
- nostoc 4y agoKali was running everything as root up to a few years ago, I'd be very surprised if this had application sandboxing.
- wkat4242 4y agoIt'll be very difficult getting most pentesting apps to work in a sandbox anyway. It was difficult enough to move away from root and a ton of things will still need sudo. But it's ok, this is not the kind of distro where this matters. It's not for general work and targeted at users that really know what they're doing.
- ChuckNorris89 4y ago>can I say which applications have access to my photos, email, location, microphone Kali distros are not meant to be run bare metal as your daily driver, but as VMs. They usually have very lax security setting as to not interfere with all the networking and security related apps provided. This makes them quite insecure by design versus mainstream distro like Ubuntu/Fedora. So don't put any personal data on them. We always spin them up as disposable VMs in their own VLAN, and nuke them after every encounter is over.
- wkat4242 4y agoI don't but when it comes to pentests we only do them internally and not very often either. I like keeping custom scripts and installed apps/python scripts because we'll usually need them again next time. Of course if you do constant engagements to external clients cross contamination is a big risk but we don't have this concern.
- ChuckNorris89 4y ago>I like keeping custom scripts and installed apps/python scripts because we'll usually need them again next time. You can make custom Kali images with your own tools. Or you can just put those tools on git and pull them every time.
- wkat4242 4y agoI know and if you're a full time red team pentester that would make total sense :) Our team is a little bit of everything which makes it harder to justify that overhead.
- criddell 4y agoThanks for explaining. I misunderstood what Kali was for.
- hitpointdrew 4y agoIf you are looking for a "pen testing distro" to use a daily driver check out Parrot Linux. https://parrotlinux.org/ https://parrotlinux.org/
- lucideer 4y agoProbably of less broad appeal but another option to add to the mix for anyone who happens to be running Gentoo is the Pentoo overlay https://github.com/pentoo/pentoo-overlay https://github.com/pentoo/pentoo-overlay The Github repo is also a nice browseable categorised directory tree of security tooling, including nice readable plaintext ebuild files listing the src urls for building each.
- 0x1f606 4y ago> but as VMs Agreed on all points but this one; Occasionally I'll run it bare-metal on an SBC like a Raspberry Pi as a dropbox or similar, though the SD-Card gets nuked shortly afterwards so I guess it's treated in a very similar "disposable" way as VMs are. I know that's being pedantic about your wording, but I thought it worthwhile mentioning that there are use-cases for it running outside of a VM.
- stirfish 4y ago>Kali distros are not meant to be run bare metal as your daily driver, Oh. I was looking for something that had some radio stuff preconfigured, saw Kali was basically a xfce debian, and have been using it as a daily driver for years. Should I not do that?
- neodymiumphish 4y agoKali devs know that people do this, so they've modified their processes to address it. If you know what you're doing with Linux, you're likely fine.
- sylens 4y agoKali is not really meant as a general purpose desktop OS. Everything runs as root, IIRC (been years since I was pentesting).
- bombcar 4y agoYou might be interested in Qubes instead - https://www.qubes-os.org https://www.qubes-os.org as this is more of a toolkit for security testing.
- shp0ngle 4y agoQubes is not Linux really. I mean it technically is Fedora apparently but the main thing really is Xen and hypervisor. You don’t really install apps on Qubes, you install entire operating systems as apps. If normal linux is giving you too many hardware headaches, Qubes has some next level issues.
- fsflover 4y ago> Qubes has some next level issues Speaking as one daily driving Qubes, the opposite is true. Whenever I have problems with Linux, Qubes allows to backup and restore it in a few clicks. It doesn't matter that Qubes is not really Linux. It runs Linux apps fine.
- lucideer 4y agoI've used Kali Linux quite a lot but, as a Linux user, I wouldn't recommend it to anyone who knows Linux. It's mainly good for: 1. Students studying an OffSec course (the creators / maintainers of Kali) as the course material is designed with Kali in mind. 2. Mac/Windows-using security professionals running Kali in a VM (or light/casual Linux users doing the same - i.e. users without a deep Linux knowledge/comfort*) For anyone more Linux-savvy* I would recommend simply installing the tools Kali bundles that you want to use. It can be helpful to have Kali as a VM if you want to trial/explore the curated software library, but for professional use people typically start to get to know the set of tools they're comfortable with / interested in. * Aside: for anyone surprised security-professionals wouldn't be Linux-savvy, knowledge is specialised. Even if you are working in Linux-specific security (& not just using Linux cli tooling to access MS networks or decompile MS binaries), areas of security focus can still be quite compartmentalised.
- Arch-TK 4y agoCan confirm, as a security consultant I just use debian(ish) with an archlinux container (or sometimes VM) with all the stuff I need. This is far more sane for me than dealing with the bizarreness of kali. All my coworkers who are windows users are happy with it though.
- lucideer 4y agoI'm really grateful for distros like Kali / Parrot / Pentoo as they act as a (much more selectively) curated list of tooling akin to those "awesome lists" on Github, as well as being a rallying point for the maintenance of those same tools. But yeah - the tools are available individually & this is how I typically use them.
- archi42 4y agoOn Arch there are also the Black Arch sources.
- lucideer 4y agoA new one on me, thanks!
- AbraKdabra 4y agoIf you have photos and personal stuff in a Kali installation you're doing it wrong, Kali isn't supposed to be a day to day OS, some time ago your default credentials were root, so yeah, they changed it some versions ago but still, that gives you a look as how it should be used. EDIT: If you want a daily driver OS but need some Kali tools without installing it as a second boot or VM you can use the Kali Bundles which are repositories ordered by type of tools.
- antmldr 4y agoYeah, it's an unfortunate titling of the HN post. Defensive means something different in this context - it's meant for people working within the defensive roles of an organization's infosec department. Kali are a little to blame here for that confusion as well - "We are making enterprise grade security accessible" - is open to misinterpretation of what they are presenting.