BAM / DAM

The Background Activity Moderator (BAM) and Desktop Activity Moderator (DAM) are Windows services that record, per user SID, the full path of executables and the last time each ran. The data sits in the SYSTEM hive.

WindowsExecutionParser: bam5 fieldsCollected by priority triage

What BAM/DAM is

Execution artifacts record that a program was present or ran: what, where from, how often and when. They are the core of "what did the attacker run?"

Forensic value

What BAM/DAM can tell an investigator:

  • Last execution time of programs per user account, including command-line tools.
  • A quick way to tie execution to a specific user.

What it does not prove

  • BAM keeps a short history, so entries for programs not run recently may be gone.
  • Only one time per program is kept: the last run.

Where it is stored

Arcsentry looks for BAM/DAM at these locations inside a collection, disk image or mounted volume:

**/Windows.old/Windows/System32/config/RegBack/SYSTEM
**/Windows.old/Windows/System32/config/SYSTEM
**/Windows/System32/config/RegBack/SYSTEM
**/Windows/System32/config/SYSTEM

What Arcsentry records

Each BAM/DAM record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:

FieldTypeMeaning
user_idVARCHARUser identifier
process_executableVARCHARProcess executable
bam_last_execution_timeVARCHARBAM/DAM last execution timestamp
registry_hive_setVARCHARRegistry hive set the record was read from: live, regback, windows_old or windows_old_regback
registry_hive_replayVARCHARWhy the registry hive this record was read from lacks its transaction-log changes: failed when replay failed at staging, disabled when replay was turned off

Time

Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.

Collecting BAM/DAM with Arcsentry Collector

Arcsentry Collector gathers BAM/DAM in these triage profiles: windows::profile::triage::priority, windows::profile::triage::offline, windows::profile::triage::timeline, windows::profile::triage::full. It is read straight from the file system, on a live host or inside a disk image, without mounting.

The collection targets that pick it up: windows::registry::registry_hives_system, windows::security::windows_hello.

.\arcsentry-collect.exe collect --local -t windows::profile::triage::priority `
  -o E:\IR -f host.arcx --password-file E:\IR\pw.txt

Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.

Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so BAM/DAM can come from the tools you already use.

Analysing BAM/DAM in Arcsentry

Ask in plain English, for example "show BAM/DAM records from the incident window, newest first", and Arcsentry shows the query before it runs. Or write it in AQL:

filter event_type == "bam"
sort {-timestamp}
take 100

Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads BAM/DAM records with the same tools and cites them by event ID.

Corroborate with

No single artifact settles a question on its own. Check BAM/DAM against:

  • Windows Prefetch files: Parses Windows Prefetch (.pf) execution artifacts.
  • Amcache: Parses Amcache.hve application execution history.
  • UserAssist: ROT13-encoded program execution tracking with run counts, focus time, and last execution timestamps.
  • Windows event log: Parses Windows Event Log (.evtx) files.

Frequently asked

What does BAM record?

The full path of executables and the last time each ran, grouped by user SID.

Does Arcsentry parse BAM/DAM?

Yes. Arcsentry's BAM/DAM parser (bam) reads it from Windows evidence and records 5 fields per record, with provenance back to the source file.

How do I collect BAM/DAM?

Arcsentry Collector gathers it with the priority triage profile (windows::profile::triage::priority), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.

Parse BAM/DAM on your own evidence.

Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.

Request a trial