Skip to main content

performing-cloud-native-forensics-with-falco

Uses Falco YAML rules for runtime threat detection in containers and Kubernetes, monitoring syscalls for shell spawns, file tampering, network anomalies, and privilege escalation. Manages Falco rul...

Source facts

Repository
GrayCodeAI/starling
Last source activity
July 13, 2026 at 09:28
Detected SKILL.md language
English
Stars
2
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
4 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
performing-cloud-native-forensics-with-falco
description
Uses Falco YAML rules for runtime threat detection in containers and Kubernetes, monitoring syscalls for shell spawns, file tampering, network anomalies, and privilege escalation. Manages Falco rul...
license
MIT
tags
["performing","cloud","native","forensics"]
domain
cybersecurity
subdomain
cloud-security
version
1
author
mahipal
# Performing Cloud Native Forensics with Falco ## Instructions Deploy and manage Falco rules for runtime security detection in containerized environments. Parse Falco alerts for incident response. ```yaml # Custom Falco rule for detecting shell in container - rule: Shell Spawned in Container desc: Detect shell process started in a container condition: > spawned_process and container and proc.name in (bash, sh, zsh, dash, csh) and not proc.pname in (docker-entrypo, supervisord) output: > Shell spawned in container (user=%user.name command=%proc.cmdline container=%container.name image=%container.image.repository) priority: WARNING tags: [container, shell, mitre_execution] ``` Key detection rules: 1. Shell spawn in non-interactive containers 2. Sensitive file access (/etc/shadow, /etc/passwd) 3. Outbound connections from unexpected containers 4. Privilege escalation via setuid/setgid 5. Container escape via mount or ptrace ## Examples ```bash # Run Falco with custom rules falco -r /etc/falco/custom_rules.yaml -o json_output=true # Parse JSON alerts cat /var/log/falco/alerts.json | python3 -c "import json,sys; [print(json.loads(l)['output']) for l in sys.stdin]" ``` @ref(api-reference.md)
View on GitHub