SID Decode
Synopsis
Extracts and decodes Windows Security Identifier (SID) information.
Schema
- sid_decode:
field: <ident>
target_field: <string>
resolve_names: <boolean>
include_domain: <boolean>
expand_groups: <boolean>
description: <text>
if: <script>
ignore_failure: <boolean>
ignore_missing: <boolean>
on_failure: <processor[]>
on_success: <processor[]>
tag: <string>
Configuration
The following fields are used to define the processor:
Field | Required | Default | Description |
---|---|---|---|
field | Y | - | Source field containing SID string to decode |
target_field | N | {field}_decoded | Target field to store decoded SID information |
resolve_names | N | true | Resolve SID to account names when possible |
include_domain | N | true | Include domain information in resolved names |
expand_groups | N | false | Expand group SIDs to show member information |
description | N | - | Explanatory note |
if | N | - | Condition to run |
ignore_failure | N | false | Continue processing if decoding fails |
ignore_missing | N | false | Skip processing if referenced field doesn't exist |
on_failure | N | - | See Handling Failures |
on_success | N | - | See Handling Success |
tag | N | - | Identifier |
Details
Decodes Windows Security Identifiers (SIDs) to extract account information, authority details, and relative identifiers. The processor can resolve well-known SIDs to their account names and provide detailed breakdowns of SID components.
The processor supports both standard SID strings (S-1-5-21-...) and well-known SID aliases commonly used in Windows security contexts.
Windows SIDs follow the format S-R-I-S where S is the revision level, R is the identifier authority, I is the issuer identifier, and S are sub-authorities. The processor breaks down each component for analysis.
When resolve_names
is enabled, the processor attempts to resolve SIDs to their corresponding account names using well-known SID mappings and domain lookups.
SID resolution may not be available for all SIDs, especially domain-specific or custom SIDs. The processor will still decode the SID structure even when name resolution fails.
Examples
Basic SID Decoding
Decoding Windows SID structure... |
|
extracts SID components: |
|
Well-Known SID Resolution
Resolving well-known SIDs to names... |
|
includes resolved account name: |
|
Multiple SIDs
Processing array of SID values... |
|
decodes each SID: |
|
Domain SID Analysis
Analyzing domain-specific SIDs... |
|
includes domain context: |
|