Skip to content

Latest commit

 

History

History
193 lines (166 loc) · 8.78 KB

File metadata and controls

193 lines (166 loc) · 8.78 KB

process

Schema ID: https://github.com/NextronSystems/jsonlog/thorlog/v3/process | JSON Schema: https://json-schema.org/draft/2020-12/schema | Definition: Process

Fields

Field names are shown in UPPERCASE as used in Sigma rules. The lowercase JSON name is shown in parentheses for reference.

Sigma Field JSON Name Type Required Description Example Values
BEACON_CONFIG beacon_config object Object, see BEACON_CONFIG Nested Fields below
COMMAND command string /usr/lib/systemd/systemd --switched-root..., /tmp/stub-server -port 19992 -tls-genera..., /usr/bin/python3 -m http.server 19993
CONNECTIONS connections array null
CREATED created string (date-time) 2026-02-25T20:03:04+01:00, 2026-04-26T11:55:48+02:00
DEAD dead boolean false, true
IMAGE image object Object, see IMAGE Nested Fields below
LISTEN_PORTS listen_ports array null
NAME name string stub-server, thunderstorm-stub-server, bash
OWNER owner string root, neo, sssd
PARENT_INFO parent_info object Object, see PARENT_INFO Nested Fields below
PE_SIEVE pe_sieve object Object, see PE_SIEVE Nested Fields below
PID pid integer 1, 214681, 2801945
SECTIONS sections array of object
SESSION session string ``, neo
TREE tree array null
TYPE type string

BEACON_CONFIG JSON Sub-Fields

⚠️ These nested fields are JSON structure reference only. THOR's Sigma backend matches on top-level fields only. You cannot use IMAGE.PATH, IMAGE_PATH, or PARENT_INFO.PID in Sigma rules. Object null-check syntax (FIELD: null) exists but matched all objects in THOR v11.0.0 testing — verify behavior before relying on it.

Nested JSON structure within beacon_config (type: object):

JSON Path Type Description Example Values
beacon_type string
c2 string
port string
spawn_to string
injection_process string
pipe_name string
user_agent string
proxy string
full_config object
cipher_parameters.xaf_encoded boolean
cipher_parameters.xaf_encoding_anchor integer
cipher_parameters.xor_key integer
cipher_parameters.beacon_offset integer
cipher_parameters.beacon_length integer
cipher_parameters.block_start.hex any
cipher_parameters.block_start.ascii any
cipher_parameters.pairwise_swapped boolean

IMAGE JSON Sub-Fields

⚠️ These nested fields are JSON structure reference only. THOR's Sigma backend matches on top-level fields only. You cannot use IMAGE.PATH, IMAGE_PATH, or PARENT_INFO.PID in Sigma rules. Object null-check syntax (FIELD: null) exists but matched all objects in THOR v11.0.0 testing — verify behavior before relying on it.

Nested JSON structure within image (type: object):

JSON Path Type Description Example Values
type string
path string
exists string
extension string
magic_header string
hashes.md5 string
hashes.sha1 string
hashes.sha256 string
first_bytes.hex string
first_bytes.ascii string
file_times.modified string (date-time)
file_times.accessed string (date-time)
file_times.changed string (date-time)
file_times.created string (date-time)
file_times.usn_change_time string (date-time)
file_times.mft_file_name_modified string (date-time)
file_times.mft_file_name_accessed string (date-time)
file_times.mft_file_name_changed string (date-time)
file_times.mft_file_name_created string (date-time)
size integer
pe_info.company string
pe_info.description string
pe_info.legal_copyright string
pe_info.product string
pe_info.original_name string
pe_info.internal_name string
pe_info.signed boolean
pe_info.signatures array null
pe_info.imphash string
pe_info.rich_header_hash string
pe_info.creation_timestamp string (date-time)
target string
unpack_source array null
link_info.target string
link_info.arguments string
link_info.command_line string
link_info.created string (date-time)
link_info.modified string (date-time)
link_info.accessed string (date-time)
recycle_bin_info.original_file_name string
recycle_bin_info.deletion_time string (date-time)
recycle_bin_info.original_file_size integer
wer_info.type string
wer_info.event_name string
wer_info.event_type string
wer_info.date string (date-time)
wer_info.app_path string
wer_info.app_name string
wer_info.exe string
wer_info.error string
wer_info.fault_in_module string
content.type string
content.elements array null
content.length integer
beacon_config.beacon_type string
beacon_config.c2 string
beacon_config.port string
beacon_config.spawn_to string
beacon_config.injection_process string
beacon_config.pipe_name string
beacon_config.user_agent string
beacon_config.proxy string
beacon_config.full_config object
beacon_config.cipher_parameters.xaf_encoded any
beacon_config.cipher_parameters.xaf_encoding_anchor any
beacon_config.cipher_parameters.xor_key any
beacon_config.cipher_parameters.beacon_offset any
beacon_config.cipher_parameters.beacon_length any
beacon_config.cipher_parameters.block_start any
beacon_config.cipher_parameters.pairwise_swapped any
virustotal.result string
virustotal.positive_verdicts integer
virustotal.total_verdicts integer
virustotal.history.names any
virustotal.history.tags any
virustotal.history.submissions any
virustotal.history.first_submission any
virustotal.history.last_submission any

PARENT_INFO JSON Sub-Fields

⚠️ These nested fields are JSON structure reference only. THOR's Sigma backend matches on top-level fields only. You cannot use IMAGE.PATH, IMAGE_PATH, or PARENT_INFO.PID in Sigma rules. Object null-check syntax (FIELD: null) exists but matched all objects in THOR v11.0.0 testing — verify behavior before relying on it.

Nested JSON structure within parent_info (type: object):

JSON Path Type Description Example Values
pid integer 1, 214681, 2801945
exe string
command string /usr/lib/systemd/systemd --switched-root..., /tmp/stub-server -port 19992 -tls-genera..., /usr/bin/python3 -m http.server 19993

PE_SIEVE JSON Sub-Fields

⚠️ These nested fields are JSON structure reference only. THOR's Sigma backend matches on top-level fields only. You cannot use IMAGE.PATH, IMAGE_PATH, or PARENT_INFO.PID in Sigma rules. Object null-check syntax (FIELD: null) exists but matched all objects in THOR v11.0.0 testing — verify behavior before relying on it.

Nested JSON structure within pe_sieve (type: object):

JSON Path Type Description Example Values
suspicious_sections integer
replaced integer
hdr_mod integer
unreachable_file integer
patched integer
iat_hooked integer
implanted integer
other integer
skipped integer
errors integer

Sigma Rule Template

logsource:
    product: THOR
    service: "process"

detection:
    selection:
        COMMAND|contains: 'suspicious_command'
    condition: selection

level: medium