Scan your whole stack
From OX Research Newsroom
Latest version: vgit:943b04231d6b35291e0a312139fce665fe4aac35
live-system-forensics was last scanned on 16 Nov 2026 at commit 943b0423. Risk score 40 of 100 (medium). No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 943b0423 | 1 rule fired |
Findings for commit 943b0423. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
A script shipped with the skill writes to a place that survives the session or holds credentials (a shell startup file, an SSH key file, cron, a scheduled task), or reads the shell history. It asks for a closer look because an installer can write the same places for a good reason.
MEDIUMThe score describes 943b0423; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Write policy: recon is read-only; the only sanctioned writes live in ~/.local/share/agent-skills/live-system-forensics/evidence/ — the JSONL findings log (see Output Format), the dumpstate scratch dump (Phase 3), and, if you install it, the drift watcher's snapshots. The watcher is optional and never installed by the skill itself. Evidence is data, not cache: the directory moved out of ~/.cache so cleanup tools cannot sweep non-re-derivable findings.
Efficiency note: Phases 1-3 are independent — run them as parallel tool calls. Note: some Phase 3 checks need sudo (system systemd, sfltool dumpbtm); if running unprivileged, run those separately and treat "permission denied" on system paths as expected, not suspicious — only permission failures on your own account's files are a finding.
Deep-dive references (load only when needed):
reference/PROCESSES.md — process triage, codesign verification, hidden-process detectionreference/NETWORK.md — connection analysis, ss//proc fallbacks for systems without lsofreference/PERSISTENCE.md — full persistence matrix per platform (launchd, systemd, cron, XDG, ld.so.preload, shell rc)reference/SYSTEMD.md — systemd unit forensics detailreference/EXTENSIONS.md — IDE/browser extension audit detailreference/ALLOWLIST.md — per-host known-good items; classify every finding as allowlisted / known-apple / unknownDetect malware, suspicious processes, and persistence mechanisms on Unix systems (macOS, Linux, WSL) through live forensic analysis. Unlike disk forensics, this examines the running system state to identify active threats.
Check running processes (use auxww — truncated commands hide indicators):
ps auxww
On non-BSD ps (some Linux/SysV): ps -ef. For deeper triage — parent/child anomalies, dead-parent orphans, codesign verification on macOS — see reference/PROCESSES.md.
Find processes by name or path:
ps auxww | grep -i "suspicious_name"
ps auxww | grep -E "(antigravity|gravity|vscode|ide)"
Baseline (macOS) — run first; it gates confidence in everything after:
csrutil status # "enabled" = normal; "disabled" = userland results are unreliable — note in output and downgrade all verdicts
Process analysis focus:
/tmp, ~/Library, hidden dirs)codesign -dv --verify and spctl -a -t execute <path> — unsigned/adhoc-signed binaries are a strong signalreference/ALLOWLIST.md: allowlisted / known-apple (on the sealed system volume: /System, /bin, /sbin, /usr — codesign-verify when unsure) / unknown → investigateCheck active connections (macOS/BSD):
lsof -i -P -n | grep -E "(LISTEN|ESTABLISHED)"
(-n skips reverse DNS — much faster and avoids tipping off DNS logs.)
Linux without lsof:
ss -tunap
See reference/NETWORK.md for /proc/net/tcp parsing on minimal containers.
Focus: map every connection and listener to a known process. Investigate any listener or outbound connection whose owning process you can't explain.
Listener rule (non-negotiable): every listening socket must be named in the report — port, owning process, and why it's listening. An unexplained listener is never omitted or summarized away; if the owner can't be determined, escalate it as a finding. (A backdoor's listener is easy to lose inside a long connection dump — name each one explicitly.)
macOS - User LaunchAgents:
ls -la ~/Library/LaunchAgents/
macOS - System LaunchAgents/LaunchDaemons:
ls -la /Library/LaunchAgents/
ls -la /Library/LaunchDaemons/
macOS - live launchd state (plist files on disk can be stale or missing; check what's actually loaded):
launchctl list | awk '$3 !~ /^com\.apple/'
sudo launchctl dumpstate | grep -v com.apple > ~/.local/share/agent-skills/live-system-forensics/evidence/launchd-nonapple.txt # catches agents bootstrapped without a plist on disk; the scratch dump goes in the one sanctioned write location, not /tmp
sudo sfltool dumpbtm # Background Task Management DB (Ventura+) — catches items not visible in /Library
Limitation: agents injected into a running launchd session via launchctl bootstrap without disk artifacts, or with SIP compromised, may evade all of the above — a clean result here is not proof of absence.
macOS - system extensions & kexts:
systemextensionsctl list
Linux/WSL - systemd (user):
systemctl --user list-timers
systemctl --user list-units --type=service --all # needs XDG_RUNTIME_DIR; over non-graphical SSH this errors — fall back to: ls -la ~/.config/systemd/user/
ls -la ~/.config/systemd/user/
Linux/WSL - systemd (system, requires root):
systemctl list-timers
systemctl list-units --type=service --all
ls -la /etc/systemd/system/ # admin-configured units (persistence lands here); /lib or /usr/lib/systemd/system is distro-maintained
Linux/WSL - cron:
crontab -l
ls -la /etc/cron.d/
ls -la /etc/cron.daily/ /etc/cron.hourly/ 2>/dev/null
Linux/WSL - XDG autostart (commonly missed):
# User-level (runs at GUI login)
ls -la ~/.config/autostart/ 2>/dev/null
# System-wide (affects all users — higher severity if unexpected)
ls -la /etc/xdg/autostart/ 2>/dev/null
Linux - dynamic linker preload (CRITICAL severity if non-empty/unexpected — preloads code into every dynamically-linked process; classic rootkit vector):
ls -la /etc/ld.so.preload 2>/dev/null && cat /etc/ld.so.preload
All platforms - shell rc backdoors (grep is a FIRST PASS ONLY — it catches crude curl/base64 droppers; patterns like echo <hex> | xxd -r -p | sh evade it entirely, so manually review the rc files themselves before declaring clean):
grep -nE "(curl|wget|nc -|base64|eval|python|perl)" ~/.zshrc ~/.bashrc ~/.profile ~/.zprofile 2>/dev/null
Distinguish errors: "no crontab" is normal; "permission denied" on your own account's files is itself a finding.
Recently modified files:
find ~ -maxdepth 3 -name "*.sh" -mtime -7
find ~/.config/systemd -name "*.service" -mtime -7 2>/dev/null # user units sit at depth 4 under ~, past a maxdepth-2 sweep
find ~/Library/LaunchAgents -mtime -30 2>/dev/null
SSH configuration:
ls -la ~/.ssh/
grep -E "(command=|from=)" ~/.ssh/authorized_keys 2>/dev/null
# An authorized_keys entry with command= forces a specific command for that key — legitimate for automation
# (e.g., backup scripts, git servers) but is also a classic backdoor if you didn't add it
AI IDEs (platform-specific paths):
# Antigravity IDE (macOS/Linux)
ls -la ~/.antigravity/extensions/
# Windsurf (Codeium)
ls -la ~/.codeium/windsurf/
# Cursor
ls -la ~/.cursor/
# Continue
ls -la ~/.continue/
Browser native messaging hosts (common malware persistence vector on macOS):
for d in "Google/Chrome" "Microsoft Edge" "Mozilla" "BraveSoftware/Brave-Browser" "Chromium"; do ls -la "$HOME/Library/Application Support/$d/NativeMessagingHosts/" 2>/dev/null; done
See reference/EXTENSIONS.md for the full per-IDE audit checklist.
Provide findings in this structure:
Classify every finding as allowlisted / known-apple / unknown. Only unknown items drive the risk level.
Alongside the prose report, write a JSONL log so consecutive audits can be diffed:
mkdir -p ~/.local/share/agent-skills/live-system-forensics/evidence
# one line per finding; clean runs still write the file (zero unknown entries)
~/.local/share/agent-skills/live-system-forensics/evidence/$(hostname)-$(date +%Y%m%d-%H%M).jsonl
Line schema:
{"ts": "ISO-8601", "category": "persistence|process|network|extension|baseline", "item": "com.example.updater", "class": "allowlisted|known-apple|unknown", "severity": "low|med|high|critical", "note": "why this classification"}
Include every persistence item and unexplained process/destination — not just suspicious ones — so the log is a full inventory baseline.
Drift check (escalate in the report any unknown item not present last time):
cd ~/.local/share/agent-skills/live-system-forensics/evidence && ls -t "$(hostname)"-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9].jsonl | head -2
diff <(jq -r 'select(.class=="unknown") | .item' <(newest) | sort) \
<(jq -r 'select(.class=="unknown") | .item' <(previous) | sort)
No jq? grep '"class": *"unknown"' <file> | sed 's/.*"item": *"\([^"]*\)".*/\1/' | sort per file, then comm -23 newest previous (lines unique to the newest log, i.e. new unknowns). The patterns are spacing-tolerant, since the schema above writes "class": "unknown" with a space.
Diff only this host's findings logs. App audit receipts no longer share this directory: since the 1.2.0 path split they live under ~/.local/share/agent-skills/auditing-agent-harnesses/evidence/<app>/ (see that skill's Phase 4). Directories migrated from the old ~/.cache location may still hold legacy receipts, which carry no class key, so a diff that picks one up prints nothing, which reads as no drift. The glob spells out the full <hostname>-YYYYMMDD-HHMM.jsonl name, so it also skips the logs of a host named, say, <hostname>-2.
This is the one sanctioned write during recon — everything else stays read-only.
Retention: the drift watcher keeps the FORENSICS_LOG_KEEP newest of this host's findings logs (default 30) and never prunes other JSONL in the directory, such as legacy app audit receipts left by a pre-1.2.0 migration (see reference/SCHEDULED-BASELINE.md for the opt-in scheduled baseline).
Scheduled baseline (opt-in): between full audits, scripts/drift-watch.sh can watch persistence drift with zero tokens — see reference/SCHEDULED-BASELINE.md. The skill never installs it itself.
trash for any file removal, never rm -rf. On Linux without Homebrew trash: use trash-cli or gio trash; if no trash utility exists, move to a quarantine directory instead of deletingFind threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.