Falco — runtime security

Falco
ทำงานอยู่
เหตุการณ์ใน 24 ชม.: 45
ระดับวิกฤต
0
เหตุการณ์ใน 24 ชม.
คำเตือน
9
การแจ้งเตือน: 13
กฎยอดนิยม
5
รวม: 45
กฎยอดนิยม
Read sensitive file untrusted 4
Write below etc 4
Terminal shell in container 2
Detect outbound connections to common miner pools 0
Run shell untrusted 0
เหตุการณ์ล่าสุด 45
notice 2026-11-27T00:45:09 notice A Run shell untrusted (user=root command=sh pid=6854)
warning 2026-11-26T23:56:21 warning A Terminal shell in container (user=root command=sh pid=9062)
warning 2026-11-27T00:23:23 warning A Run shell untrusted (user=root command=sh pid=6845)
notice 2026-11-26T23:09:45 notice A Detect outbound connections to common miner pools (user=root command=sh pid=4276)
warning 2026-11-26T22:23:17 warning A Read sensitive file untrusted (user=root command=sh pid=4994)
notice 2026-11-26T20:41:14 notice A Run shell untrusted (user=root command=sh pid=7136)
notice 2026-11-26T21:05:03 notice A Read sensitive file untrusted (user=root command=sh pid=5687)
warning 2026-11-26T20:20:54 warning A Terminal shell in container (user=root command=sh pid=9839)
notice 2026-11-26T21:10:53 notice A Detect outbound connections to common miner pools (user=root command=sh pid=4328)
warning 2026-11-26T19:24:09 warning A Read sensitive file untrusted (user=root command=sh pid=7024)
warning 2026-11-26T19:41:19 warning A Terminal shell in container (user=root command=sh pid=6783)
notice 2026-11-26T17:20:01 notice A Run shell untrusted (user=root command=sh pid=2305)
warning 2026-11-26T16:28:33 warning A Detect outbound connections to common miner pools (user=root command=sh pid=4727)
notice 2026-11-26T17:51:19 notice A Write below etc (user=root command=sh pid=9162)
warning 2026-11-26T15:37:59 warning A Terminal shell in container (user=root command=sh pid=1501)
notice 2026-11-26T15:34:39 notice A Run shell untrusted (user=root command=sh pid=8777)
warning 2026-11-26T23:09:57 warning A Read sensitive file untrusted (user=root command=sh pid=5938)
notice 2026-11-26T23:17:36 notice A Read sensitive file untrusted (user=root command=sh pid=5240)
notice 2026-11-26T12:28:21 notice A Read sensitive file untrusted (user=root command=sh pid=5541)
การปรับแต่ง: ปิดเสียงการแจ้งเตือนเท็จ

แดชบอร์ดไม่แก้ไขคอนฟิกของ Falco — เพียงแสดงส니펫และคำสั่งที่คุณนำไปใช้บนเซิร์ฟเวอร์ผ่าน SSH

1. สร้างไฟล์ override พร้อมข้อยกเว้น:
# /etc/falco/rules.d/local-tuning.yaml
- rule: <ชื่อกฎที่แน่นอนจากรายการด้านบน>
  condition: and not fd.name = /path/to/exclude
  append: true
2. ตรวจสอบและรีสตาร์ท Falco:
sudo nano /etc/falco/rules.d/local-tuning.yaml
sudo falco --validate /etc/falco/rules.d/local-tuning.yaml
sudo systemctl restart falco 2>/dev/null || sudo systemctl restart falco-modern-bpf

ใช้ชื่อกฎที่ถูกต้อง หากในรายการแสดงข้อความแทนชื่อ ให้เปิด JSON output ใน falco.yaml (json_output: true) แล้ว panel จะได้รับชื่อกฎที่ถูกต้อง

รัน Falco บนเซิร์ฟเวอร์ธรรมดา โดยไม่ต้องมี Kubernetes

คนมักพูดถึง Falco ในฐานะเครื่องมือของ Kubernetes และเกือบทุกอย่างที่เขียนถึงมันตั้งสมมติฐานว่ามีคลัสเตอร์ แต่มันทำงานได้ดีเยี่ยมบนเซิร์ฟเวอร์ Linux ธรรมดา ๆ เช่นกัน ที่นั่นมันเฝ้าดูซิสเต็มคอลและยกการแจ้งเตือนขึ้นเมื่อกระบวนการทำสิ่งที่ไม่ใช่ธุระของมัน เช่น เปิดเชลล์จากเว็บเซิร์ฟเวอร์ เขียนลงไดเรกทอรีไบนารีของระบบ อ่านไฟล์ที่อ่อนไหว หรือเปิดการเชื่อมต่อขาออกที่ไม่คาดคิด

หน้านี้แสดงการแจ้งเตือนพร้อมลำดับความสำคัญ กฎที่ทำงาน รวมถึงกระบวนการและบรรทัดคำสั่งที่อยู่เบื้องหลัง รายละเอียดสุดท้ายนี่เองที่แยก Falco ออกจากเครื่องมือที่อาศัยบันทึก มันรายงานว่ากระบวนการทำอะไรจริง ๆ ไม่ใช่สิ่งที่บริการเลือกจะเขียนถึงเรื่องนั้น

ชุดกฎค่าเริ่มต้นเขียนขึ้นโดยนึกถึงคอนเทนเนอร์ และจะส่งเสียงดังบนเซิร์ฟเวอร์เปล่าจนกว่าจะปรับแต่ง ตัวจัดการแพ็กเกจ งานสำรองข้อมูล และสคริปต์ cron ทำให้กฎที่ตั้งใจไว้จับผู้บุกรุกทำงานอยู่เป็นประจำ เผื่อเวลาสักหนึ่งถึงสองชั่วโมงเพื่อปิดเสียงพฤติกรรมที่ถูกต้อง ก่อนที่ผลลัพธ์จะใช้งานได้จริง กระแสการแจ้งเตือนที่ไม่มีใครอ่านก็เท่ากับไม่มีการแจ้งเตือนเลย