Command-line reference

arcsentry indicators

Mark a field value on an event as an indicator worth tracking across the case, change its severity, TLP, type, tags or notes, print it, or remove one by id.

Subcommands

Mark a field value on an event as an indicator worth tracking across the case, change its severity, TLP, type, tags or notes, print it, or remove one by id.

An indicator is one field value taken from one real event and recorded with the evidence and event it was seen in, so the case always holds where a tracked value came from. Recording one searches nothing: ioc match is what runs the case's recorded values against the records of one evidence item, and ioc list reads the set back. flag records one indicator and unflag removes recorded ones by id; set-severity, set-tlp, clear-tlp, reclassify and tag change recorded ones by id, and edit changes one indicator's notes, tags and linked techniques. show prints one indicator and can keep the event it came from with it, cross-match lists the evidence where its value was recorded, and every indicator write is recorded in the case log.

arcsentry indicators <subcommand>

Examples

Mark a hash seen in an event as an indicator

arcsentry indicators flag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --field sha256 --value 9f2c4e1b7a05d38c6f91e40b2d75c8a3e6f10b94c72d85a3f0e61b4d97c25a8f

List the indicators recorded in the case

arcsentry ioc list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Match the case's recorded indicators against the records of one evidence item

arcsentry ioc match --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013

Remove an indicator that was flagged by mistake

arcsentry indicators unflag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391

Subcommand reference

arcsentry indicators flag

Record one field value from one event as a case indicator.

The value is recorded as you pass it, trimmed of surrounding whitespace; nothing is read back from the named event at flag time, so pass the value exactly as it appears in the record. An empty --field or --value is refused, and --evidence with --event-id is what anchors the indicator to where the value was seen. Flagging the same field and value from the same event again keeps the one record instead of adding a duplicate. --event-type records which event type the event came from, and that is what scopes the later lookup of the source record.

arcsentry indicators flag --case <case> --event-id <event-id> --field <field> --value <value> --evidence <evidence> [options]
OptionDescription
-c, --case <case>required Case UUID.
-e, --event-id <event-id>required Event UUID the value was seen in.
-F, --field <field>required Field name the value came from, e.g. sha256 or remote_ip.
-V, --value <value>required The value to record as an indicator.
-H, --evidence <evidence>required UUID of the evidence the event belongs to.
-A, --event-type <event-type> Event type of the event, when the event itself does not imply it.

Examples

Record a payload hash as an indicator

arcsentry indicators flag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --field sha256 --value 9f2c4e1b7a05d38c6f91e40b2d75c8a3e6f10b94c72d85a3f0e61b4d97c25a8f

Record a remote address as an indicator

arcsentry indicators flag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --field remote_ip --value 203.0.113.24

Record an account name, naming the event type it came from

arcsentry indicators flag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --field target_user --value svc_backup --event-type evtx_security

Record it using the short forms of every flag

arcsentry indicators flag -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -e d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 -H 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 -F sha256 -V 9f2c4e1b7a05d38c6f91e40b2d75c8a3e6f10b94c72d85a3f0e61b4d97c25a8f

arcsentry indicators unflag

Remove recorded indicators from the case by id.

Every --indicator-id is checked before anything is removed: when one names no indicator in the case, the whole call is refused and nothing is removed, so a stale list never half-applies. Each removed indicator goes with its metadata and gets one case log entry with you as the actor. Take the ids from ioc list; the flag command's output carries the id of the indicator it recorded.

arcsentry indicators unflag --case <case> --indicator-id <indicator-id>
OptionDescription
-c, --case <case>required Case UUID.
-i, --indicator-id <indicator-id>required Indicator UUID to remove. Can be repeated.

Examples

Remove one recorded indicator

arcsentry indicators unflag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391

Remove two indicators in one call

arcsentry indicators unflag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --indicator-id a3c5e7f9-1b2d-4e6f-8a90-1c2d3e4f5a6b

Remove it using the short forms of both flags

arcsentry indicators unflag -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391

Read the ids to remove from the case's indicator list

arcsentry ioc list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry indicators set-severity

Set the severity of recorded indicators by id.

Sets one severity on every indicator named, and an indicator already at it is left as it is. Every --indicator-id is checked before anything is written: when one names no indicator in the case, the whole call is refused and nothing is changed. Each indicator that changes gets one case log entry with you as the actor, and the answer counts the indicators changed and those left as they were. Take the ids from ioc list.

arcsentry indicators set-severity --case <case> --indicator-id <indicator-id> --severity <severity>
OptionDescription
-c, --case <case>required Case UUID.
-i, --indicator-id <indicator-id>required Indicator UUID to change. Can be repeated.
-s, --severity <severity>required Severity to set: info, low, medium, high or critical.

Examples

Set one indicator's severity to high

