mirror of
https://github.com/falcosecurity/falco.git
synced 2026-04-05 03:22:41 +00:00
An example showing how an overly permissive container environment can be exploited to install and run cryptomining software on a host system.
12 lines
230 B
Bash
Executable File
12 lines
230 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Start docker-in-docker, but backgrounded with its output still going
|
|
# to stdout/stderr.
|
|
dockerd-entrypoint.sh &
|
|
|
|
# Start cron in the foreground with a moderate level of debugging to
|
|
# see job output.
|
|
crond -f -d 6
|
|
|
|
|