Lesson 9.2

Match across hosts

Search every evidence item in an Arcsentry case for the indicators you have recorded, read what was found where, and use the matches to find activity you had not seen.

15 minEveryone
At a glance for experienced analysts
  • Match indicators searches the evidence in scope for every value recorded in the case and records each hit.
  • Results say how many matches were recorded on each host. Expand an indicator to see each record, in every field it appeared in.
  • Flagging records nothing else by itself: run a match after adding indicators or evidence.
Command line
arcsentry ioc match --case <uuid> --evidence-id <id>
Match indicators results
One indicator, matched across both hosts: 17 records on web01, none on db01.

Run a match

  1. In Indicators, set the evidence scope, usually All evidence.
  2. Click Match indicators.
  3. Arcsentry searches every record of every evidence item in scope for every recorded value, and records each hit as an indicator record against that evidence.

The result lists the matches recorded per host. Expand an indicator to see each record: the field it was in, the evidence and the event ID. Click through to the event.

What matching finds

A value flagged from a web log is searched for in every field of every record: syslog messages, sessions, login records, process arguments. On the practice case, the web shell operator’s address turns up as the source of two root SSH logons, days after the break-in.

Field Record What it shows
remote_addr nginx access log The web shell requests on 24 November
source_ip syslog (sshd) Accepted publickey for root from 203.0.113.77
client_endpoints Session The SSH sessions themselves
source_address Login records (wtmp) The same logons, from a second source

When to run it

  • After you flag new indicators.
  • After you add evidence: a new host may hold old indicators.
  • Before you hand over: the counts are part of the scope of the compromise.

Check yourself

1. You flag a new IP address. When do the other records with that address appear under it?
2. A match finds the attacker's address in a field you never queried. Why is that useful?

Try it

Flag 203.0.113.77 from a web shell request, then run Match indicators with All evidence in scope. How many records match on each host, and what does the match find that the web logs did not show?

Show the answer

17 matches on web01 and none on db01. Besides the nginx requests, the address appears in syslog, sessions and login records: root logged in over SSH from 203.0.113.77 with an ED25519 key at 01:12:51 UTC on 25 November and at 22:03:17 on 27 November. The attacker came back days later with an SSH key, which is persistence.

Progress is saved in this browser only.