Command-line reference

arcsentry timeline

Annotate events on the case timeline.

Subcommands

Annotate events on the case timeline.

An event is addressed by the event UUID a query returns on every row; the evidence it belongs to is resolved from the event itself, so no evidence is named here. A note is written onto the same annotation record that carries that event's verdict and tags, the record incident flag and incident annotate write. The change is recorded in the case log.

arcsentry timeline <subcommand>

Examples

Write a note against one timeline event

arcsentry timeline annotate --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --body "First sign of the intruder on this host"

Note the moment the account was created

arcsentry timeline annotate --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --body "Rogue local account created here"

Find the event id to annotate

arcsentry query --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --aql 'filter event_type == "evtx_security" | take 20' --format table

Rule on the same event rather than only noting it

arcsentry incident flag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --verdict malicious

Subcommand reference

arcsentry timeline annotate

Write a note against one event on the timeline.

Give the note with --body, or read it from a file with --body-file, which also takes a note longer than one command-line argument can hold; exactly one of the two is required. The event UUID is resolved to the evidence it belongs to before anything is written; an event that is not in the case is refused, and so is a blank note. The note is that annotation's note field, so annotating an event that already carries a note replaces it and the earlier text is not kept, while the event's verdict and tags are left alone. The first annotation of an event also records the event as it read at that moment; later annotations update that stored record in place. The stored annotation is printed back, and that is the confirmation the write landed.

arcsentry timeline annotate --case <case> --event-id <event-id> [options]
OptionDescription
-c, --case <case>required Case UUID.
-e, --event-id <event-id>required Event UUID to annotate.
-b, --body <body> Note text, given on the command line.
-B, --body-file <body-file> Read the note text from this file.

Examples

Note why an event matters

arcsentry timeline annotate --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --body "First sign of the intruder on this host"

Write a long note from a file

arcsentry timeline annotate --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --body-file /tmp/initial-access.md

Annotate using the short forms of every flag

arcsentry timeline annotate -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -e d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 -b "Reviewed, benign"

Keep the longer reasoning in a case note instead

arcsentry notes create --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "Initial access" --body-file /tmp/initial-access.md