arcsentry indicators set-severity --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --severity high

Set the severity of two indicators in one call

arcsentry indicators set-severity --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --indicator-id a3c5e7f9-1b2d-4e6f-8a90-1c2d3e4f5a6b --severity critical

Set it using the short forms of every flag

arcsentry indicators set-severity -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 -s low

Read the ids to change from the case's indicator list

arcsentry ioc list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry indicators set-tlp

Set the TLP of recorded indicators by id.

Sets one Traffic Light Protocol label on every indicator named, and an indicator already at it is left as it is. Every --indicator-id is checked before anything is written: when one names no indicator in the case, the whole call is refused and nothing is changed. Each indicator that changes gets one case log entry with you as the actor, and the answer counts the indicators changed and those left as they were. Take the ids from ioc list.

arcsentry indicators set-tlp --case <case> --indicator-id <indicator-id> --tlp <tlp>
OptionDescription
-c, --case <case>required Case UUID.
-i, --indicator-id <indicator-id>required Indicator UUID to change. Can be repeated.
-t, --tlp <tlp>required TLP to set: TLP:CLEAR, TLP:GREEN, TLP:AMBER, TLP:AMBER+STRICT or TLP:RED.

Examples

Set one indicator's TLP to amber

arcsentry indicators set-tlp --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --tlp TLP:AMBER

Set the TLP of two indicators in one call

arcsentry indicators set-tlp --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --indicator-id a3c5e7f9-1b2d-4e6f-8a90-1c2d3e4f5a6b --tlp TLP:AMBER+STRICT

Set it using the short forms of every flag

arcsentry indicators set-tlp -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 -t TLP:CLEAR

Read the ids to change from the case's indicator list

arcsentry ioc list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry indicators clear-tlp

Clear the TLP of recorded indicators by id.

Removes the TLP label from every indicator named, and an indicator with no TLP is left as it is. Every --indicator-id is checked before anything is written: when one names no indicator in the case, the whole call is refused and nothing is changed. Each indicator that changes gets one case log entry with you as the actor, and the answer counts the indicators changed and those left as they were. Take the ids from ioc list.

arcsentry indicators clear-tlp --case <case> --indicator-id <indicator-id>
OptionDescription
-c, --case <case>required Case UUID.
-i, --indicator-id <indicator-id>required Indicator UUID to clear. Can be repeated.

Examples

Clear one indicator's TLP

arcsentry indicators clear-tlp --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391

Clear the TLP of two indicators in one call

arcsentry indicators clear-tlp --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --indicator-id a3c5e7f9-1b2d-4e6f-8a90-1c2d3e4f5a6b

Clear it using the short forms of both flags

arcsentry indicators clear-tlp -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391

Read the ids to clear from the case's indicator list

arcsentry ioc list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry indicators reclassify

Change the indicator type of recorded indicators by id.

Sets one indicator type on every indicator named, and an indicator already of that type is left as it is. --type takes a type Arcsentry records, such as domain, sha256, file_name or registry_key, and a type it does not know is refused before anything is written. Every --indicator-id is checked before anything is written: when one names no indicator in the case, the whole call is refused and nothing is changed. Each indicator that changes gets one case log entry with you as the actor, and the command prints how many of the named indicators now carry the type. Interrupt it with Ctrl-C to stop it: the indicators already changed keep their new type.

arcsentry indicators reclassify --case <case> --indicator-id <indicator-id> --type <type>
OptionDescription
-c, --case <case>required Case UUID.
-i, --indicator-id <indicator-id>required Indicator UUID to change. Can be repeated.
-t, --type <type>required Indicator type to record: md5, sha1, sha256, hash, nt_hash, lm_hash, ipv4, ipv6, domain, url, email, user_agent, cidr, file_path, file_name, file_extension, file_size, registry_key, registry_value, service_name, scheduled_task_name, command_line, mutex, username or sid.

Examples

Record one indicator as a domain

arcsentry indicators reclassify --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --type domain

Record two hash indicators as SHA-256 hashes

arcsentry indicators reclassify --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --indicator-id a3c5e7f9-1b2d-4e6f-8a90-1c2d3e4f5a6b --type sha256

Reclassify it using the short forms of every flag

arcsentry indicators reclassify -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 -t file_name

Find the indicators that carry no type yet

arcsentry ioc list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --type unclassified

arcsentry indicators tag

Add tags to recorded indicators by id.

Each tag is added to every indicator named, and the tags an indicator already carries are kept; indicators edit is what replaces or removes them. --tag may be repeated or given one comma-separated list, and a tag list with no tag in it is refused before anything is written. Every id is checked before anything is written, so an id that names no indicator in the case refuses the whole call and tags nothing. Each indicator whose tags change gets one case log entry with you as the actor, and the command prints how many indicators changed and how many already carried every tag.

