Windows Event ID Field Mappings for SecureWatch SIEM¶
Overview¶
This document maps Windows Event Log fields to Splunk TA (Technology Add-on) and Azure Sentinel equivalents to ensure compatibility and comprehensive field coverage in SecureWatch SIEM.
Critical Security Event IDs¶
Authentication Events¶
Event ID 4624 - An account was successfully logged on¶
Splunk Common Information Model (CIM) Fields:
action= “success”app= “Windows”dest= Computer nameuser= Account Namesrc_ip= Source Network Addresssrc_port= Source Portauthentication_method= Authentication Packagelogon_type= Logon Typesignature_id= “4624”vendor_product= “Microsoft Windows”
Azure Sentinel SecurityEvent Schema:
Activity= “4624 - An account was successfully logged on”Computer= Computer nameAccount= Account Name (TargetUserName)LogonType= Logon TypeIpAddress= Source Network AddressLogonProcessName= Logon ProcessAuthenticationPackageName= Authentication PackageWorkstationName= Workstation NameLogonGuid= Logon GUIDTransmittedServices= Transmitted ServicesLmPackageName= LM Package NameKeyLength= Key LengthProcessId= Process IDProcessName= Process Name
SecureWatch Enhanced Schema:
interface WindowsLogonEvent {
// Core fields
event_id: 4624;
timestamp: string;
computer: string;
channel: "Security";
// Authentication fields
target_user_name: string;
target_domain_name: string;
target_user_sid: string;
target_logon_id: string;
logon_type: number;
logon_type_description: string; // Interactive, Network, Batch, etc.
// Source information
source_network_address: string;
source_port: number;
workstation_name: string;
// Process information
logon_process_name: string;
authentication_package_name: string;
transmitted_services: string;
lm_package_name: string;
key_length: number;
// Security identifiers
subject_user_sid: string;
subject_user_name: string;
subject_domain_name: string;
subject_logon_id: string;
// Enhanced fields
logon_guid: string;
elevated_token: string;
virtual_account: string;
linked_logon_id: string;
network_account_name: string;
network_account_domain: string;
// Threat intelligence
geo_location?: GeoLocation;
risk_score?: number;
is_suspicious?: boolean;
}
Event ID 4625 - An account failed to log on¶
Splunk CIM Fields:
action= “failure”app= “Windows”dest= Computer nameuser= Account Namesrc_ip= Source Network Addressfailure_reason= Failure Reasonsub_status= Sub Statussignature_id= “4625”
Azure Sentinel SecurityEvent Schema:
Activity= “4625 - An account failed to log on”Computer= Computer nameAccount= Account Name (TargetUserName)LogonType= Logon TypeStatus= Status (hex)SubStatus= Sub Status (hex)FailureReason= Failure ReasonIpAddress= Source Network AddressWorkstationName= Workstation Name
SecureWatch Enhanced Schema:
interface WindowsLogonFailureEvent {
// Core fields
event_id: 4625;
timestamp: string;
computer: string;
channel: "Security";
// Failed authentication details
target_user_name: string;
target_domain_name: string;
failure_reason: string;
status: string; // NTSTATUS code
sub_status: string; // Sub-status code
// Source information
source_network_address: string;
source_port: number;
workstation_name: string;
// Logon attempt details
logon_type: number;
logon_process_name: string;
authentication_package_name: string;
// Subject (requesting account)
subject_user_sid: string;
subject_user_name: string;
subject_domain_name: string;
subject_logon_id: string;
// Enhanced fields for threat detection
attempt_count?: number;
is_brute_force?: boolean;
geo_location?: GeoLocation;
risk_score?: number;
}
Process Execution Events¶
Event ID 4688 - A new process has been created¶
Splunk CIM Fields:
action= “allowed”app= “Windows”dest= Computer nameuser= Subject User Nameprocess= New Process Nameprocess_id= New Process IDparent_process= Creator Process Nameparent_process_id= Creator Process IDcommand_line= Process Command Linesignature_id= “4688”
Azure Sentinel SecurityEvent Schema:
Activity= “4688 - A new process has been created”Computer= Computer nameAccount= Subject User NameNewProcessName= New Process NameNewProcessId= New Process IDParentProcessName= Creator Process NameCommandLine= Process Command LineTokenElevationType= Token Elevation Type
SecureWatch Enhanced Schema:
interface WindowsProcessCreationEvent {
// Core fields
event_id: 4688;
timestamp: string;
computer: string;
channel: "Security";
// Subject (user who created process)
subject_user_sid: string;
subject_user_name: string;
subject_domain_name: string;
subject_logon_id: string;
// New process details
new_process_id: string;
new_process_name: string;
token_elevation_type: string;
process_id: string; // Creator Process ID
command_line?: string; // If command line auditing enabled
// Creator process details
creator_process_id: string;
creator_process_name: string;
// Enhanced fields
mandatory_label: string;
target_user_sid?: string;
target_user_name?: string;
target_domain_name?: string;
target_logon_id?: string;
// Threat intelligence
file_hash?: string;
digital_signature?: DigitalSignature;
is_suspicious?: boolean;
mitre_tactics?: string[];
mitre_techniques?: string[];
}
Service Events¶
Event ID 7045 - A service was installed on the system¶
Splunk CIM Fields:
action= “created”app= “Windows”dest= Computer nameservice_name= Service Nameservice_file_name= Service File Nameservice_type= Service Typeservice_start_type= Service Start Typesignature_id= “7045”
Azure Sentinel SecurityEvent Schema:
Activity= “7045 - A service was installed on the system”Computer= Computer nameServiceName= Service NameServiceFileName= Image PathServiceType= Service TypeServiceStartType= Start TypeServiceAccount= Service Account
SecureWatch Enhanced Schema:
interface WindowsServiceInstallEvent {
// Core fields
event_id: 7045;
timestamp: string;
computer: string;
channel: "System";
// Service details
service_name: string;
image_path: string; // Service File Name
service_type: string;
start_type: string;
account_name: string;
// Enhanced fields
service_description?: string;
service_sid_type?: string;
binary_path_name?: string;
load_order_group?: string;
tag_id?: number;
dependencies?: string[];
// Threat intelligence
file_hash?: string;
digital_signature?: DigitalSignature;
is_suspicious?: boolean;
persistence_indicator?: boolean;
}
Scheduled Task Events¶
Event ID 4698 - A scheduled task was created¶
Splunk CIM Fields:
action= “created”app= “Windows”dest= Computer nameuser= Subject User Nametask_name= Task Namesignature_id= “4698”
Event ID 106 - Task Scheduler registered a task¶
Azure Sentinel SecurityEvent Schema:
Activity= “4698 - A scheduled task was created”Computer= Computer nameAccount= Subject User NameTaskName= Task NameTaskContent= Task Content (XML)
SecureWatch Enhanced Schema:
interface WindowsScheduledTaskEvent {
// Core fields
event_id: 4698 | 106;
timestamp: string;
computer: string;
channel: "Security" | "Microsoft-Windows-TaskScheduler/Operational";
// Subject (user who created task)
subject_user_sid: string;
subject_user_name: string;
subject_domain_name: string;
subject_logon_id: string;
// Task details
task_name: string;
task_content?: string; // XML content
// Parsed task information
task_actions?: TaskAction[];
task_triggers?: TaskTrigger[];
task_settings?: TaskSettings;
// Enhanced fields
run_as_user?: string;
highest_privilege?: boolean;
hidden?: boolean;
// Threat intelligence
is_suspicious?: boolean;
persistence_indicator?: boolean;
mitre_techniques?: string[];
}
PowerShell Events¶
Event ID 4103 - Module Logging¶
Event ID 4104 - Script Block Logging¶
Splunk CIM Fields:
action= “allowed”app= “PowerShell”dest= Computer nameuser= User Namescript_block_text= Script Block Textsignature_id= “4104”
Azure Sentinel SecurityEvent Schema:
Activity= “4104 - PowerShell Script Block”Computer= Computer nameScriptBlockText= Script Block TextScriptBlockId= Script Block IDPath= Script Path
SecureWatch Enhanced Schema:
interface WindowsPowerShellEvent {
// Core fields
event_id: 4103 | 4104;
timestamp: string;
computer: string;
channel: "Microsoft-Windows-PowerShell/Operational";
// PowerShell context
engine_version: string;
runspace_id: string;
pipeline_id: string;
command_name?: string;
command_type?: string;
script_block_text?: string;
script_block_id?: string;
// User context
user_name: string;
user_id: string;
// Enhanced fields
script_path?: string;
command_line?: string;
host_name?: string;
host_version?: string;
// Threat intelligence
contains_base64?: boolean;
contains_obfuscation?: boolean;
suspicious_functions?: string[];
is_malicious?: boolean;
mitre_techniques?: string[];
}
Event Log Clearing¶
Event ID 1102 - The audit log was cleared¶
Splunk CIM Fields:
action= “deleted”app= “Windows”dest= Computer nameuser= Subject User Namesignature_id= “1102”
Azure Sentinel SecurityEvent Schema:
Activity= “1102 - The audit log was cleared”Computer= Computer nameAccount= Subject User NameLogFileCleared= Security
SecureWatch Enhanced Schema:
interface WindowsLogClearEvent {
// Core fields
event_id: 1102;
timestamp: string;
computer: string;
channel: "Security";
// Subject (user who cleared log)
subject_user_sid: string;
subject_user_name: string;
subject_domain_name: string;
subject_logon_id: string;
// Enhanced fields
backup_path?: string;
cleared_by_process?: string;
// Threat intelligence
is_suspicious: boolean; // Always true for log clearing
anti_forensics_indicator: boolean;
incident_priority: "high";
}
Common Field Mappings¶
Standard Windows Event Fields¶
interface BaseWindowsEvent {
// Event metadata
event_id: number;
timestamp: string; // ISO 8601 format
computer: string;
channel: string; // Security, System, Application, etc.
record_id: number;
// System information
provider_name: string;
provider_guid?: string;
version: number;
level: number; // 0=LogAlways, 1=Critical, 2=Error, 3=Warning, 4=Information, 5=Verbose
level_text: string;
task: number;
task_text?: string;
opcode: number;
opcode_text?: string;
keywords: string; // Hex value
// Execution context
process_id: number;
thread_id: number;
// Correlation
activity_id?: string;
related_activity_id?: string;
// Security context
user_id?: string;
// Raw data
raw_xml: string;
// SecureWatch enhancements
source_file?: string; // For EVTX imports
parsed_at: string;
normalized_at: string;
correlation_id?: string;
// Threat intelligence
geo_location?: GeoLocation;
risk_score?: number;
is_suspicious?: boolean;
mitre_tactics?: string[];
mitre_techniques?: string[];
// Compliance frameworks
nist_controls?: string[];
iso27001_controls?: string[];
cis_controls?: string[];
}
Geographic Location Enhancement¶
interface GeoLocation {
country?: string;
region?: string;
city?: string;
latitude?: number;
longitude?: number;
timezone?: string;
isp?: string;
organization?: string;
asn?: number;
}
Digital Signature Information¶
interface DigitalSignature {
is_signed: boolean;
signature_valid?: boolean;
signer_name?: string;
issuer_name?: string;
certificate_thumbprint?: string;
certificate_serial?: string;
signature_algorithm?: string;
trusted?: boolean;
}
Task Scheduler Structures¶
interface TaskAction {
type: "Exec" | "ComHandler" | "SendEmail" | "ShowMessage";
command?: string;
arguments?: string;
working_directory?: string;
class_id?: string;
}
interface TaskTrigger {
type: "TimeTrigger" | "DailyTrigger" | "WeeklyTrigger" | "MonthlyTrigger" | "IdleTrigger" | "RegistrationTrigger" | "BootTrigger" | "LogonTrigger";
start_boundary?: string;
end_boundary?: string;
enabled: boolean;
repetition?: {
interval?: string;
duration?: string;
stop_at_duration_end?: boolean;
};
}
interface TaskSettings {
allow_demand_start?: boolean;
allow_hard_terminate?: boolean;
compatibility?: number;
delete_expired_task_after?: string;
enabled?: boolean;
execution_time_limit?: string;
hidden?: boolean;
idle_settings?: {
duration?: string;
wait_timeout?: string;
stop_on_idle_end?: boolean;
restart_on_idle?: boolean;
};
multiple_instances_policy?: "Parallel" | "Queue" | "IgnoreNew" | "StopExisting";
priority?: number;
restart_count?: number;
restart_interval?: string;
run_only_if_idle?: boolean;
run_only_if_network_available?: boolean;
start_when_available?: boolean;
stop_if_going_on_batteries?: boolean;
wake_to_run?: boolean;
}
Field Priority Matrix¶
Critical Fields (Always Include)¶
event_id- Event identifiertimestamp- Event occurrence timecomputer- Source systemuserfields - Associated user accountprocessfields - Process informationsource_ip- Network source (if applicable)
High Priority Fields (Include When Available)¶
command_line- Process command lineparent_process- Parent process informationlogon_type- Authentication methodfailure_reason- Failure detailsfile_hash- File integrity verification
Medium Priority Fields (Include for Enrichment)¶
geo_location- Geographic contextrisk_score- Threat assessmentmitre_*- ATT&CK framework mappingdigital_signature- Code signing status
Low Priority Fields (Include for Completeness)¶
raw_xml- Original event datakeywords- Event keywordscorrelation_id- Event correlationcompliance_*- Regulatory mapping
This comprehensive field mapping ensures SecureWatch maintains compatibility with Splunk and Azure Sentinel while providing enhanced threat detection capabilities.