Firewall Rules

Parses Windows Firewall rule configuration from SYSTEM and SOFTWARE registry hives.

WindowsNetwork and remote accessParser: firewall20 fieldsCollected by priority triage

What Firewall Rules is

Parses Windows Firewall rule configuration from SYSTEM and SOFTWARE registry hives. It is one of 23 network and remote access artifacts Arcsentry reads. Network and remote-access artifacts record connections, remote sessions and remote-access tools: RDP, SSH, VPN clients and remote-administration software.

Forensic value

Network and remote access artifacts help answer questions like these:

  • Which hosts did this machine connect to?
  • Was remote-access software installed or used?
  • How did the attacker move between hosts?

Where it is stored

Arcsentry looks for Firewall Rules at these locations inside a collection, disk image or mounted volume:

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

What Arcsentry records

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

FieldTypeMeaning
destination_ipVARCHARDestination IP address
event_actionVARCHAREvent action
event_descriptionVARCHARHuman-readable event description
activeBOOLEANFirewall active
embedctxtVARCHARFirewall embedctxt
local_portVARCHARFirewall local port
profileVARCHARFirewall profile
remote_portVARCHARFirewall remote port
rule_keyVARCHARFirewall rule key
rule_nameVARCHARFirewall rule name
rule_versionVARCHARFirewall rule version
firewall_unmapped_fieldsVARCHARJSON overflow for unmapped firewall rule tokens
network_directionVARCHARNetwork direction
network_protocolVARCHARNetwork protocol
process_executableVARCHARProcess executable
registry_sourceVARCHARRegistry/rule origin label (registry sub-path, hive location, or app inventory source) the entry was recovered from
service_nameVARCHARService name
source_ipVARCHARSource IP address
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 Firewall Rules with Arcsentry Collector

Arcsentry Collector gathers Firewall Rules 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, windows::system_state::srum.

.\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 Firewall Rules can come from the tools you already use.

Analysing Firewall Rules in Arcsentry

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

filter event_type == "firewall"
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 Firewall Rules records with the same tools and cites them by event ID.

Frequently asked

Does Arcsentry parse Firewall Rules?

Yes. Arcsentry's Firewall Rules parser (firewall) reads it from Windows evidence and records 20 fields per record, with provenance back to the source file.

How do I collect Firewall Rules?

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 Firewall Rules 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