arcsentry indicators tag --case <case> --indicator-id <indicator-id> --tag <tag>
OptionDescription
-c, --case <case>required Case UUID.
-i, --indicator-id <indicator-id>required Indicator UUID to tag. Can be repeated.
-T, --tag <tag>required Tag to add, or several in one comma-separated list. Can be repeated.

Examples

Tag one indicator as a beacon

arcsentry indicators tag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --tag beacon

Add two tags to two indicators in one call

arcsentry indicators tag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --indicator-id a3c5e7f9-1b2d-4e6f-8a90-1c2d3e4f5a6b --tag beacon,phase-2

Tag it using the short forms of every flag

arcsentry indicators tag -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 -T reviewed

Read back the tags the indicator now carries

arcsentry indicators show --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391

arcsentry indicators edit

Change one recorded indicator's notes, tags or linked techniques.

Only what you pass is changed: --notes replaces the notes, and an empty --notes clears them. --tag replaces the indicator's whole tag set and may be repeated or given one comma-separated list, and --clear-tags removes every tag; --linked-ttp and --clear-linked-ttps do the same for the ATT&CK techniques linked to it. With none of them the edit is refused rather than quietly doing nothing. The change gets one case log entry with you as the actor, and the command prints the indicator as it now stands; indicators tag is what adds tags to many indicators at once.

arcsentry indicators edit --case <case> --indicator-id <indicator-id> [options]
OptionDescription
-c, --case <case>required Case UUID.
-i, --indicator-id <indicator-id>required Indicator UUID to change.
-n, --notes <notes> Note text to store with the indicator, replacing the notes it carries.
-T, --tag <tag> Tag to set, or several in one comma-separated list; the tags given replace the indicator's tags. Can be repeated.
-x, --clear-tags Remove every tag from the indicator.
-k, --linked-ttp <linked-ttp> ATT&CK technique id to link, e.g. T1071.001; the ids given replace the linked techniques. Can be repeated.
-K, --clear-linked-ttps Remove every ATT&CK technique linked to the indicator.

Examples

Write a note on one indicator

arcsentry indicators edit --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --notes "Beacon target seen on three hosts"

Replace its tags and link it to a technique

arcsentry indicators edit --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --tag beacon --tag confirmed --linked-ttp T1071.001

Remove every tag from one indicator

arcsentry indicators edit --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --clear-tags

Edit it using the short forms of the flags

arcsentry indicators edit -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 -n "Reviewed" -k T1105

arcsentry indicators show

Print one recorded indicator in full.

The indicator is printed with its type, field and value, the evidence and event it was recorded from, its severity, TLP, tags, notes and linked techniques, its match count, and the source record kept with it. --fetch-source first reads that source record out of the records of its evidence and keeps it with the indicator, as the Source Record action of the desktop application does, and the case log records it with you as the actor. When that event is no longer in the records of its evidence the indicator is printed with no source record. Take the id from ioc list.

arcsentry indicators show --case <case> --indicator-id <indicator-id> [options]
OptionDescription
-c, --case <case>required Case UUID.
-i, --indicator-id <indicator-id>required Indicator UUID, as printed by ioc list.
-s, --fetch-source Read the source record from the records of its evidence and keep it with the indicator first.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

Print one indicator in full

arcsentry indicators show --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391

Read the event it was flagged from and keep it with the indicator

arcsentry indicators show --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --fetch-source

Print it as a table using the short forms

arcsentry indicators show -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 -f table

Find the indicator id first

arcsentry ioc list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --query akira

arcsentry indicators cross-match

Print every evidence item where a recorded indicator's value was recorded.

Every evidence item holding a recorded indicator with the same value is listed once, with its name, how many such records it holds, the event types they came from, and when the first and the last of them were recorded, the evidence item with the most records first. Records come from indicators flag and from ioc match runs, so a value flagged in one evidence item shows where a match run found it in others. Evidence where the value was never recorded is left out. Take the id from ioc list.

arcsentry indicators cross-match --case <case> --indicator-id <indicator-id> [options]
OptionDescription
-c, --case <case>required Case UUID.
-i, --indicator-id <indicator-id>required Indicator UUID, as printed by ioc list.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

List the evidence where an indicator's value was recorded

arcsentry indicators cross-match --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391

Print the evidence as a table for reading in a terminal

arcsentry indicators cross-match --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --indicator-id 7b1e9c04-52d3-4f8a-9e17-c0a4d6f2b391 --format table

Write the evidence of a second indicator as CSV

arcsentry indicators cross-match -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i a3c5e7f9-1b2d-4e6f-8a90-1c2d3e4f5a6b -f csv

Match the case's indicators against one more evidence item first

arcsentry ioc match --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013