exein-io / pulsar

A modular and blazing fast runtime security tool for the IoT, powered by eBPF.
https://pulsar.sh
Other
905 stars 51 forks source link

[Bug]: sudo pulsard failed WSL2 #218

Closed th3happybit closed 9 months ago

th3happybit commented 1 year ago

Contact Details

oussamamessabih02@gmail.com

What happened?

trying to use pulsard in my WSL2

OS (/etc/os-release): PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.3 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy

Relevant log output

[2023-10-20T06:13:22Z WARN  bpf_common::feature_autodetect::lsm] LSM not supported: Reading /sys/kernel/security/lsm failed
[2023-10-20T06:13:22Z INFO  pulsar::pulsard::daemon] Starting module process-monitor
[2023-10-20T06:13:22Z INFO  pulsar::pulsard::daemon] Starting module file-system-monitor
[2023-10-20T06:13:22Z INFO  pulsar::pulsard::daemon] Starting module network-monitor
[2023-10-20T06:13:22Z INFO  pulsar::pulsard::daemon] Starting module logger
[2023-10-20T06:13:22Z INFO  pulsar::pulsard::daemon] Starting module rules-engine
[2023-10-20T06:13:22Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:22Z INFO  pulsar::pulsard::daemon] Starting module desktop-notifier
[2023-10-20T06:13:22Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:22Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:22Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR pulsar::pulsard::module_manager] Error in module network-monitor. Module stopped. ProgramAttachError { program: "kprobe security_socket_bind", program_error: SyscallError { call: "perf_event_open", io_error: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 155: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 155: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:23Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 155: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 155: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found
[2023-10-20T06:13:24Z ERROR file-system-monitor] Process not found in tracker 1901: process not found

Code of Conduct

banditopazzo commented 1 year ago

Hi, if you used the stock Ubuntu 22.04 from MS Store, the kernel it uses doesn't satisfy the minimum requirements.

For more information on requirements please check the documentation here