Kali Linux can now run in Apple containers on macOS systems
苹果推出新容器化框架,允许在macOS Sequoia上通过虚拟环境运行Kali Linux等Linux发行版。用户可通过命令行快速启动Kali Linux,并挂载本地目录进行文件访问。该功能目前仅支持Apple Silicon设备,并存在部分网络限制和硬件直通问题。 2025-7-31 19:0:37 Author: www.bleepingcomputer.com(查看原文) 阅读量:15 收藏

Kali Linux

Cybersecurity professionals and researchers can now launch Kali Linux in a virtualized container on macOS Sequoia using Apple's new containerization framework.

During WWDC 2025, Apple announced a new containerization framework that allows Apple Silicon hardware to run isolated Linux distros in its virtualized environment, similar to Microsoft Windows Subsystem for Linux 2 (WSL2).

To get started, users on macOS Sequoia with Apple Silicon can install the container CLI via Homebrew and initialize Apple's container framework:

brew install --cask container
container system start

You can then launch Kali Linux using the following command, which loads the container from the DockerHub container library and executes inside a macOS VM.

container run --rm -it kalilinux/kali-rolling

You can also use a container to mount a local directory into the Kali VM with a command like:

container run --remove --interactive --tty --volume $(pwd):/mnt --workdir /mnt docker.io/kalilinux/kali-rolling:latest

This command allows you to access files on the host device from within the container.

However, there are some limitations to the new feature, as it's only available on Apple Silicon and does not support Intel Macs.

Also, the Kali team reports that there are some bugs with the new implementation around networking.

"Currently there are a few known limitations of Containerization, especially using macOS "Sequoia" 15, such as container's network access not getting an IP address or no network access," reads Kali's announcement.

"We recommend reading and following Apple's advice if you run into these issues."

Cybersecurity professional Taha Ex also warns that some Kali use cases that require hardware passthrough will not work due to the container being isolated from hardware.

The ability to quickly launch Kali Linux in macOS, even if in a virtualized environment, and with some limitations, makes it easier for Mac users to perform security testing.

Wiz

Cloud Detection & Response for Dummies

Contain emerging threats in real time - before they impact your business.

Learn how cloud detection and response (CDR) gives security teams the edge they need in this practical, no-nonsense guide.


文章来源: https://www.bleepingcomputer.com/news/security/kali-linux-can-now-run-in-apple-containers-on-macos-systems/
如有侵权请联系:admin#unsafe.sh