Skip to content

Sophos Threat Analysis Center

Overview

The Sophos Threat Analysis Center (STAC), is a dedicated tool for research and analysis of cybersecurity threats. so it can help continuously on monitoring the cyber threat landscape and analyze new forms of malware, attack techniques, and cybercrime trends. which has also the most important part which the live Discover , with usage of queries you can have device informations from Sophos data lake.

Warning

Important note - This format is currently in beta. We highly value your feedback to improve its performance.

The following Sekoia.io built-in rules match the intake Sophos Analysis Threat Center [BETA]. This documentation is updated automatically and is based solely on the fields used by the intake which are checked against our rules. This means that some rules will be listed but might not be relevant with the intake.

SEKOIA.IO x Sophos Analysis Threat Center [BETA] on ATT&CK Navigator

AccCheckConsole Executing Dll

Detects suspicious LOLBIN AccCheckConsole execution with parameters as used to load an arbitrary DLL.

  • Effort: advanced
Account Added To A Security Enabled Group

Detection in order to investigate who has added a specific Domain User in Domain Admins or Group Policy Creator Owners (Security event 4728)

  • Effort: master
Account Removed From A Security Enabled Group

Detection in order to investigate who has removed a specific Domain User in Domain Admins or Group Policy Creator Owners (Security event 4729)

  • Effort: master
Active Directory Data Export Using Csvde

Detects the use of Csvde, a command-line tool from Windows Server that can be used to export Active Directory data to CSV files. This export doesn't include password hashes, but can be used as a discovery tool to enumerate users, machines and group memberships.

  • Effort: elementary
AdFind Usage

Detects the usage of the AdFind tool. AdFind.exe is a free tool that extracts information from Active Directory. Wizard Spider (Bazar, TrickBot, Ryuk), FIN6 and MAZE operators have used AdFind.exe to collect information about Active Directory organizational units and trust objects

  • Effort: elementary
Add User to Privileged Group

Add user in a potential privileged group which can be used to elevate privileges on the system

  • Effort: advanced
Address Space Layout Randomization (ASLR) Alteration

ASLR is a security feature used by the Operating System to mitigate memory exploit, attacker might want to disable it

  • Effort: intermediate
Adexplorer Usage

Detects the usage of Adexplorer, a legitimate tool from the Sysinternals suite that could be abused by attackers as it can saves snapshots of the Active Directory Database.

  • Effort: advanced
Advanced IP Scanner

Detects the use of Advanced IP Scanner. Seems to be a popular tool for ransomware groups.

  • Effort: master
Audio Capture via PowerShell

Detects audio capture via PowerShell Cmdlet

  • Effort: intermediate
Autorun Keys Modification

Detects modification of autostart extensibility point (ASEP) in registry. Prerequisites are Logging for Registry events in the Sysmon configuration (events 12 and 13).

  • Effort: master
AzureEdge in Command Line

Detects use of azureedge in the command line.

  • Effort: advanced
BITSAdmin Download

Detects command to download file using BITSAdmin, a built-in tool in Windows. This technique is used by several threat actors to download scripts or payloads on infected system.

  • Effort: advanced
BazarLoader Persistence Using Schtasks

Detects possible BazarLoader persistence using schtasks. BazarLoader will create a Scheduled Task using a specific command line to establish its persistence.

  • Effort: intermediate
Bloodhound and Sharphound Tools Usage

Detects default process names and default command line parameters used by Bloodhound and Sharphound tools.

  • Effort: intermediate
Blue Mockingbird Malware

Attempts to detect system changes made by Blue Mockingbird

  • Effort: elementary
Burp Suite Tool Detected

Burp Suite is a cybersecurity tool. When used as a proxy service, its purpose is to intercept packets and modify them to send them to the server. Burp Collaborator is a network service that Burp Suite uses to help discover many kinds of vulnerabilities (vulnerabilities scanner).

  • Effort: intermediate
CMSTP Execution

Detects various indicators of Microsoft Connection Manager Profile Installer execution

  • Effort: intermediate
CMSTP UAC Bypass via COM Object Access

Detects UAC Bypass Attempt Using Microsoft Connection Manager Profile Installer Autoelevate-capable COM Objects

  • Effort: intermediate
CVE 2022-1292

The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script.

  • Effort: advanced
CVE-2017-11882 Microsoft Office Equation Editor Vulnerability

Detects the exploitation of CVE-2017-11882 vulnerability. The Microsoft Office Equation Editor has no reason to do a network request or drop an executable file. This requires a sysmon configuration with file and network events.

  • Effort: master
CVE-2021-34527 PrintNightmare Suspicious Actions From Spoolsv

Detects suspicious image loads and file creations from the spoolsv process which could be a sign of an attacker trying to exploit the PrintNightmare vulnerability, CVE-2021-34527. A remote code execution vulnerability exists when the Windows Print Spooler service improperly performs privileged file operations. An attacker who successfully exploited this vulnerability could run arbitrary code with SYSTEM privileges. This works as well as a Local Privilege escalation vulnerability. To fully work the rule requires to log for Loaded DLLs and File Creations, which can be done respectively using the Sysmon's event IDs 7 and 11.

  • Effort: master
Capture a network trace with netsh.exe

Detects capture a network trace via netsh.exe trace functionality

  • Effort: intermediate
CertOC Loading Dll

Detects when a user installs certificates by using CertOC.exe to loads the target DLL file.

  • Effort: intermediate
Certificate Authority Modification

Installation of new certificate(s) in the Certificate Authority can be used to trick user when spoofing website or to add trusted destinations.

  • Effort: master
Change Default File Association

When a file is opened, the default program used to open the file (also called the file association or handler) is checked. File association selections are stored in the Windows Registry and can be edited by users, administrators, or programs that have Registry access or by administrators using the built-in assoc utility. Applications can modify the file association for a given file extension to call an arbitrary program when a file with the given extension is opened.

  • Effort: advanced
Clear EventLogs Through CommandLine

Detects a command that clears event logs which could indicate an attempt from an attacker to erase its previous traces.

  • Effort: intermediate
Cmd.exe Used To Run Reconnaissance Commands

Detects command lines with suspicious args

  • Effort: advanced
Cmdkey Cached Credentials Recon

Detects usage of cmdkey to look for cached credentials.

  • Effort: intermediate
Cobalt Strike Default Beacons Names

Detects the default names of Cobalt Strike beacons / payloads.

  • Effort: intermediate
Commonly Used Commands To Stop Services And Remove Backups

Detects specific commands used regularly by ransomwares to stop services or remove backups

  • Effort: intermediate
Compress Data for Exfiltration via Archiver

Detects data compressed by specific tools.

  • Effort: advanced
Compression Followed By Suppression

Detects when a file is compressed and deleted.

  • Effort: advanced
Computer Account Deleted

Detects computer account deletion.

  • Effort: master
Container Credential Access

Adversaries could abuse containers tools to obtain credential like Kubernetes secret or Kubernetes service account access token

  • Effort: intermediate
Control Panel Items

Detects the malicious use of a control panel item

  • Effort: advanced
Copying Browser Files With Credentials

Detects copy of sensitive data (passwords, cookies, credit cards) included in web browsers files.

  • Effort: elementary
Copying Sensitive Files With Credential Data

Detects copy of files with well-known filenames (sensitive files with credential data) using esentutl. This requires Windows Security event log with the Detailed File Share logging policy enabled.

  • Effort: elementary
Csrss Child Found

The csrss.exe process (csrss stands for Client / Server Runtime Subsystem) is a generic Windows process used to manage windows and Windows graphics. This process should not create a child process or it is very rare.

  • Effort: intermediate
DNS Exfiltration and Tunneling Tools Execution

Well-known DNS exfiltration tools execution

  • Effort: intermediate
DNS Tunnel Technique From MuddyWater

Detecting DNS Tunnel Activity For Muddywater intrusion set. This is the loading of a specific DLL from an Excel macro which is detected.

  • Effort: elementary
Data Compressed With Rar

An adversary may compress data in order to make it portable and minimize the amount of data sent over the network, this could be done the popular rar command line program.

  • Effort: master
Data Compressed With Rar With Password

An adversary may compress data in order to make it portable and minimize the amount of data sent over the network, this could be done the popular rar command line program. This is a more specific one for rar where the arguments allow to encrypt both file data and headers with a given password.

  • Effort: intermediate
Debugging Software Deactivation

Deactivation of some debugging softwares using taskkill command. It was observed being used by Ransomware operators.

  • Effort: elementary
Default Encoding To UTF-8 PowerShell

Detects PowerShell encoding to UTF-8, which is used by Sliver implants. The command line just sets the default encoding to UTF-8 in PowerShell.

  • Effort: advanced
Disable .NET ETW Through COMPlus_ETWEnabled

Detects potential adversaries stopping ETW providers recording loaded .NET assemblies. Prerequisites are logging for Registry events or logging command line parameters (both is better). Careful for registry events, if SwiftOnSecurity's SYSMON default configuration is used, you will need to update the configuration to include the .NETFramework registry key path. Same issue with Windows 4657 EventID logging, the registry path must be specified.

  • Effort: intermediate
Disable Task Manager Through Registry Key

Detects commands used to disable the Windows Task Manager by modifying the proper registry key in order to impair security tools. This technique is used by the Agent Tesla RAT, among others.

  • Effort: elementary
Disable Workstation Lock

Registry change in order to disable the ability to lock the computer by using CTRL+ALT+DELETE or CTRL+L. This registry key does not exist by default. Its creation is suspicious and the value set to "1" means an activation. It has been used by FatalRAT, but other attacker/malware could probably use it. This rule needs Windows Registry changes (add,modification,deletion) logging which can be done through Sysmon Event IDs 12,13,14.

  • Effort: elementary
Disabled IE Security Features

Detects from the command lines or the registry, changes that indicate unwanted modifications to registry keys that disable important Internet Explorer security features. This has been used by attackers during Operation Ke3chang.

  • Effort: advanced
Dism Disabling Windows Defender

Detects windows defender disabled by dism.

  • Effort: advanced
Docker Escape Bind Mount

Catch Docker escape via mount escape followed by chroot

  • Effort: intermediate
Domain Group And Permission Enumeration

Detects adversaries attempts to find domain-level groups and permission settings. Commands such as net group /domain of the Net utility can list domain-level groups The knowledge of domain-level permission groups can help adversaries determine which groups exist and which users belong to a particular group. Adversaries may use this information to determine which users have elevated permissions, such as domain administrators. Wizard Spider, FIN6, and other groups used net in their campaigns.

  • Effort: advanced
Domain Trust Created Or Removed

A trust was created or removed to a domain. An attacker could perform that in order to do lateral movement easily between domains or shutdown the ability of two domains to communicate.

  • Effort: advanced
Domain Trust Discovery Through LDAP

Detects attempts to gather information on domain trust relationships that may be used to identify lateral movement opportunities. "trustedDomain" which is detected here is a Microsoft Active Directory ObjectClass Type that represents a domain that is trusted by, or trusting, the local AD DOMAIN. Several tools are using LDAP queries in the end to get the information (DSQuery, sometimes ADFind as well, etc.)

  • Effort: elementary
Dynamic Linker Hijacking From Environment Variable

LD_PRELOAD and LD_LIBRARY_PATH are environment variables used by the Operating System at the runtime to load shared objects (library.ies) when executing a new process, attacker can overwrite this variable to attempts a privileges escalation.

  • Effort: advanced
ETW Tampering

Detects a command that clears or disables any ETW Trace log which could indicate a logging evasion

  • Effort: intermediate
Elise Backdoor

Detects Elise backdoor activity as used by Lotus Blossom

  • Effort: elementary
Empire Monkey Activity

Detects EmpireMonkey APT reported Activity

  • Effort: elementary
Equation Group DLL_U Load

Detects a specific tool and export used by EquationGroup

  • Effort: elementary
Erase Shell History

Malware and attacker try to reduce their fingerprints on compromised host by deleting shell history.

  • Effort: advanced
Exchange Mailbox Export

Detection of a standard Exchange Mailbox export, which stores all mails from a user in a pst file, from command line or PowerShell script.

  • Effort: intermediate
Exchange Server Spawning Suspicious Processes

Look for Microsoft Exchange Server’s Unified Messaging service spawning suspicious sub-processes, suggesting exploitation of CVE-2021-26857 vulnerability.

  • Effort: intermediate
Exfiltration And Tunneling Tools Execution

Execution of well known tools for data exfiltration and tunneling

  • Effort: advanced
Exfiltration Domain In Command Line

Detects commands containing a domain linked to http exfiltration.

  • Effort: intermediate
Exfiltration Via Pscp

Detects the use of pscp which is a file sharing services.

  • Effort: advanced
Exploit For CVE-2015-1641

Detects Winword process starting uncommon sub process MicroScMgmt.exe as used in exploits for CVE-2015-1641

  • Effort: elementary
Exploit For CVE-2017-0261 Or CVE-2017-0262

Detects Winword starting uncommon sub process FLTLDR.exe as used in exploits for CVE-2017-0261 and CVE-2017-0262 through command line or PowerShell script. This is a very basic detection method relying on the rare usage of EPS files from Winword.

  • Effort: advanced
Exploited CVE-2020-10189 Zoho ManageEngine

Detects the exploitation of Zoho ManageEngine Desktop Central Java Deserialization vulnerability reported as CVE-2020-10189.

  • Effort: elementary
Exploiting SetupComplete.cmd CVE-2019-1378

Detects exploitation attempts of privilege escalation vulnerability via SetupComplete.cmd and PartnerSetupComplete.cmd described in CVE-2019-1378.

  • Effort: intermediate
Explorer Process Executing HTA File

Detects a suspicious execution of an HTA file by the explorer.exe process. This unusual activity was observed when running IcedID malspam.

  • Effort: intermediate
Explorer Wrong Parent

Detects suspicious spawning of explorer.exe process created by the rundll32.exe or regsvr32.exe. This behaviour is abnormal. Malware injecting itself into the explorer.exe process is quite common, in order to evade process-based defenses.

  • Effort: advanced
FLTMC command usage

Detects the use of fltmc to list and load/unload a filter driver.

  • Effort: advanced
Fail2ban Unban IP

An IP was ubaned by Fail2ban. It could be use to allow malicous traffic.

  • Effort: advanced
Failed Logon Source From Public IP Addresses

A login from a public IP can indicate a misconfigured firewall or network boundary. The sekoia.tags are used to filter internal Ipv4 addresses (10.0.0.0/8 172.16.0.0/12 127.0.0.0/8 169.254.0.0/16 192.168.0.0/16).

  • Effort: master
File Or Folder Permissions Modifications

Adversaries may modify file or directory permissions/attributes to evade access control lists (ACLs) and access protected files.

  • Effort: master
FlowCloud Malware

Detects FlowCloud malware from threat group TA410. This requires Windows Event registry logging.

  • Effort: elementary
Formbook Hijacked Process Command

Detects process hijacked by Formbook malware which executes specific commands to delete the dropper or copy browser credentials to the database before sending them to the C2.

  • Effort: intermediate
Generic-reverse-shell-oneliner

To bypass some security equipement or for a sack of simplicity attackers can open raw reverse shell using shell commands

  • Effort: intermediate
Grabbing Sensitive Hives Via Reg Utility

Detects dump of SAM, System or Security hives using reg.exe utility. Adversaries may attempt to dump these Windows Registry to retrieve password hashes and access credentials.

  • Effort: intermediate
HackTools Suspicious Process Names In Command Line

Detects the default process name of several HackTools and also check in command line. This rule is here for quickwins as it obviously has many blind spots.

  • Effort: intermediate
Hiding Files With Attrib.exe

Detects usage of attrib.exe to hide files from users.

  • Effort: advanced
High Privileges Network Share Removal

Detects high privileges shares being deleted with the net share command.

  • Effort: intermediate
Hijack Legit RDP Session To Move Laterally

Identifies suspicious file creations in the startup folder of a remote system. An adversary could abuse this to move laterally by dropping a malicious script or executable that will be executed after a reboot or user logon.

  • Effort: intermediate
ICacls Granting Access To All

Detects suspicious icacls command granting access to all, used by the ransomware Ryuk to delete every access-based restrictions on files and directories. ICacls is a built-in Windows command to interact with the Discretionary Access Control Lists (DACLs) which can grand adversaries higher permissions on specific files and folders.

  • Effort: elementary
IIS Module Installation Using AppCmd

Detects the installation of a new IIS module from the command line. It can used used to backdoor an IIS/OWA/Sharepoint server.

  • Effort: intermediate
IcedID Execution Using Excel

Detects Excel spawning a process (rundll32 or wmic) running suspicious command-line. This behaviour could correspond to IcedID activity.

  • Effort: elementary
Impacket Addcomputer

Detects suspicious computer account creation based on impacket default pattern

  • Effort: intermediate
Impacket Wmiexec Module

Detection of impacket's wmiexec example, used by attackers to execute commands remotely.

  • Effort: elementary
Inhibit System Recovery Deleting Backups

Detects adversaries attempts to delete backups or inhibit system recovery. This rule relies on differents known techniques using Windows events logs from Sysmon (ID 1), and PowerShell (ID 4103, 4104).

  • Effort: intermediate
KeePass Config XML In Command-Line

Detects a command-line interaction with the KeePass Config XML file. It could be used to retrieve informations or to be abused for persistence.

  • Effort: intermediate
Kernel Module Alteration

Kernel module installation can be used to configure system settings to automatically execute a program during system boot or logon to maintain persistence or gain higher-level privileges on compromised systems.

  • Effort: advanced
Lazarus Loaders

Detects different loaders used by the Lazarus Group APT

  • Effort: elementary
Leviathan Registry Key Activity

Detects registry key used by Leviathan APT in Malaysian focused campaign.

  • Effort: elementary
Linux Bash Reverse Shell

To bypass some security equipement or for a sack of simplicity attackers can open raw reverse shell using shell commands

  • Effort: intermediate
Linux Remove Immutable Attribute

Adversaries may used chattr utility to alter file and folder attributes to control sudden operations like the deletion and modification of files.

  • Effort: intermediate
Linux Shared Lib Injection Via Ldso Preload

Detect ld.so.preload modification for shared lib injection, technique used by attackers to load arbitrary code into process

  • Effort: intermediate
Linux Suspicious Nohup Exec

Detects suspicious usage of nohup which could be leveraged by an attacker to keep a process running or break out from restricted environments

  • Effort: intermediate
Linux Suspicious Search

Adversaries may search for private key on compromised systems

  • Effort: intermediate
List Shadow Copies

Detects command line used to list shadow copies. An adversary may attempt to get information on shadow volumes to perform deletion or extract password hashes from the ntds.dit file. This rule requires command line logging or Windows PowerShell events (4104).

  • Effort: master
Listing Systemd Environment

Detects a listing of systemd environment variables. This command could be used to do reconnaissance on a compromised host.

  • Effort: advanced
MMC Spawning Windows Shell

Detects a Windows command line executable started from MMC process

  • Effort: intermediate
MMC20 Lateral Movement

Detects MMC20.Application Lateral Movement; specifically looks for the spawning of the parent MMC.exe with a command line of "-Embedding" as a child of svchost.exe.

  • Effort: intermediate
MOFComp Execution

Detects rare usage of the Managed Object Format (MOF) compiler on Microsoft Windows. This could be abused by some attackers to load WMI classes.

  • Effort: intermediate
MSBuild Abuse

Detection of MSBuild uses by attackers to infect an host. Focuses on XML compilation which is a Metasploit payload, and on connections made by this process which is unusual.

  • Effort: intermediate
Malicious Browser Extensions

Detects browser extensions being loaded with the --load-extension and -base-url options, which works on Chromium-based browsers. We are looking for potentially malicious browser extensions. These extensions can get access to informations.

  • Effort: advanced
MalwareBytes Uninstallation

Detects command line being used by attackers to uninstall Malwarebytes.

  • Effort: intermediate
MavInject Process Injection

Detects process injection using the signed Windows tool Mavinject32.exe (which is a LOLBAS)

  • Effort: intermediate
Meterpreter or Cobalt Strike Getsystem Service Installation

Detects the use of getsystem Meterpreter/Cobalt Strike command by detecting some of the techniques being used (technique 1,2 and 5).

  • Effort: elementary
Microsoft Defender Antivirus Disable Scheduled Tasks

The rule detects attempts to deactivate/disable Windows Defender scheduled tasks via command line or PowerShell scripts.

  • Effort: intermediate
Microsoft Defender Antivirus Disable Using Registry

The rule detects attempts to deactivate/disable Microsoft Defender Antivirus using registry modification via command line or PowerShell scripts.

  • Effort: master
Microsoft Defender Antivirus Disabled Base64 Encoded

Detects attempts to deactivate/disable Windows Defender through base64 encoded PowerShell command line or scripts.

  • Effort: intermediate
Microsoft Defender Antivirus History Directory Deleted

Windows Defender history directory has been deleted. This could be an attempt by an attacker to remove its traces.

  • Effort: elementary
Microsoft Defender Antivirus Restoration Abuse

The rule detects attempts to abuse Windows Defender file restoration tool. The Windows Defender process is allowed to write files in its own protected directory. This functionality can be used by a threat actor to overwrite Windows Defender files in order to prevent it from running correctly or use Windows Defender to execute a malicious DLL.

  • Effort: intermediate
Microsoft Defender Antivirus Set-MpPreference Base64 Encoded

Detects changes of preferences for Windows Defender through command line or PowerShell scripts. Configure Windows Defender using base64-encoded commands is suspicious and could be related to malicious activities.

  • Effort: intermediate
Microsoft Defender Antivirus Signatures Removed With MpCmdRun

Detects attempts to remove Windows Defender Signatures using MpCmdRun legitimate Windows Defender executable. No signatures mean Windows Defender will be less effective (or completely useless depending on the option used).

  • Effort: elementary
Microsoft Exchange PowerShell Snap-Ins To Export Exchange Mailbox Data

Detects PowerShell SnapIn command line or PowerShell script, often used with Get-Mailbox to export Exchange mailbox data.

  • Effort: intermediate
Microsoft Exchange Server Creating Unusual Files

Look for Microsoft Exchange Server’s Unified Messaging service creating non-standard content on disk, which could indicate web shells or other malicious content, suggesting exploitation of CVE-2021-26858 vulnerability

  • Effort: intermediate
Microsoft Office Creating Suspicious File

Detects Microsoft Office process (word, excel, powerpoint) creating a suspicious file which corresponds to a script or an executable. This behavior highly corresponds to an executed macro which loads an installation script or a malware payload. The rule requires to log for File Creations to work properly, which can be done through Sysmon Event ID 11.

  • Effort: master
Microsoft Office Product Spawning Windows Shell

Detects a Windows command or scripting interpreter executable started from Microsoft Word, Excel, Powerpoint, Publisher and Visio. This typically indicates the parent process launched a malicious macro, or run an exploit. This infection vector is very common and could lead to the deployment of harmful malware.

  • Effort: advanced
Microsoft Office Spawning Script

Detects Microsoft Office process (word, excel, powerpoint) spawning wscript.exe or cscript.exe. This typically indicates the parent process launched a malicious macro, or run an exploit. This infection vector is very common and could lead to the deployment of harmful malware.

  • Effort: intermediate
Mshta JavaScript Execution

Identifies suspicious mshta.exe commands that execute JavaScript supplied as a command line argument.

  • Effort: elementary
Mshta Suspicious Child Process

Detects the use of various web request methods executed remotely via Windows PowerShell

  • Effort: intermediate
NTDS.dit File In Suspicious Directory

The file NTDS.dit is supposed to be located mainly in C:\Windows\NTDS. The rule checks whether the file is in a legitimate directory or not (through file creation events). This is usually really suspicious and could indicate an attacker trying copy the file to then look for users password hashes.

  • Effort: advanced
NTDS.dit File Interaction Through Command Line

Detects interaction with the file NTDS.dit through command line. This is usually really suspicious and could indicate an attacker trying copy the file to then look for users password hashes.

  • Effort: intermediate
Net.exe User Account Creation

Identifies creation of local users via the net.exe command

  • Effort: master
NetSh Used To Disable Windows Firewall

Detects NetSh commands used to disable the Windows Firewall

  • Effort: intermediate
Netsh Allow Command

Netsh command line to allow a program to pass through firewall.

  • Effort: advanced
Netsh Allowed Python Program

Detects netsh command that performs modification on Firewall rules to allow the program python.exe. This activity is most likely related to the deployment of a Python server or an application that needs to communicate over a network. Threat actors could use it for data extraction, hosting a webshell or else.

  • Effort: intermediate
Netsh Port Forwarding

Detects netsh commands that enable a port forwarding between to hosts. This can be used by attackers to tunnel RDP or SMB shares for example.

  • Effort: intermediate
Netsh Port Opening

Detects netsh commands that opens a specific port. Can be used by malware or attackers for lateralisation/exfiltration (e.g. SMB/RDP opening).

  • Effort: master
Netsh Program Allowed With Suspicious Location

Detects Netsh commands that allow a suspcious application location on Windows Firewall, seen on kasidet worm. Last part of the existing rule (commandline startwith) was not added to this rule because it is not relevant.

  • Effort: advanced
Netsh RDP Port Forwarding

Detects netsh commands that configure a port forwarding of port 3389 used for RDP. This is commonly used by attackers during lateralization on windows environments.

  • Effort: elementary
Netsh RDP Port Opening

Detects netsh commands that opens the port 3389 used for RDP, used in Sarwent Malware.

  • Effort: intermediate
Network Scanning and Discovery

Tools and command lines used for network discovery from current system

  • Effort: advanced
Network Sniffing

List of common tools used for network packages sniffing

  • Effort: advanced
Network Sniffing Windows

Network sniffing refers to using the network interface on a system to monitor or capture information sent over a wired or wireless connection. An adversary may place a network interface into promiscuous mode to passively access data in transit over the network, or use span ports to capture a larger amount of data.

  • Effort: intermediate
New DLL Added To AppCertDlls Registry Key

Dynamic-link libraries (DLLs) that are specified in the AppCertDLLs value in the Registry key can be abused to obtain persistence and privilege escalation by causing a malicious DLL to be loaded and run in the context of separate processes on the computer. Logging for Registry events is needed in the Sysmon configuration (events 12 and 13).

  • Effort: intermediate
New Service Creation

Detects creation of a new service from command line

  • Effort: advanced
Ngrok Process Execution

Detects possible Ngrok execution, which can be used by attacker for RDP tunneling.

  • Effort: intermediate
NlTest Usage

Detects attempts to gather information on domain trust relationships that may be used to identify lateral movement opportunities. These command lines were observed in numerous attacks, but also sometimes from legitimate administrators for debugging purposes. The rule does not cover very basics commands but rather the ones that are interesting for attackers to gather information on a domain.

  • Effort: advanced
Non-Legitimate Executable Using AcceptEula Parameter

Detects accepteula in command line with non-legitimate executable name. Some attackers are masquerading SysInternals tools with decoy names to prevent detection.

  • Effort: advanced
OceanLotus Registry Activity

Detects registry keys created in OceanLotus (also known as APT32) attack. Logging for Registry events is needed in the Sysmon configuration (events 12 and 13).

  • Effort: intermediate
OneNote Embedded File

Detects creation or uses of OneNote embedded files with unusual extensions.

  • Effort: intermediate
Opening Of a Password File

Command line detection of common office software opening some password related file. It could be a security breach if an unauthorized user access it.

  • Effort: master
Outlook Registry Access

Detection of accesses to Microsoft Outlook registry hive, which might contain sensitive information.

  • Effort: master
Pandemic Windows Implant

Detects Pandemic Windows Implant through registry keys or specific command lines. Prerequisites: Logging for Registry events is needed, which can be done in the Sysmon configuration (events 12 and 13).

  • Effort: intermediate
Password Change On Directory Service Restore Mode (DSRM) Account

The Directory Service Restore Mode (DSRM) account is a local administrator account on Domain Controllers. Attackers may change the password to gain persistence.

  • Effort: intermediate
PasswordDump SecurityXploded Tool

Detects the execution of the PasswordDump SecurityXploded Tool

  • Effort: elementary
Permission Discovery Via Wmic

Detects discovery of permission on local groups via the tool wmic.

  • Effort: advanced
Phorpiex DriveMgr Command

Detects specific command used by the Phorpiex botnet to execute a copy of the loader during its self-spreading stage. As described by Microsoft, this behavior is unique and easily identifiable due to the use of folders named with underscores "__" and the PE name "DriveMgr.exe".

  • Effort: elementary
Possible Replay Attack

This event can be a sign of Kerberos replay attack or, among other things, network device configuration or routing problems.

  • Effort: intermediate
Potential DNS Tunnel

Detects domain name which is longer than 95 characters. Long domain names are distinctive of DNS tunnels.

  • Effort: advanced
PowerCat Function Loading

Detect a basic execution of PowerCat. PowerCat is a PowerShell function allowing to do basic connections, file transfer, shells, relays, generate payloads.

  • Effort: intermediate
PowerShell AMSI Deactivation Bypass Using .NET Reflection

Detects Request to amsiInitFailed that can be used to disable AMSI (Antimalware Scan Interface) Scanning. More information about Antimalware Scan Interface https://docs.microsoft.com/en-us/windows/win32/amsi/antimalware-scan-interface-portal.

  • Effort: elementary
PowerShell Downgrade Attack

Detects PowerShell downgrade attack by comparing the host versions with the actually used engine version 2.0

  • Effort: elementary
PowerShell Download From URL

Detects a Powershell process that contains download commands in its command line string.

  • Effort: advanced
PowerShell EncodedCommand

Detects popular file extensions in commands obfuscated in base64 run through the EncodedCommand option.

  • Effort: advanced
PowerShell Execution Via Rundll32

Detects PowerShell Strings applied to rundll as seen in PowerShdll.dll Rule modified

  • Effort: intermediate
PowerShell Malicious Nishang PowerShell Commandlets

Detects Commandlet names and arguments from the Nishang exploitation framework.

  • Effort: advanced
Powershell UploadString Function

Powershell's uploadXXX functions are a category of methods which can be used to exfiltrate data through native means on a Windows host.

  • Effort: intermediate
Powershell Web Request

Detects the use of various web request methods executed remotely via Windows PowerShell.

  • Effort: advanced
Process Memory Dump Using Comsvcs

Detects the use of comsvcs in command line to dump a specific process memory. This technique is used by attackers for privilege escalation and pivot.

  • Effort: elementary
Process Memory Dump Using Rdrleakdiag

Detects the use of rdrleakdiag.exe in command line to dump the memory of a process. This technique is used by attackers for privilege escalation and pivot.

  • Effort: elementary
Process Trace Alteration

PTrace syscall provides a means by which one process ("tracer") may observe and control the execution of another process ("tracee") and examine and change the tracee's memory and registers. Attacker might want to abuse ptrace functionnality to analyse memory process. It requires to be admin or set ptrace_scope to 0 to allow all user to trace any process.

  • Effort: advanced
PsExec Process

Detects PsExec execution, command line which contains pstools or installation of the PsExec service. PsExec is a SysInternals which can be used to execute a program on another computer. The tool is as much used by attackers as by administrators.

  • Effort: advanced
Python HTTP Server

Detects command used to start a Simple HTTP server in Python. Threat actors could use it for data extraction, hosting a webshell or else.

  • Effort: intermediate
QakBot Process Creation

Detects QakBot like process executions

  • Effort: intermediate
Qakbot Persistence Using Schtasks

Detects possible Qakbot persistence using schtasks.

  • Effort: intermediate
RDP Sensitive Settings Changed

Detects changes to RDP terminal service sensitive settings. Logging for registry events is needed in the Sysmon configuration (events 12 and 13).

  • Effort: advanced
RDP Session Discovery

Detects use of RDP session discovery via qwinsta or quser. Used by some threat actors to know if someone is working via RDP on a server.

  • Effort: advanced
RTLO Character

Detects RTLO (Right-To-Left character) in file and process names.

  • Effort: elementary
Raccine Uninstall

Detects commands that indicate a Raccine removal from an end system. Raccine is a free ransomware protection tool.

  • Effort: elementary
Rare Logonui Child Found

Logonui.exe is a file associated with the Logon user interface. The login user interface is an essential part of the Windows operating system. It not only makes it easy for the user to log in to the PC but also determines whether the user has logged in and logged out correctly and makes it easy to switch between users. This process could create a child process but it is very rare and could be a signal of some process injection.

  • Effort: advanced
Rare Lsass Child Found

Lsass ensures the identification of users (domain users or local users). Domain users are identified based on information in the Active Directory. Local users are identified based on information from the Security Account Manager (SAM) local database. This process should not create a child process or it is very rare.

  • Effort: intermediate
Rclone Process

Detects Rclone executable or Rclone execution by using the process name, the execution through a command obfuscated or not.

  • Effort: advanced
RedMimicry Winnti Playbook Registry Manipulation

Detects actions caused by the RedMimicry Winnti playbook. Logging for Registry events is needed in the Sysmon configuration (events 12 and 13).

  • Effort: elementary
Remote Monitoring and Management Software - AnyDesk

Detect artifacts related to the installation or execution of the Remote Monitoring and Management tool AnyDesk.

  • Effort: master
Remote Monitoring and Management Software - Atera

Detect artifacts related to the installation or execution of the Remote Monitoring and Management tool Atera.

  • Effort: master
Rubeus Tool Command-line

Detects command line parameters used by Rubeus, a toolset to interact with Kerberos and abuse it.

  • Effort: advanced
SEKOIA.IO Intelligence Feed

Detect threats based on indicators of compromise (IOCs) collected by SEKOIA's Threat and Detection Research team.

  • Effort: elementary
SOCKS Tunneling Tool

Detects the usage of a SOCKS tunneling tool, often used by threat actors. These tools often use the socks5 commandline argument, however socks4 can sometimes be used as well. Unfortunately, socks alone (without any number) triggered too many false positives.

  • Effort: intermediate
STRRAT Scheduled Task

Detect STRRAT when it achieves persistence by creating a scheduled task. STRRAT is a Java-based stealer and remote backdoor, it establishes persistence using this specific command line: 'cmd /c schtasks /create /sc minute /mo 30 /tn Skype /tr "C:\Users\Admin\AppData\Roaming\SAMPLENAME.jar"'

  • Effort: intermediate
Schtasks Persistence With High Privileges

Detection of scheduled task with high privileges used by attacker for persistence.

  • Effort: elementary
Schtasks Suspicious Parent

Detects schtasks started from suspicious and/or unusual processes.

  • Effort: intermediate
Searchprotocolhost Child Found

SearchProtocolHost.exe is part of the Windows Indexing Service, an application that indexes files from the local drive making them easier to search. This is a crucial part of the Windows operating system. This process should not create a child process or it is very rare.

  • Effort: intermediate
SolarWinds Suspicious File Creation

Detects SolarWinds process creating a file with a suspicious extension. The process solarwinds.businesslayerhost.exe created an unexpected file whose extension is ".exe", ".ps1", ".jpg", ".png" or ".dll".

  • Effort: intermediate
SolarWinds Wrong Child Process

Detects SolarWinds process starting an unusual child process. Process solarwinds.businesslayerhost.exe and solarwinds.businesslayerhostx64.exe created an unexepected child process which doesn't correspond to the legitimate ones.

  • Effort: intermediate
Spyware Persistence Using Schtasks

Detects possible Agent Tesla or Formbook persistence using schtasks. The name of the scheduled task used by these malware is very specific (Updates/randomstring).

  • Effort: intermediate
SquirrelWaffle Malspam Execution Loading DLL

Detects cscript running suspicious command to load a DLL. This behavior has been detected in SquirrelWaffle campaign.

  • Effort: intermediate
Sticky Key Like Backdoor Usage

Detects the usage and installation of a backdoor that uses an option to register a malicious debugger for built-in tools that are accessible in the login screen. Prerequisites are logging for Registry events, which can be done with Sysmon (events 12 and 13).

  • Effort: elementary
Suncrypt Parameters

Detects SunCrypt ransomware's parameters, most of which are unique.

  • Effort: elementary
Suspicious Cmd File Copy Command To Network Share

Copy suspicious files through Windows cmd prompt to network share

  • Effort: intermediate
Suspicious Cmd.exe Command Line

Detection on suspicious cmd.exe command line seen being used by some attackers (e.g. Lazarus with Word macros). This requires Windows process command line logging.

  • Effort: advanced
Suspicious CodePage Switch with CHCP

Detects a code page switch in command line

  • Effort: intermediate
Suspicious CommandLine Lsassy Pattern

Detects the characteristic lsassy loop used to identify lsass PIDs

  • Effort: intermediate
Suspicious Control Process

Detects suspicious execution of control.exe process when used to execute a DLL file.

  • Effort: advanced
Suspicious DLL Loading By Ordinal

Detects suspicious DLL Loading by ordinal number in a non legitimate or rare folders. For example, Sofacy (APT28) used this technique to load their Trojan in a campaign of 2018.

  • Effort: intermediate
Suspicious DNS Child Process

Detects suspicious processes spawned by the dns.exe process. It could be a great indication of the exploitation of the DNS RCE bug reported in CVE-2020-1350 (SIGRED).

  • Effort: intermediate
Suspicious Double Extension

Detects suspicious use of an .exe extension after a non-executable file extension like .pdf.exe, a set of spaces or underlines to cloak the executable file in spearphishing campaigns

  • Effort: advanced
Suspicious Driver Loaded

Checks the registry key for suspicious driver names that are vulnerable most of the time and loaded in a specific location by the KDU tool from hfiref0x. Some drivers are used by several SysInternals tools, which should have been whitelisted in the filter condition. The driver named "DBUtilDrv2" has been removed as it caused too many false positives unfortunately. It can be added under "drv_name" if more coverage is wanted. This rule needs registry key monitoring (can be done with Sysmon Event IDs 12,13 and 14).

  • Effort: intermediate
Suspicious Finger Usage

Detects suspicious aged finger.exe tool execution often used in malware attacks nowadays. An attacker can use finger to silently retrieve a command, a script or a payload from a remote server. For example, the tool Darkfinger-C2 uses this technique to download files from the C2 channel.

  • Effort: intermediate
Suspicious Hangul Word Processor Child Process

Detects suspicious Hangul Word Processor (HWP) child process that could indicate an exploitation as used by the Lazarus APT during the Operation Ghost Puppet (2018). This activity could correspond to a maldoc execution related to a .hwp file. Hangul is a proprietary word processing application that supports the Korean written language.

  • Effort: elementary
Suspicious Headless Web Browser Execution To Download File

Detects a suspicious command used to execute a Chromium-based web browser (Chrome or Edge) using the headless mode, meaning that the browser window wouldn't be visible, and the dump mode to download a file. This technique can be used to fingerprint the compromised host, in particular by the Ducktail infostealer.

  • Effort: elementary
Suspicious Microsoft Defender Antivirus Exclusion Command

Detects PowerShell commands aiming to exclude path, process, IP address, or extension from scheduled and real-time scanning. These commands can be used by attackers or malware to avoid being detected by Windows Defender. Depending on the environment and the installed software, this detection rule could raise false positives. We recommend customizing this rule by filtering legitimate processes that use Windows Defender exclusion command in your environment.

  • Effort: master
Suspicious Mshta Execution

Detects suspicious mshta.exe execution patterns, either involving file polyglotism, remote file (http, ftp or ldap) or suspicious location. This technique is often used by threat actors.

  • Effort: intermediate
Suspicious Mshta Execution From Wmi

Detects mshta executed by wmiprvse as parent. It has been used by TA505 with some malicious documents.

  • Effort: intermediate
Suspicious Netsh DLL Persistence

Detects persitence via netsh helper. Netsh interacts with other operating system components using dynamic-link library (DLL) files. Adversaries may establish persistence by executing malicious content triggered by Netsh Helper DLLs.

  • Effort: elementary
Suspicious Network Args In Command Line

Detection on some commonly observed suspicious processes command lines using HTTP schema with port 443.

  • Effort: intermediate
Suspicious Outlook Child Process

Detects suspicious child processes of Microsoft Outlook. These child processes are often associated with spearphishing activity.

  • Effort: intermediate
Suspicious PowerShell Invocations - Specific

Detects suspicious PowerShell invocation command parameters.

  • Effort: intermediate
Suspicious PrinterPorts Creation (CVE-2020-1048)

Detects new commands that add new printer port which point to suspicious file

  • Effort: advanced
Suspicious Process Requiring DLL Starts Without DLL

Detects potential process injection and hollowing on processes that usually require a DLL to be launched, but are launched without any argument.

  • Effort: intermediate
Suspicious Regasm Regsvcs Usage

catch abuse of regsvcs and regasm lolbin by attacker

  • Effort: advanced
Suspicious Regsvr32 Execution

Detects suspicious regsvr32.exe executions, either regsvr32 registering a DLL in an unusual repository (temp/, appdata/ or public/), or regsvr32 executed by an unusual parent process, or regsvr32 executing an unusual process, or regsvr32 registering a media file and not a DLL (as seen in IcedID campaigns), or regsvr32 registering a ocx file in appdata/.

  • Effort: advanced
Suspicious Rundll32.exe Execution

The process rundll32.exe executes a newly dropped DLL with update /i in the command line. This specific technic was observed at least being used by the IcedID loading mechanism dubbed Gziploader.

  • Effort: intermediate
Suspicious Taskkill Command

Detects rare taskkill command being used. It could be related to Baby Shark malware.

  • Effort: intermediate
Suspicious VBS Execution Parameter

Detects suspicious VBS file execution with a specific parameter by cscript. It was observed in the Operation CloudHopper.

  • Effort: elementary
Suspicious Windows Installer Execution

Detects suspicious execution of the Windows Installer service (msiexec.exe) which could be used to install a malicious MSI package hosted on a remote server.

  • Effort: intermediate
Suspicious Windows Script Execution

Detects wscript.exe or cscript.exe executing a script in user directories (C:\ProgramData or C:\Users) with a .txt extension, which is very suspicious. It could strongly correspond to a malware dropper, as seen during SquirrelWaffle maldoc campaign.

  • Effort: intermediate
Suspicious certutil command

Detects suspicious certutil command which can be used by threat actors to download and/or decode payload.

  • Effort: intermediate
Sysprep On AppData Folder

Detects suspicious Sysprep process start with AppData folder as target (as used by Trojan Syndicasec in Thrip report by Symantec). Sysprep is a Windows tool used to change Windows images from a generalized state to a specialized state, and then back to a generalized state. It can be used to remove all system-specific information and reset the computer.

  • Effort: intermediate
System Info Discovery

System info discovery, attempt to detects basic command use to fingerprint a host.

  • Effort: master
Taskhost or Taskhostw Suspicious Child Found

Task Host manages pop-up windows when users try to close them in a Windows environment. Taskhost.exe triggers the host process for the task. Task Host is a Windows process designed to alert users when dialog boxes close. It is usually launched when restarting and shutting down a PC, and checks if all programs have been properly closed. This process should not create a child process or it is very rare.

  • Effort: advanced
Telegram Bot API Request

Detects suspicious DNS queries to api.telegram.org used by Telegram Bots of any kind

  • Effort: advanced
Trickbot Malware Activity

Detects Trickbot malware process tree pattern in which rundll32.exe is parent of wermgr.exe.

  • Effort: intermediate
UAC Bypass Using Fodhelper

Detects UAC bypass method using Fodhelper after setting the proper registry key, used in particular by Agent Tesla (RAT) or more recently by Earth Luscas. Prerequisites are logging for Registry events in the Sysmon configuration (events 12 and 13).

  • Effort: intermediate
UAC Bypass Via Sdclt

Detects changes to HKCU\Software\Classes\exefile\shell\runas\command\isolatedCommand by an attacker in order to bypass User Account Control (UAC)

  • Effort: elementary
Ursnif Registry Key

Detects a new registry key created by Ursnif malware. The rule requires to log for Registry Events, which can be done using SYsmon's Event IDs 12,13 and 14.

  • Effort: elementary
Usage Of Procdump With Common Arguments

Detects the usage of Procdump sysinternals tool with some common arguments and followed by common patterns.

  • Effort: intermediate
Usage Of Sysinternals Tools

Detects the usage of Sysinternals Tools due to accepteula key being added to Registry. The rule detects it either from the command line usage or from the regsitry events. For the later prerequisite is logging for registry events in the Sysmon configuration (events 12 and 13).

  • Effort: master
User Account Created

Detects user creation on windows servers, which shouldn't happen in an Active Directory environment. Apply this on your windows server logs and not on your DC logs. One default account defaultuser0 is excluded as only used during Windows set-up. This detection use Security Event ID 4720.

  • Effort: master
User Account Deleted

Detects local user deletion

  • Effort: master
WCE wceaux.dll Creation

Detects wceaux.dll creation while Windows Credentials Editor (WCE) is executed.

  • Effort: intermediate
WMI Install Of Binary

Detection of WMI used to install a binary on the host. It is often used by attackers as a signed binary to infect an host.

  • Effort: elementary
WMI Persistence Script Event Consumer File Write

Detects file writes through WMI script event consumer.

  • Effort: advanced
WMIC Command To Determine The Antivirus

Detects WMIC command to determine the antivirus on a system, characteristic of the ZLoader malware (and possibly others)

  • Effort: advanced
WMIC Uninstall Product

Detects products being uninstalled using WMIC command.

  • Effort: intermediate
Webshell Creation

Detects possible webshell file creation. It requires File Creation monitoring, which can be done using Sysmon's Event ID 11. However the recommended SwiftOnSecurity configuration does not fully cover the needs for this rule, it needs to be updated with the proper file names extensions.

  • Effort: master
Webshell Execution W3WP Process

Detects possible webshell execution on Windows Servers which is usually a w3wp parent process with the user name DefaultAppPool.

  • Effort: advanced
WiFi Credentials Harvesting Using Netsh

Detects the harvesting of WiFi credentials using netsh.exe.

  • Effort: advanced
Windows Credential Editor Registry Key

Detects the use of Windows Credential Editor (WCE). Prerequisites are logging for Registry events in the Sysmon configuration (events 12 and 13).

  • Effort: elementary
Windows Firewall Changes

Detects changes on Windows Firewall configuration

  • Effort: master
Windows Registry Persistence COM Key Linking

Detects COM object hijacking via TreatAs subkey. Logging for Registry events is needed in the Sysmon configuration with this kind of rule <TargetObject name="testr12" condition="end with">\TreatAs\(Default)</TargetObject>.

  • Effort: master
Windows Update LolBins

This rule try to detect a suspicious behavior of wuauclt.exe (windows update client) that could be a lolbins. Wuauctl.exe could be used to execute a malicious program.

  • Effort: elementary
Winword Document Droppers

Detects specific process characteristics of word document droppers. This techniques has been used by Maze ransomware operators.

  • Effort: elementary
Winword wrong parent

Word is a well known Windows process used to read documents. Some malicious process could use it to run malicious code. The rule tries to detect winword.exe launched with a suspect parent process name.

  • Effort: advanced
Wmic Process Call Creation

The WMI command-line (WMIC) utility provides a command-line interface for Windows Management Instrumentation (WMI). WMIC is compatible with existing shells and utility commands. Although WMI is supposed to be an administration tool, it is wildy abused by threat actors. One of the reasons is WMI is quite stealthy. This rule detects the wmic command line launching a process on a remote or local host.

  • Effort: intermediate
Wmic Service Call

Detects either remote or local code execution using wmic tool.

  • Effort: intermediate
XCopy Suspicious Usage

Detects the usage of xcopy with suspicious command line options (used by Judgment Panda APT in the past). The rule is based on command line only in case xcopy is renamed.

  • Effort: advanced
XSL Script Processing And SquiblyTwo Attack

Detection of an attack where adversaries may bypass application control and obscure execution of code by embedding scripts inside XSL files. Another variation of this technique, dubbed "Squiblytwo", involves to invoke JScript or VBScript within an XSL file.

  • Effort: intermediate
xWizard Execution

Detects the execution of Xwizard tool with specific arguments which utilized to run custom class properties.

  • Effort: master

Event Categories

The following table lists the data source offered by this integration.

Data Source Description
File monitoring Monitor files and devices activities
Process monitoring Monitor process activities
Process use of network Monitor network activities

Event Samples

Find below few samples of events and how they are normalized by Sekoia.io.

{
    "message": "{\"upload_size\":1359,\"profile_path\":\"-\",\"record_identifier\":\"azertyuiop\",\"ioc_severity\":4,\"user_parameters\":\"-\",\"ioc_detection_sigma\":\"{\\\"id\\\":\\\"EVENT-0000.star\\\",\\\"logsource\\\":{\\\"dedup_fields\\\":[\\\"machine_data.name\\\"]}}\",\"folded\":0,\"meta_mac_address\":\"00:00:00:00:00:00\",\"endpoint_id\":\"aaa-aaaa-aaa-aaa\",\"meta_public_ip_country_code\":\"FR\",\"schema_version\":\"23\",\"subject_logon_id\":\"0x111\",\"ioc_detection_mitre_attack\":\"[]\",\"user_workstations\":\"-\",\"meta_licence\":\"\",\"ioc_detection_experiment_level\":0,\"privilege_list\":\"-\",\"ioc_created_at\":\"2024-01-17T12:47:16.441Z\",\"ingestion_timestamp\":\"2024-01-17T12:46:35.825Z\",\"home_directory\":\"-\",\"ioc_detection_attack\":\"Suspicious Activity\",\"numerics\":false,\"eventid\":1234,\"meta_public_ip\":\"0.0.0.0\",\"counter\":0,\"detection_id_dedup\":\"aaaaaa\",\"password_last_set\":\"-\",\"meta_hostname\":\"xxxxxx\",\"ioc_detection_references\":\"[\\\"https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4738\\\"]\",\"ioc_worker_name\":\"Security Event Service\",\"ioc_detection_type\":\"Threat\",\"ioc_detection_category\":\"Threat\",\"ioc_unix_time\":\"2024-01-17T12:46:21.000Z\",\"epoch\":1705494131,\"meta_ip_mask\":\"255.255.252.0\",\"ioc_worker_id\":\"security-event-service\",\"unix_time\":\"2024-01-17T12:46:21.000Z\",\"ioc_log_type\":\"summary\",\"query_source\":\"xdr_only\",\"host_identifier\":\"AAA-AAAA-AAA-AAAA\",\"partition_bucket\":\"87\",\"home_path\":\"-\",\"meta_public_ip_country\":\"France\",\"meta_boot_time\":1705494314,\"subject_username\":\"XXXX\",\"meta_os_name\":\"Microsoft Windows 10 Professionnel\",\"osquery_action\":\"added\",\"script_path\":\"-\",\"account_expires\":\"-\",\"meta_query_pack_version\":\"1.18.1\",\"subject_domain\":\"TEST\",\"calendar_time\":\"2024-01-17T12:46:21.000Z\",\"meta_eid\":\"aaaa-aaa-aaa\",\"meta_public_ip_longitude\":1.111,\"ioc_detection_id\":\"WIN-EVENT-1111\",\"meta_os_platform\":\"windows\",\"meta_username\":\"\",\"detection_identifier\":\"aaaaaa\",\"query_name\":\"windows_event_user_account_changed\",\"provider_name\":\"Microsoft-Windows-Security-Auditing\",\"meta_os_type\":\"\",\"meta_os_version\":\"10.0.19045\",\"sam_account_name\":\"-\",\"meta_public_ip_latitude\":1.111,\"source\":\"Security\",\"ioc_detection_licenses\":\"[\\\"MTR\\\",\\\"MTRE\\\"]\",\"user_principal_name\":\"-\",\"description\":\"A User Account was changed\",\"meta_aggressive_activity\":\"False\",\"meta_ip_address\":\"1.1.1.1\",\"ingest_date\":\"2024-01-17\",\"target_domain\":\"Domain-name\",\"uac\":\"-\",\"meta_endpoint_type\":\"computer\",\"meta_domain_controller\":\"False\",\"customer_id\":\"aa-aaa-aaa-aaa\",\"ioc_detection_description\":\"Windows Event User Account Changed.\",\"message_identifier\":\"aaaaaa\",\"ioc_attack_type\":\"Security Event Service Detections\",\"target_username\":\"Administrateur\",\"display_name\":\"-\",\"allowed_to_delegate_to\":\"-\",\"ioc_detection_weight\":4}",
    "event": {
        "code": "WIN-EVENT-1111",
        "ingested": "2024-01-17T12:46:35.825000Z",
        "reason": "A User Account was changed",
        "severity": 4
    },
    "@timestamp": "2024-01-17T12:46:21Z",
    "destination": {
        "address": "Domain-name",
        "domain": "Domain-name"
    },
    "host": {
        "domain": "TEST",
        "id": "AAA-AAAA-AAA-AAAA",
        "name": "xxxxxx",
        "os": {
            "full": "Microsoft Windows 10 Professionnel",
            "name": "windows",
            "version": "10.0.19045"
        }
    },
    "process": {
        "name": "Security Event Service"
    },
    "related": {
        "hosts": [
            "Domain-name"
        ],
        "ip": [
            "0.0.0.0",
            "1.1.1.1"
        ]
    },
    "sophos": {
        "threat_center": {
            "aggressive_activity": "False",
            "detection_id_dedup": "aaaaaa",
            "endpoint": {
                "type": "computer"
            },
            "event": {
                "id": 1234
            },
            "id": "aaa-aaaa-aaa-aaa",
            "ioc": {
                "attack_type": "Security Event Service Detections",
                "detection": {
                    "attack": "Suspicious Activity",
                    "category": "Threat",
                    "licences": [
                        "MTR",
                        "MTRE"
                    ],
                    "sigma": {
                        "id": "EVENT-0000.star"
                    },
                    "type": "Threat",
                    "weight": "4"
                },
                "log_type": "summary",
                "unix_time": "2024-01-17T12:46:21.000000Z"
            },
            "message": {
                "id": "aaaaaa"
            },
            "query": {
                "action": "added",
                "name": "windows_event_user_account_changed",
                "pack_version": "1.18.1",
                "source": "xdr_only"
            },
            "record_identifier": "azertyuiop",
            "worker": {
                "id": "security-event-service"
            }
        }
    },
    "source": {
        "address": "1.1.1.1",
        "bytes": 1359,
        "geo": {
            "country_iso_code": "FR",
            "country_name": "France"
        },
        "ip": "1.1.1.1",
        "mac": "00:00:00:00:00:00",
        "nat": {
            "ip": "0.0.0.0"
        }
    },
    "user": {
        "target": {
            "name": "Administrateur"
        }
    },
    "vulnerability": {
        "description": "Windows Event User Account Changed.",
        "reference": "https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4738"
    }
}
{
    "message": "{\"upload_size\":1077,\"record_identifier\":\"d327f865227909ad464d67f8\",\"ioc_severity\":4,\"path\":\"HKEY_LOCAL Options\",\"ioc_detection_cvss\":\"4\",\"analysis\":\"{\\\"dep_opt_out\\\":0,\\\"dep_alwayson\\\":0,\\\"dep_opt_in\\\":1}\",\"ioc_detection_sigma\":\"{\\\"id\\\":\\\"COMPLIANCE-DEP-PERMISSIVE\\\",\\\"logsource\\\":{\\\"dedup_fields\\\":[\\\"machine_data.name\\\"],\\\"product\\\":\\\"windows\\\",\\\"platform\\\":\\\"windows\\\",\\\"category\\\":\\\"vulnerability_dep\\\",\\\"references\\\":[\\\"http://www.test.com/\\\"]}}\",\"folded\":0,\"meta_mac_address\":\"01:02:03:04:05:06\",\"endpoint_id\":\"0a7e076f-k4p1-428a-8304-azedazedazef\",\"meta_public_ip_country_code\":\"FR\",\"meta_public_ip_postal\":\"35750\",\"schema_version\":\"20\",\"ioc_detection_mitre_attack\":\"[]\",\"ioc_detection_experiment_level\":0,\"ioc_detection_access\":\"{\\\"authentication\\\":\\\"None\\\",\\\"complexity\\\":\\\"Low\\\",\\\"vector\\\":\\\"Local\\\"}\",\"ioc_created_at\":\"2022-11-30T09:23:22.226Z\",\"ingestion_timestamp\":\"2022-11-30T09:22:29.980Z\",\"ioc_detection_attack\":\"Exposure\",\"numerics\":false,\"meta_public_ip\":\"1.2.3.4\",\"counter\":2,\"detection_id_dedup\":\"azeifazeiofuhapizefhapzieofhazeufh\",\"meta_hostname\":\"AC061-E44iauzebf\",\"ioc_detection_references\":\"[\\\"http://www.test.com\\\"]\",\"ioc_worker_name\":\"Direct Mapping Worker\",\"ioc_detection_type\":\"Vulnerability\",\"ioc_detection_category\":\"Vulnerability\",\"ioc_unix_time\":\"2022-11-30T09:22:11.000Z\",\"epoch\":1669619877,\"meta_ip_mask\":\"1.2.3.4\",\"meta_public_ip_city\":\"Paris\",\"ioc_worker_id\":\"direct_mapping_worker\",\"unix_time\":\"2022-11-30T09:22:11.000Z\",\"ioc_log_type\":\"summary\",\"query_source\":\"xdr_only\",\"host_identifier\":\"4C4C4544-0035-4E10-8044-B3C04F5A3333\",\"partition_bucket\":\"87\",\"meta_public_ip_country\":\"France\",\"meta_public_ip_state\":\"Paris\",\"meta_boot_time\":1669798899,\"meta_os_name\":\"Microsoft Windows 10 Professionnel\",\"osquery_action\":\"added\",\"meta_query_pack_version\":\"1.14.90\",\"calendar_time\":\"2022-11-30T09:22:11.000Z\",\"meta_eid\":\"0a7e076f-0316-428a-8304-fea736738c7a\",\"meta_public_ip_longitude\":2.4075,\"ioc_detection_id\":\"COMPLIANCE-DEP-PERMISSIVE\",\"meta_os_platform\":\"windows\",\"meta_username\":\"AC712341234\",\"detection_identifier\":\"d327f865227909ad464d67f8fc9d8e38c4285299f4\",\"query_name\":\"vulnerability_dep\",\"key\":\"HKEY_LOCAL_MACHINE Control\",\"meta_os_version\":\"10.0.19044\",\"meta_public_ip_latitude\":39,\"mtime\":1669757890,\"ioc_detection_licenses\":\"[\\\"MTR\\\"]\",\"name\":\"SystemStartOptions\",\"meta_aggressive_activity\":\"False\",\"meta_ip_address\":\"1.2.3.4\",\"type\":\"REG_SZ\",\"ingest_date\":\"2022-11-30\",\"ioc_detection_impact\":\"{\\\"availability\\\":\\\"Partial\\\",\\\"confidentiality\\\":\\\"Partial\\\",\\\"integrity\\\":\\\"Partial\\\"}\",\"meta_endpoint_type\":\"computer\",\"meta_domain_controller\":\"False\",\"customer_id\":\"f7193486-a186-4197-ab40-0ddc013a0a65\",\"data\":\" NOEXECUTE=OPTIN  FVEBOOT=1234567  NOVGA\",\"ioc_detection_description\":\"DEP is not Admin Opt-out or Always-on.\",\"message_identifier\":\"ofiazefoazebfaozuefazeo\",\"ioc_attack_type\":\"Exposure\",\"ioc_detection_weight\":4}",
    "event": {
        "code": "COMPLIANCE-DEP-PERMISSIVE",
        "ingested": "2022-11-30T09:22:29.980000Z",
        "severity": 4
    },
    "@timestamp": "2022-11-30T09:22:11Z",
    "host": {
        "id": "4C4C4544-0035-4E10-8044-B3C04F5A3333",
        "name": "AC061-E44iauzebf",
        "os": {
            "full": "Microsoft Windows 10 Professionnel",
            "name": "windows",
            "version": "10.0.19044"
        }
    },
    "process": {
        "name": "Direct Mapping Worker"
    },
    "registry": {
        "data": {
            "strings": [
                " NOEXECUTE=OPTIN  FVEBOOT=1234567  NOVGA"
            ],
            "type": "REG_SZ"
        },
        "key": "HKEY_LOCAL_MACHINE Control",
        "path": "HKEY_LOCAL Options"
    },
    "related": {
        "ip": [
            "1.2.3.4"
        ],
        "user": [
            "AC712341234"
        ]
    },
    "sophos": {
        "threat_center": {
            "aggressive_activity": "False",
            "analysis": "{\"dep_alwayson\": 0, \"dep_opt_in\": 1, \"dep_opt_out\": 0}",
            "detection_id_dedup": "azeifazeiofuhapizefhapzieofhazeufh",
            "endpoint": {
                "type": "computer"
            },
            "id": "0a7e076f-k4p1-428a-8304-azedazedazef",
            "ioc": {
                "attack_type": "Exposure",
                "detection": {
                    "access": {
                        "complexity": "Low",
                        "vector": "Local"
                    },
                    "attack": "Exposure",
                    "category": "Vulnerability",
                    "cvss": "4",
                    "impact": {
                        "availability": "Partial",
                        "confidentiality": "Partial",
                        "integrity": "Partial"
                    },
                    "licences": [
                        "MTR"
                    ],
                    "sigma": {
                        "id": "COMPLIANCE-DEP-PERMISSIVE"
                    },
                    "type": "Vulnerability",
                    "weight": "4"
                },
                "log_type": "summary",
                "unix_time": "2022-11-30T09:22:11.000000Z"
            },
            "message": {
                "id": "ofiazefoazebfaozuefazeo"
            },
            "query": {
                "action": "added",
                "name": "vulnerability_dep",
                "pack_version": "1.14.90",
                "source": "xdr_only"
            },
            "record_identifier": "d327f865227909ad464d67f8",
            "worker": {
                "id": "direct_mapping_worker"
            }
        }
    },
    "source": {
        "address": "1.2.3.4",
        "bytes": 1077,
        "geo": {
            "city_name": "Paris",
            "country_iso_code": "FR",
            "country_name": "France",
            "postal_code": "35750"
        },
        "ip": "1.2.3.4",
        "mac": "01:02:03:04:05:06",
        "nat": {
            "ip": "1.2.3.4"
        }
    },
    "user": {
        "name": "AC712341234"
    },
    "vulnerability": {
        "description": "DEP is not Admin Opt-out or Always-on.",
        "reference": "http://www.test.com"
    }
}
{
    "message": "{\"upload_size\":1291,\"record_identifier\":\"09dd5e717aa664189dqehbfazuebfazuebfiaze\",\"ioc_severity\":4,\"path\":\"LOCAL_MACHINE/test.exe\",\"ioc_detection_cvss\":\"4\",\"analysis\":\"{\\\"os_compatibility_target\\\":\\\"test\\\"}\",\"ioc_detection_sigma\":\"{\\\"id\\\":\\\"COMPLIANCE-APP-COMPAT\\\",\\\"logsource\\\":{\\\"dedup_fields\\\":[\\\"machine_data.name\\\"],\\\"product\\\":\\\"windows\\\",\\\"platform\\\":\\\"windows\\\",\\\"category\\\":\\\"vulnerability_app_compatibility\\\",\\\"references\\\":[\\\"https://test.com/\\\"]}}\",\"folded\":0,\"meta_mac_address\":\"01:02:03:04:05:06\",\"endpoint_id\":\"a3288afe-799d-aizuef-azfeef-fazef\",\"schema_version\":\"20\",\"ioc_detection_mitre_attack\":\"[]\",\"ioc_detection_experiment_level\":0,\"ioc_detection_access\":\"{\\\"authentication\\\":\\\"None\\\",\\\"complexity\\\":\\\"Low\\\",\\\"vector\\\":\\\"Local\\\"}\",\"ioc_created_at\":\"2022-11-30T09:25:14.805Z\",\"ingestion_timestamp\":\"2022-11-30T09:22:45.391Z\",\"ioc_detection_attack\":\"Exposure\",\"numerics\":false,\"meta_public_ip\":\"1.2.3.4\",\"counter\":0,\"detection_id_dedup\":\"432025a1cb38ad65dc6azefazef\",\"meta_hostname\":\"AKAS-TE8789897\",\"ioc_detection_references\":\"[\\\"https://test.com\\\"]\",\"ioc_worker_name\":\"Direct Mapping Worker\",\"ioc_detection_type\":\"Vulnerability\",\"ioc_detection_category\":\"Vulnerability\",\"ioc_unix_time\":\"2022-11-30T09:22:25.000Z\",\"epoch\":1111100000,\"meta_ip_mask\":\"1.2.3.0\",\"ioc_worker_id\":\"direct_mapping_worker\",\"unix_time\":\"2022-11-30T09:22:25.000Z\",\"ioc_log_type\":\"summary\",\"query_source\":\"xdr_only\",\"host_identifier\":\"5C32B390-E1EB-D177\",\"partition_bucket\":\"87\",\"meta_boot_time\":1111100000,\"meta_os_name\":\"Microsoft Windows 10 Professionnel\",\"osquery_action\":\"added\",\"meta_query_pack_version\":\"1.14.90\",\"calendar_time\":\"2022-11-30T09:22:25.000Z\",\"meta_eid\":\"a3288afe-799d-46a4-9026-ad5cd41337f4\",\"ioc_detection_id\":\"COMPLIANCE-APP\",\"meta_os_platform\":\"windows\",\"meta_username\":\"AC7500JOIJOIJ\",\"detection_identifier\":\"09dd5e717aa664189d54ea1757ddd6e2beaacd676ffb\",\"query_name\":\"vulnerability_app_compatibility\",\"key\":\"LOCAL_MACHINE/Layers\",\"meta_os_version\":\"10.0.19044\",\"mtime\":1111100000,\"ioc_detection_licenses\":\"[\\\"MTR\\\"]\",\"name\":\"C:test.exe\",\"meta_aggressive_activity\":\"False\",\"meta_ip_address\":\"1.2.3.4\",\"type\":\"REG_SZ\",\"ingest_date\":\"2022-11-30\",\"ioc_detection_impact\":\"{\\\"availability\\\":\\\"Partial\\\",\\\"confidentiality\\\":\\\"Partial\\\",\\\"integrity\\\":\\\"Partial\\\"}\",\"meta_endpoint_type\":\"computer\",\"meta_domain_controller\":\"False\",\"customer_id\":\"f7193486-a186-4197\",\"data\":\"HIGHDPITEST\",\"ioc_detection_description\":\"Applications with special compatibility set for an executable.\",\"message_identifier\":\"75e420b40149f07eada47bdb23c28281\",\"ioc_attack_type\":\"Exposure\",\"ioc_detection_weight\":4}",
    "event": {
        "code": "COMPLIANCE-APP",
        "ingested": "2022-11-30T09:22:45.391000Z",
        "severity": 4
    },
    "@timestamp": "2022-11-30T09:22:25Z",
    "host": {
        "id": "5C32B390-E1EB-D177",
        "name": "AKAS-TE8789897",
        "os": {
            "full": "Microsoft Windows 10 Professionnel",
            "name": "windows",
            "version": "10.0.19044"
        }
    },
    "process": {
        "name": "Direct Mapping Worker"
    },
    "registry": {
        "data": {
            "strings": [
                "HIGHDPITEST"
            ],
            "type": "REG_SZ"
        },
        "key": "LOCAL_MACHINE/Layers",
        "path": "LOCAL_MACHINE/test.exe"
    },
    "related": {
        "ip": [
            "1.2.3.4"
        ],
        "user": [
            "AC7500JOIJOIJ"
        ]
    },
    "sophos": {
        "threat_center": {
            "aggressive_activity": "False",
            "analysis": "{\"os_compatibility_target\": \"test\"}",
            "detection_id_dedup": "432025a1cb38ad65dc6azefazef",
            "endpoint": {
                "type": "computer"
            },
            "id": "a3288afe-799d-aizuef-azfeef-fazef",
            "ioc": {
                "attack_type": "Exposure",
                "detection": {
                    "access": {
                        "complexity": "Low",
                        "vector": "Local"
                    },
                    "attack": "Exposure",
                    "category": "Vulnerability",
                    "cvss": "4",
                    "impact": {
                        "availability": "Partial",
                        "confidentiality": "Partial",
                        "integrity": "Partial"
                    },
                    "licences": [
                        "MTR"
                    ],
                    "sigma": {
                        "id": "COMPLIANCE-APP-COMPAT"
                    },
                    "type": "Vulnerability",
                    "weight": "4"
                },
                "log_type": "summary",
                "unix_time": "2022-11-30T09:22:25.000000Z"
            },
            "message": {
                "id": "75e420b40149f07eada47bdb23c28281"
            },
            "query": {
                "action": "added",
                "name": "vulnerability_app_compatibility",
                "pack_version": "1.14.90",
                "source": "xdr_only"
            },
            "record_identifier": "09dd5e717aa664189dqehbfazuebfazuebfiaze",
            "worker": {
                "id": "direct_mapping_worker"
            }
        }
    },
    "source": {
        "address": "1.2.3.4",
        "bytes": 1291,
        "ip": "1.2.3.4",
        "mac": "01:02:03:04:05:06",
        "nat": {
            "ip": "1.2.3.4"
        }
    },
    "user": {
        "name": "AC7500JOIJOIJ"
    },
    "vulnerability": {
        "description": "Applications with special compatibility set for an executable.",
        "reference": "https://test.com"
    }
}
{
    "message": "{\"upload_size\":1869,\"record_identifier\":\"864de39eef32\",\"ioc_severity\":5,\"ioc_detection_sigma\":\"{\\\"id\\\":\\\"EVENT-Brute-Force-Attempt\\\",\\\"logsource\\\":{\\\"dedup_fields\\\":[\\\"machine_data.name\\\"],\\\"product\\\":\\\"windows\\\",\\\"platform\\\":\\\"windows\\\",\\\"category\\\":\\\"windows_event\\\",\\\"references\\\":[\\\"https://test.com/auditing/event-4625\\\"]}}\",\"folded\":0,\"meta_mac_address\":\"00:01:02:03:04:05\",\"endpoint_id\":\"51a8f1a0-db9d\",\"meta_public_ip_country_code\":\"FR\",\"remote_address\":\"1.2.3.4\",\"schema_version\":\"22\",\"authentication_package\":\"NTLM\",\"remote_port\":0,\"ioc_detection_mitre_attack\":\"[]\",\"ioc_detection_experiment_level\":0,\"ioc_created_at\":\"2023-07-17T11:34:57.524Z\",\"ingestion_timestamp\":\"2023-07-17T11:34:57.356Z\",\"ioc_detection_attack\":\"Suspicious Activity\",\"numerics\":false,\"eventid\":46254646,\"meta_public_ip\":\"1.2.3.4\",\"counter\":68,\"detection_id_dedup\":\"ab874753684df564365b\",\"logon_type\":3,\"meta_hostname\":\"mytestname-vm\",\"ioc_detection_references\":\"[\\\"https://test.com/auditing/event-4625\\\"]\",\"ioc_worker_name\":\"Direct Mapping Worker\",\"ioc_detection_type\":\"Threat\",\"ioc_detection_category\":\"Threat\",\"status\":\"0xc00000677d\",\"ioc_unix_time\":\"2023-07-17T11:34:45.000Z\",\"username_list\":\"TEST,TEST1,TEST2,TEST3,TEST4, TEST5\",\"epoch\":1689319838,\"event_timestamps\":\"1689589842,1689589974\",\"meta_ip_mask\":\"1.2.3.4\",\"meta_public_ip_city\":\"Camping\",\"failure_reason\":\"%%2313\",\"ioc_worker_id\":\"direct_mapping_worker\",\"transmitted_services\":\"-\",\"unix_time\":\"2023-07-17T11:34:45.000Z\",\"ioc_log_type\":\"summary\",\"query_source\":\"xdr_only\",\"host_identifier\":\"7BB240A3-B6AC\",\"partition_bucket\":\"10\",\"meta_public_ip_country\":\"France\",\"meta_public_ip_state\":\"Saint Paule\",\"meta_boot_time\":1687956677,\"subject_username\":\"-\",\"meta_os_name\":\"Microsoft Windows 10 Pro N\",\"osquery_action\":\"added\",\"meta_query_pack_version\":\"1.16.54\",\"subject_domain\":\"-\",\"calendar_time\":\"2023-07-17T11:34:45.000Z\",\"meta_eid\":\"51a8f1a0-db9d\",\"meta_public_ip_longitude\":-477.0565,\"ioc_detection_id\":\"EVENT-4625-Brute-Force-Attempt\",\"meta_os_platform\":\"windows\",\"detection_identifier\":\"864de39eef32e68379ce450f5b6ebd4ef7f1\",\"workstation_name\":\"-\",\"query_name\":\"windows_event_invalid_logon_brute_force\",\"key_length\":0,\"provider_name\":\"Microsoft-Windows-Security\",\"meta_os_version\":\"10.0.19044\",\"sub_status\":\"0xc0000064\",\"meta_public_ip_latitude\":-221.9035,\"source\":\"Security\",\"ioc_detection_licenses\":\"[\\\"MTR\\\",\\\"MTRE\\\"]\",\"name\":\"-\",\"description\":\"Source IP is shuffling through 20 or more different usernames, appears to be a brute force attack\",\"meta_aggressive_activity\":\"False\",\"meta_ip_address\":\"1.2.3.4\",\"logon_process\":\"NtLmSsp \",\"ingest_date\":\"2023-07-17\",\"target_domain\":\"\",\"meta_endpoint_type\":\"computer\",\"meta_domain_controller\":\"False\",\"customer_id\":\"4feff6df-7454\",\"ioc_detection_description\":\"Windows Event Brute Force Attempt Detected.\",\"message_identifier\":\"7f181e964e95390587e73b\",\"ioc_attack_type\":\"Suspicious Activity\",\"ioc_detection_weight\":5}",
    "event": {
        "code": "EVENT-4625-Brute-Force-Attempt",
        "ingested": "2023-07-17T11:34:57.356000Z",
        "reason": "Source IP is shuffling through 20 or more different usernames, appears to be a brute force attack",
        "severity": 5
    },
    "@timestamp": "2023-07-17T11:34:45Z",
    "destination": {
        "address": "1.2.3.4",
        "port": 0
    },
    "host": {
        "domain": "-",
        "id": "7BB240A3-B6AC",
        "name": "mytestname-vm",
        "os": {
            "full": "Microsoft Windows 10 Pro N",
            "name": "windows",
            "version": "10.0.19044"
        }
    },
    "process": {
        "name": "Direct Mapping Worker"
    },
    "related": {
        "ip": [
            "1.2.3.4"
        ]
    },
    "sophos": {
        "threat_center": {
            "aggressive_activity": "False",
            "detection_id_dedup": "ab874753684df564365b",
            "endpoint": {
                "type": "computer"
            },
            "event": {
                "id": 46254646
            },
            "id": "51a8f1a0-db9d",
            "ioc": {
                "attack_type": "Suspicious Activity",
                "detection": {
                    "attack": "Suspicious Activity",
                    "category": "Threat",
                    "licences": [
                        "MTR",
                        "MTRE"
                    ],
                    "sigma": {
                        "id": "EVENT-Brute-Force-Attempt"
                    },
                    "type": "Threat",
                    "weight": "5"
                },
                "log_type": "summary",
                "unix_time": "2023-07-17T11:34:45.000000Z"
            },
            "logon_process": "NtLmSsp ",
            "message": {
                "id": "7f181e964e95390587e73b"
            },
            "query": {
                "action": "added",
                "name": "windows_event_invalid_logon_brute_force",
                "pack_version": "1.16.54",
                "source": "xdr_only"
            },
            "record_identifier": "864de39eef32",
            "worker": {
                "id": "direct_mapping_worker"
            }
        }
    },
    "source": {
        "address": "1.2.3.4",
        "bytes": 1869,
        "geo": {
            "city_name": "Camping",
            "country_iso_code": "FR",
            "country_name": "France"
        },
        "ip": "1.2.3.4",
        "mac": "00:01:02:03:04:05",
        "nat": {
            "ip": "1.2.3.4"
        }
    },
    "vulnerability": {
        "description": "Windows Event Brute Force Attempt Detected.",
        "reference": "https://test.com/auditing/event-4625"
    }
}
{
    "message": "{\"upload_size\":2056,\"record_identifier\":\"0cd6e1e0428211eebe560242ac1200020cd6e1e0428211eebe560242ac120002\",\"ioc_severity\":5,\"ioc_detection_sigma\":\"{\\\"id\\\":\\\"EVENT-0000\\\",\\\"logsource\\\":{\\\"dedup_fields\\\":[\\\"machine_test\\\"],\\\"product\\\":\\\"windows\\\",\\\"platform\\\":\\\"windows\\\",\\\"category\\\":\\\"windows_event_user_account_locked_out\\\",\\\"references\\\":[\\\"https://test.com/event-0000\\\"]}}\",\"folded\":0,\"meta_mac_address\":\"00:11:22:33:44:55\",\"endpoint_id\":\"70599d12-fec7-4129-8844-7c6cfded4642\",\"meta_public_ip_country_code\":\"FR\",\"schema_version\":\"22\",\"ioc_detection_mitre_attack\":\"[]\",\"ioc_detection_experiment_level\":0,\"ioc_created_at\":\"2025-12-12T13:59:12.269Z\",\"ingestion_timestamp\":\"2025-12-12T13:59:11.487Z\",\"ioc_detection_attack\":\"Suspicious Activity\",\"numerics\":false,\"eventid\":4740,\"meta_public_ip\":\"1.2.3.4\",\"counter\":1,\"detection_id_dedup\":\"b99ecce6f278bb68406f67ba7dcc76e1de263395\",\"meta_hostname\":\"CER31SVM\",\"ioc_detection_references\":\"[\\\"https://test.com/event-7777\\\"]\",\"ioc_worker_name\":\"IOC worker name\",\"ioc_detection_type\":\"Threat\",\"ioc_detection_category\":\"Threat\",\"ioc_unix_time\":\"2023-12-12T13:58:51.000Z\",\"epoch\":1699999999,\"meta_ip_mask\":\"5.5.5.5\",\"ioc_worker_id\":\"direct_mapping_worker\",\"unix_time\":\"2023-08-17T13:58:51.000Z\",\"ioc_log_type\":\"summary\",\"query_source\":\"xdr_only\",\"host_identifier\":\"eb37c32a-4285-11ee-be56-0242ac120002\",\"partition_bucket\":\"87\",\"meta_public_ip_country\":\"France\",\"meta_boot_time\":1611110000,\"subject_username\":\"SUBJECTUSERNAME\",\"meta_os_name\":\"Microsoft Windows Server\",\"osquery_action\":\"added\",\"meta_query_pack_version\":\"1.17.56\",\"subject_domain\":\"SUBJECTDOMAIN\",\"calendar_time\":\"2025-12-12T10:00:51.000Z\",\"meta_eid\":\"70599d12-fec7-4129-8844-7c6cfded4642\",\"meta_public_ip_longitude\":46.3387,\"ioc_detection_id\":\"WIN-EVENT-4740\",\"meta_os_platform\":\"windows\",\"meta_username\":\"AC000TEST0011\",\"detection_identifier\":\"0cd6e1e0428211eebe560242ac1200020cd6e1e0428211eebe560242ac120002_0cd6e1e0428211eebe560242ac1200020cd6e1e0428211eebe560242ac120002\",\"query_name\":\"windows_query_event\",\"provider_name\":\"Microsoft-Windows-Security-Auditing\",\"meta_os_version\":\"1.0.2s\",\"meta_public_ip_latitude\":55.8582,\"source\":\"Security\",\"ioc_detection_licenses\":\"[\\\"License1\\\",\\\"License2\\\"]\",\"description\":\"A user account was locked out.\",\"meta_aggressive_activity\":\"False\",\"meta_ip_address\":\"1.2.3.4\",\"ingest_date\":\"2023-08-17\",\"target_domain\":\"AC000-TEST0011\",\"meta_endpoint_type\":\"server\",\"meta_domain_controller\":\"False\",\"customer_id\":\"36c536f0-4282-11ee-be56-0242ac120002\",\"ioc_detection_description\":\"Windows Event User Account Locked Out.\",\"message_identifier\":\"0cd6e1e0428211eebe560242ac1200020cd6e1e0428211eebe560242ac120002\",\"ioc_attack_type\":\"Suspicious Activity\",\"target_username\":\"Administrateur\",\"user_upn\":\"user.mail@company.fr\",\"ml_score_band\":\"HIGH_SUSPICION\",\"target_server\":\"TEST/1.2.3.4\",\"package\":\"TEST\",\"ioc_detection_weight\":5}",
    "event": {
        "code": "WIN-EVENT-4740",
        "ingested": "2025-12-12T13:59:11.487000Z",
        "reason": "A user account was locked out.",
        "severity": 5
    },
    "@timestamp": "2025-12-12T10:00:51Z",
    "destination": {
        "address": "AC000-TEST0011",
        "domain": "AC000-TEST0011"
    },
    "host": {
        "domain": "SUBJECTDOMAIN",
        "id": "eb37c32a-4285-11ee-be56-0242ac120002",
        "name": "CER31SVM",
        "os": {
            "full": "Microsoft Windows Server",
            "name": "windows",
            "version": "1.0.2s"
        }
    },
    "process": {
        "name": "IOC worker name"
    },
    "related": {
        "hosts": [
            "AC000-TEST0011",
            "TEST/1.2.3.4"
        ],
        "ip": [
            "1.2.3.4"
        ],
        "user": [
            "AC000TEST0011"
        ]
    },
    "server": {
        "domain": "TEST/1.2.3.4"
    },
    "sophos": {
        "threat_center": {
            "aggressive_activity": "False",
            "detection_id_dedup": "b99ecce6f278bb68406f67ba7dcc76e1de263395",
            "endpoint": {
                "type": "server"
            },
            "event": {
                "id": 4740
            },
            "id": "70599d12-fec7-4129-8844-7c6cfded4642",
            "ioc": {
                "attack_type": "Suspicious Activity",
                "detection": {
                    "attack": "Suspicious Activity",
                    "category": "Threat",
                    "licences": [
                        "License1",
                        "License2"
                    ],
                    "sigma": {
                        "id": "EVENT-0000"
                    },
                    "type": "Threat",
                    "weight": "5"
                },
                "log_type": "summary",
                "unix_time": "2023-12-12T13:58:51.000000Z"
            },
            "message": {
                "id": "0cd6e1e0428211eebe560242ac1200020cd6e1e0428211eebe560242ac120002"
            },
            "ml": {
                "score_band": "HIGH_SUSPICION"
            },
            "package": "TEST",
            "query": {
                "action": "added",
                "name": "windows_query_event",
                "pack_version": "1.17.56",
                "source": "xdr_only"
            },
            "record_identifier": "0cd6e1e0428211eebe560242ac1200020cd6e1e0428211eebe560242ac120002",
            "user_upn": "user.mail@company.fr",
            "worker": {
                "id": "direct_mapping_worker"
            }
        }
    },
    "source": {
        "address": "1.2.3.4",
        "bytes": 2056,
        "geo": {
            "country_iso_code": "FR",
            "country_name": "France"
        },
        "ip": "1.2.3.4",
        "mac": "00:11:22:33:44:55",
        "nat": {
            "ip": "1.2.3.4"
        }
    },
    "user": {
        "name": "AC000TEST0011",
        "target": {
            "name": "Administrateur"
        }
    },
    "vulnerability": {
        "description": "Windows Event User Account Locked Out.",
        "reference": "https://test.com/event-7777"
    }
}
{
    "message": "{\"upload_size\":2088,\"record_identifier\":\"0242ac1200020cd6e1e0428211eebe560242ac120002\",\"ioc_severity\":5,\"ioc_detection_sigma\":\"{\\\"id\\\":\\\"EVENT-0000\\\",\\\"logsource\\\":{\\\"dedup_fields\\\":[\\\"machine_test\\\"],\\\"product\\\":\\\"windows\\\",\\\"platform\\\":\\\"windows\\\",\\\"category\\\":\\\"windows_event_user_account_locked_out\\\",\\\"references\\\":[\\\"https://test.com/event-0000\\\"]}}\",\"folded\":0,\"meta_mac_address\":\"00:11:22:33:44:55\",\"endpoint_id\":\"70599d12-fec7-4129-8844-7c6cfded4642\",\"meta_public_ip_country_code\":\"FR\",\"schema_version\":\"22\",\"ioc_detection_mitre_attack\":\"[]\",\"ioc_detection_experiment_level\":0,\"ioc_created_at\":\"2025-12-12T13:59:12.269Z\",\"ingestion_timestamp\":\"2025-12-12T13:59:11.487Z\",\"ioc_detection_attack\":\"Suspicious Activity\",\"numerics\":false,\"eventid\":4740,\"meta_public_ip\":\"1.2.3.4\",\"detection_identifier\":\"0cd6e1e0428211eebe560242ac1200020cd6e1e0428211eebe560242ac120002_0cd6e1e0428211eebe560242ac1200020cd6e1e0428211eebe560242ac120002\",\"query_name\":\"windows_query_event\",\"provider_name\":\"Microsoft-Windows-Security-Auditing\",\"meta_os_version\":\"1.0.2s\",\"meta_public_ip_latitude\":55.8582,\"source\":\"Security\",\"ioc_detection_licenses\":\"[\\\"License1\\\",\\\"License2\\\"]\",\"description\":\"A user account was locked out.\",\"meta_aggressive_activity\":\"False\",\"meta_ip_address\":\"1.2.3.4\",\"ingest_date\":\"2023-08-17\",\"target_domain\":\"AC000-TEST0011\",\"meta_endpoint_type\":\"server\",\"meta_domain_controller\":\"False\",\"customer_id\":\"36c536f0-4282-11ee-be56-0242ac120002\",\"ioc_detection_description\":\"Windows Event User Account Locked Out.\",\"message_identifier\":\"0cd6e1e0428211eebe560242ac1200020cd6e1e0428211eebe560242ac120002\",\"ioc_attack_type\":\"Suspicious Activity\",\"target_username\":\"Administrateur\",\"user_upn\":\"user.mail@company.fr\",\"ml_score_band\":\"HIGH_SUSPICION\",\"target_server\":\"TEST/1.2.3.4\",\"package\":\"TEST\",\"ioc_detection_weight\":5,\"logon_process\":\"logon_process\",\"is_process_file_signed\":\"1\",\"sha1\":\"d4baeeb9180a4284b33fa3602d86c\",\"process_cmd_line\":\"\\\"C:\\\\Program Files (x86)\\\\test.exe\\\" --te /test:5\",\"process_ml_score_band\":\"ml_score\",\"process_parent_name\":\"process_parent.exe\",\"threat_type\":\"threat_type\",\"threat_source\":\"threat_source\",\"ioc_event_path\":\"C:\\\\Program Files (x86)\\\\TEST.EXE\",\"sha256\":\"94256542e235681ba64a20bc50910dd745d52347\",\"cmdline\":\"get_test \",\"password_last_set\":\"18/08/2021 03:37:25\",\"lolbins_ml_results\":{\"score\":19,\"score_label\":\"score_label\",\"sha256\":\"dd6748642b108262f933260c3ae8\"}}",
    "event": {
        "ingested": "2025-12-12T13:59:11.487000Z",
        "reason": "A user account was locked out.",
        "severity": 5
    },
    "destination": {
        "address": "AC000-TEST0011",
        "domain": "AC000-TEST0011"
    },
    "file": {
        "directory": "C:\\Program Files (x86)",
        "hash": {
            "sha1": "d4baeeb9180a4284b33fa3602d86c",
            "sha256": "94256542e235681ba64a20bc50910dd745d52347"
        },
        "name": "TEST.EXE",
        "path": "C:\\Program Files (x86)\\TEST.EXE"
    },
    "host": {
        "os": {
            "version": "1.0.2s"
        }
    },
    "process": {
        "code_signature": {
            "exists": true
        },
        "command_line": "\"C:\\Program Files (x86)\\test.exe\" --te /test:5",
        "hash": {
            "sha1": "d4baeeb9180a4284b33fa3602d86c",
            "sha256": "94256542e235681ba64a20bc50910dd745d52347"
        },
        "parent": {
            "name": "process_parent.exe"
        }
    },
    "related": {
        "hash": [
            "94256542e235681ba64a20bc50910dd745d52347",
            "d4baeeb9180a4284b33fa3602d86c"
        ],
        "hosts": [
            "AC000-TEST0011",
            "TEST/1.2.3.4"
        ],
        "ip": [
            "1.2.3.4"
        ]
    },
    "server": {
        "domain": "TEST/1.2.3.4"
    },
    "sophos": {
        "threat_center": {
            "aggressive_activity": "False",
            "endpoint": {
                "type": "server"
            },
            "event": {
                "id": 4740
            },
            "id": "70599d12-fec7-4129-8844-7c6cfded4642",
            "ioc": {
                "attack_type": "Suspicious Activity",
                "detection": {
                    "attack": "Suspicious Activity",
                    "licences": [
                        "License1",
                        "License2"
                    ],
                    "sigma": {
                        "id": "EVENT-0000"
                    },
                    "weight": "5"
                }
            },
            "logon_process": "logon_process",
            "lolbins_ml_results": {
                "score": "19",
                "score_label": "score_label",
                "sha256": "dd6748642b108262f933260c3ae8"
            },
            "message": {
                "id": "0cd6e1e0428211eebe560242ac1200020cd6e1e0428211eebe560242ac120002"
            },
            "ml": {
                "score": "19",
                "score_band": "ml_score"
            },
            "package": "TEST",
            "password": {
                "last_set": "2021-08-18T03:37:25.000000Z"
            },
            "process": {
                "executable": {
                    "is_signed": true
                }
            },
            "query": {
                "name": "windows_query_event"
            },
            "record_identifier": "0242ac1200020cd6e1e0428211eebe560242ac120002",
            "threat_type": "threat_type",
            "user_upn": "user.mail@company.fr"
        }
    },
    "source": {
        "address": "1.2.3.4",
        "bytes": 2088,
        "geo": {
            "country_iso_code": "FR"
        },
        "ip": "1.2.3.4",
        "mac": "00:11:22:33:44:55",
        "nat": {
            "ip": "1.2.3.4"
        }
    },
    "threat": {
        "indicator": {
            "provider": "threat_source"
        }
    },
    "user": {
        "target": {
            "name": "Administrateur"
        }
    },
    "vulnerability": {
        "description": "Windows Event User Account Locked Out."
    }
}
{
    "message": "{\n  \"parent\": 25740,\n  \"sha256\": \"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b\",\n  \"upload_size\": 2376,\n  \"record_identifier\": \"f94976c04e9a3863965cf49ea581e5a0cb2cad90fa949a44a443b7b2b3c9a044\",\n  \"ioc_severity\": 5,\n  \"path\": \"C:\\\\Windows\\\\System32\\\\wbem\\\\WMIC.exe\",\n  \"is_process_file_signed\": \"1\",\n  \"ml_score_data\": \"{\\\"configVersion\\\":\\\"f94976c04e9a3863965cf49ea581e5a0cb2cad90fa949a44a443b7b2b3c9a044\\\",\\\"expireTime\\\":0,\\\"peMalwareScore\\\":7,\\\"pePuaScore\\\":15,\\\"vdlFlags\\\":0,\\\"version\\\":2}\",\n  \"ioc_detection_sigma\": \"{\\\"id\\\":\\\"WIN-EXE-ENR-ML-SUSPICIOUS-1.star\\\",\\\"logsource\\\":{\\\"dedup_fields\\\":[\\\"machine_data.columns.sophosPID\\\",\\\"detection.id\\\"]}}\",\n  \"company_name\": \"Microsoft Corporation\",\n  \"pua_score\": 15,\n  \"folded\": 0,\n  \"meta_mac_address\": \"00:05:9a:3c:7a:00\",\n  \"endpoint_id\": \"7df406c7-efc9-4c7d-806f-1c7216031630\",\n  \"meta_public_ip_country_code\": \"FR\",\n  \"schema_version\": \"22\",\n  \"uid\": 292948,\n  \"ioc_detection_mitre_attack\": \"[{\\\"tactic\\\":{\\\"id\\\":\\\"TA0002\\\",\\\"name\\\":\\\"Execution\\\",\\\"techniques\\\":[{\\\"id\\\":\\\"T1059\\\",\\\"name\\\":\\\"Command and Scripting Interpreter\\\"}]}}]\",\n  \"meta_licence\": \"\",\n  \"ioc_detection_experiment_level\": 0,\n  \"ioc_created_at\": \"2023-08-30T15:04:40.934Z\",\n  \"cmdline\": \"wmic /Namespace:\\\\\\\\root\\\\SecurityCenter2 Path AntivirusProduct Get displayName,productState\",\n  \"ingestion_timestamp\": \"2023-08-30T15:04:17.022Z\",\n  \"ioc_detection_attack\": \"Execution\",\n  \"numerics\": false,\n  \"meta_public_ip\": \"194.0.166.130\",\n  \"counter\": 1414,\n  \"detection_id_dedup\": \"b758901433312f4077ce4ed46b776ecc895712ff\",\n  \"meta_hostname\": \"H3333333333333\",\n  \"username\": \"U11111111\",\n  \"ioc_worker_name\": \"Security Event Service\",\n  \"ioc_detection_type\": \"process\",\n  \"sha1\": \"adc83b19e793491b1c6ea0fd8b46cd9f32e592fc\",\n  \"ioc_detection_category\": \"Threat\",\n  \"ioc_unix_time\": \"2023-08-30T15:03:56.000Z\",\n  \"epoch\": 1693206450,\n  \"meta_ip_mask\": \"255.255.252.0\",\n  \"file_size\": 576000,\n  \"ioc_worker_id\": \"security-event-service\",\n  \"global_rep_data\": \"{\\\"expireTime\\\":0,\\\"lookupType\\\":0,\\\"reputation\\\":-1,\\\"reputationData\\\":\\\"\\\",\\\"sampleRate\\\":0,\\\"version\\\":1}\",\n  \"parent_name\": \"idea64.exe\",\n  \"unix_time\": \"2023-08-30T15:03:56.000Z\",\n  \"pid\": 3984,\n  \"ioc_log_type\": \"summary\",\n  \"original_filename\": \"wmic.exe\",\n  \"ml_score_band\": \"LIKELY_BENIGN\",\n  \"query_source\": \"xdr_only\",\n  \"sophos_pid\": \"3984:133378811508910039\",\n  \"host_identifier\": \"689FF239-6905-4EB3-8CA4-716E63BDB63D\",\n  \"partition_bucket\": \"87\",\n  \"meta_public_ip_country\": \"United-Kingdom\",\n  \"meta_boot_time\": 1693382499,\n  \"local_rep\": 91,\n  \"meta_os_name\": \"Microsoft Windows 10 Professionnel\",\n  \"sha256_reputation_score\": 70,\n  \"osquery_action\": \"added\",\n  \"lolbins_ml_results\": {\n    \"score\": 99.0,\n    \"score_label\": \"Suspicious\",\n    \"sha256\": \"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b\"\n  },\n  \"parent_path\": \"C:\\\\Program Files\\\\JetBrains\\\\IntelliJ IDEA 2021.3.3\\\\bin\\\\idea64.exe\",\n  \"meta_query_pack_version\": \"1.17.56\",\n  \"calendar_time\": \"2023-08-30T15:03:56.000Z\",\n  \"meta_eid\": \"aecc2aae-83d8-4f39-b65a-53413caa415f\",\n  \"meta_public_ip_longitude\": -0.076198,\n  \"ioc_detection_id\": \"WIN-EXE-ENR-ML-SUSPICIOUS-1\",\n  \"meta_os_platform\": \"windows\",\n  \"meta_username\": \"U111111111\",\n  \"detection_identifier\": \"f94976c04e9a3863965cf49ea581e5a0cb2cad90fa949a44a443b7b2b3c9a044_b758901433312f4077ce4ed46b776ecc895712ff\",\n  \"query_name\": \"running_processes_windows_sophos\",\n  \"meta_os_type\": \"\",\n  \"meta_os_version\": \"10.0.19045\",\n  \"parent_cmdline\": \"\\\"C:\\\\Program Files\\\\JetBrains\\\\IntelliJ IDEA 2021.3.3\\\\bin\\\\idea64.exe\\\" \",\n  \"meta_public_ip_latitude\": 51.5082,\n  \"local_rep_data\": \"{\\\"reputationData\\\":{\\\"isSigned\\\":1,\\\"signerInfo\\\":[{\\\"cryptoAlgorithm\\\":32780,\\\"cryptoStrength\\\":112,\\\"isValid\\\":1,\\\"signer\\\":\\\"Microsoft Windows\\\",\\\"thumbprint\\\":\\\"2724aeb0c497bf5fd732958120d1ae3341cfd252ab1680de03d10503abc666c1\\\"}]}}\",\n  \"ioc_detection_licenses\": \"[\\\"MTR\\\"]\",\n  \"parent_sophos_pid\": \"22222:666666666666666666\",\n  \"name\": \"WMIC.exe\",\n  \"global_rep\": -1,\n  \"meta_aggressive_activity\": \"False\",\n  \"meta_ip_address\": \"1.2.3.4\",\n  \"time\": 1693407550,\n  \"file_version\": \"10.0.19041.1741 (WinBuild.160101.0800)\",\n  \"ingest_date\": \"2023-08-30\",\n  \"file_description\": \"WMI Commandline Utility\",\n  \"ml_score\": 7,\n  \"sha256_reputation_band\": \"KNOWN_GOOD\",\n  \"meta_endpoint_type\": \"computer\",\n  \"meta_domain_controller\": \"False\",\n  \"customer_id\": \"9cc350ec-283c-451a-b072-4c7df065d350\",\n  \"ioc_detection_description\": \"Identifies Lolbin processes labeled as suspicious by a machine learning model.\",\n  \"message_identifier\": \"f94976c04e9a3863965cf49ea581e5a0cb2cad90fa949a44a443b7b2b3c9a044\",\n  \"ioc_attack_type\": \"Security Event Service Detections\",\n  \"product_name\": \"Microsoft\u00ae Windows\u00ae Operating System\",\n  \"gid\": 292948,\n  \"ioc_detection_weight\": 5\n}\n",
    "event": {
        "code": "WIN-EXE-ENR-ML-SUSPICIOUS-1",
        "ingested": "2023-08-30T15:04:17.022000Z",
        "severity": 5
    },
    "@timestamp": "2023-08-30T15:03:56Z",
    "file": {
        "hash": {
            "sha1": "adc83b19e793491b1c6ea0fd8b46cd9f32e592fc",
            "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
        },
        "name": "WMIC.exe",
        "path": "C:\\Windows\\System32\\wbem\\WMIC.exe",
        "size": 576000
    },
    "host": {
        "id": "689FF239-6905-4EB3-8CA4-716E63BDB63D",
        "name": "H3333333333333",
        "os": {
            "full": "Microsoft Windows 10 Professionnel",
            "name": "windows",
            "version": "10.0.19045"
        }
    },
    "process": {
        "code_signature": {
            "exists": true
        },
        "command_line": "wmic /Namespace:\\\\root\\SecurityCenter2 Path AntivirusProduct Get displayName,productState",
        "hash": {
            "sha1": "adc83b19e793491b1c6ea0fd8b46cd9f32e592fc",
            "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
        },
        "name": "Security Event Service",
        "parent": {
            "command_line": "\"C:\\Program Files\\JetBrains\\IntelliJ IDEA 2021.3.3\\bin\\idea64.exe\" ",
            "executable": "C:\\Program Files\\JetBrains\\IntelliJ IDEA 2021.3.3\\bin\\idea64.exe",
            "name": "idea64.exe"
        },
        "pid": 3984
    },
    "related": {
        "hash": [
            "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
            "adc83b19e793491b1c6ea0fd8b46cd9f32e592fc"
        ],
        "ip": [
            "1.2.3.4",
            "194.0.166.130"
        ],
        "user": [
            "U111111111"
        ]
    },
    "sophos": {
        "threat_center": {
            "aggressive_activity": "False",
            "detection_id_dedup": "b758901433312f4077ce4ed46b776ecc895712ff",
            "endpoint": {
                "type": "computer"
            },
            "file": {
                "description": "WMI Commandline Utility",
                "original": {
                    "name": "wmic.exe"
                },
                "version": "10.0.19041.1741 (WinBuild.160101.0800)"
            },
            "global_rep": -1,
            "id": "7df406c7-efc9-4c7d-806f-1c7216031630",
            "ioc": {
                "attack_type": "Security Event Service Detections",
                "detection": {
                    "attack": "Execution",
                    "category": "Threat",
                    "licences": [
                        "MTR"
                    ],
                    "sigma": {
                        "id": "WIN-EXE-ENR-ML-SUSPICIOUS-1.star"
                    },
                    "type": "process",
                    "weight": "5"
                },
                "log_type": "summary",
                "unix_time": "2023-08-30T15:03:56.000000Z"
            },
            "lolbins_ml_results": {
                "score": "99.0",
                "score_label": "Suspicious",
                "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
            },
            "message": {
                "id": "f94976c04e9a3863965cf49ea581e5a0cb2cad90fa949a44a443b7b2b3c9a044"
            },
            "ml": {
                "score": "7",
                "score_band": "LIKELY_BENIGN"
            },
            "ml_score_data": {
                "config_version": "f94976c04e9a3863965cf49ea581e5a0cb2cad90fa949a44a443b7b2b3c9a044"
            },
            "process": {
                "executable": {
                    "is_signed": true
                }
            },
            "pua": {
                "score": "15"
            },
            "query": {
                "action": "added",
                "name": "running_processes_windows_sophos",
                "pack_version": "1.17.56",
                "source": "xdr_only"
            },
            "record_identifier": "f94976c04e9a3863965cf49ea581e5a0cb2cad90fa949a44a443b7b2b3c9a044",
            "sha256": {
                "reputation_band": "KNOWN_GOOD",
                "reputation_score": "70"
            },
            "worker": {
                "id": "security-event-service"
            }
        }
    },
    "source": {
        "address": "1.2.3.4",
        "bytes": 2376,
        "geo": {
            "country_iso_code": "FR",
            "country_name": "United-Kingdom"
        },
        "ip": "1.2.3.4",
        "mac": "00:05:9a:3c:7a:00",
        "nat": {
            "ip": "194.0.166.130"
        }
    },
    "user": {
        "name": "U111111111"
    },
    "vulnerability": {
        "description": "Identifies Lolbin processes labeled as suspicious by a machine learning model."
    }
}
{
    "message": "{\"upload_size\":4486,\"record_identifier\":\"9be070bb55a846a99c85f38e82afb01b9be070bb55a846a99c85f3\",\"ioc_severity\":5,\"process_cmd_line\":\"\\\"C:\\\\process_cmd_line.EXE\\\" \",\"ioc_event_path\":\"C:\\\\ioc_event_path.EXE\",\"process_ml_score_band\":\"LIKELY_BENIGN\",\"process_parent_name\":\"process_parent_name.exe\",\"folded\":0,\"meta_mac_address\":\"00:11:22:33:44:55\",\"endpoint_id\":\"3494ce1f-08fd-4a03-8948-0cb0945ac521\",\"meta_public_ip_country_code\":\"MAR\",\"schema_version\":\"22\",\"ioc_detection_mitre_attack\":\"[{\\\"tactic\\\":{\\\"description\\\":\\\"description tactic \\\",\\\"external_references\\\":[{\\\"external_id\\\":\\\"EE0003\\\",\\\"source_name\\\":\\\"mitre-attack\\\",\\\"url\\\":\\\"https://test.org/tactics/EE0003\\\"}],\\\"id\\\":\\\"EE0003\\\",\\\"name\\\":\\\"Persistence\\\",\\\"techniques\\\":[{\\\"description\\\":\\\"techniques description\\\",\\\"external_references\\\":[{\\\"external_id\\\":\\\"E1997.009\\\",\\\"source_name\\\":\\\"mitre-attack\\\",\\\"url\\\":\\\"https://test.org/techniques/E1997/009\\\"},{\\\"external_id\\\":\\\"EEEEE-132\\\",\\\"source_name\\\":\\\"EEEEE\\\",\\\"url\\\":\\\"https://test.org/132.html\\\"},{\\\"description\\\":\\\"EEE description\\\",\\\"source_name\\\":\\\"source name 2020 - LNK Elastic\\\",\\\"url\\\":\\\"https://www.youtube.com/watch?v=EEEEEEEE\\\"}],\\\"id\\\":\\\"T1547.009\\\",\\\"name\\\":\\\"Shortcut Modification\\\",\\\"platforms\\\":[\\\"Windows\\\"]}]}}]\",\"ioc_detection_experiment_level\":0,\"ioc_created_at\":\"2023-09-20T09:31:41.937Z\",\"process_name\":\"process_name.EXE\",\"ingestion_timestamp\":\"2023-09-20T09:31:41.090Z\",\"ioc_detection_attack\":\"Suspicious Activity\",\"numerics\":false,\"ioc_event_sid\":\"\",\"process_global_rep\":-1,\"meta_public_ip\":\"1.2.3.4\",\"counter\":33,\"detection_id_dedup\":\"e880fc47a0dc0086a8c2f05b92971d2bce2bdaf3\",\"process_sha256_reputation_band\":\"KNOWN_GOOD\",\"meta_hostname\":\"H3333333333333\",\"ioc_event_sophos_tid\":\"\",\"ioc_event_threat_source\":\"Behavioral\",\"ioc_detection_references\":\"[]\",\"process_file_size\":2119600,\"ioc_worker_name\":\"Direct Mapping Worker\",\"ioc_detection_type\":\"Threat\",\"ioc_event_username\":\"\",\"process_path\":\"C:\\\\process_path.EXE\",\"ioc_detection_category\":\"Threat\",\"ioc_unix_time\":\"2023-09-20T09:28:15.000Z\",\"epoch\":1695009925,\"meta_ip_mask\":\"255.255.255.0\",\"ioc_worker_id\":\"direct_mapping_worker\",\"unix_time\":\"2023-09-20T09:28:15.000Z\",\"ioc_log_type\":\"summary\",\"query_source\":\"xdr_only\",\"sophos_pid\":\"12120:111111111111111111\",\"host_identifier\":\"6f80b628-5b7c-11ee-8c99-0242ac120002\",\"partition_bucket\":\"87\",\"meta_public_ip_country\":\"France\",\"process_local_rep_signers\":\"{\\\"reputationData\\\":{\\\"isSigned\\\":1,\\\"signerInfo\\\":[{\\\"isValid\\\":1,\\\"signer\\\":\\\"Microsoft Corporation\\\"},{\\\"isValid\\\":1,\\\"signer\\\":\\\"Microsoft Corporation\\\"}]}}\",\"meta_boot_time\":1695182611,\"process_pua_score\":17,\"process_sha256_reputation_score\":70,\"meta_os_name\":\"Microsoft Windows 10 Professionnel\",\"process_ml_score\":8,\"osquery_action\":\"added\",\"meta_query_pack_version\":\"1.18.1\",\"calendar_time\":\"2023-09-20T09:28:15.000Z\",\"meta_eid\":\"9cc350ec-283c-451a-b072-4c7df065d350\",\"meta_public_ip_longitude\":-0.076198,\"ioc_detection_id\":\"WIN-DET-T1547.009\",\"meta_os_platform\":\"windows\",\"meta_username\":\"JDOE\",\"process_parent_sophos_pid\":\"14208:111111111111111111\",\"detection_identifier\":\"f94976c04e9a3863965cf49ea581e5a0cb2cad90fa949a44a443b7b2b3c9a044_b758901433312f4077ce4ed46b776ecc895712ff\",\"query_name\":\"sophos_runtime_iocs_windows\",\"process_cmd_line_truncated\":0,\"meta_os_version\":\"10.0.19045\",\"meta_public_ip_latitude\":51.5082,\"process_sha256\":\"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b\",\"event_count\":1,\"ioc_event_time\":\"2023-09-20T09:28:15.000Z\",\"meta_aggressive_activity\":\"False\",\"ioc_event_events\":\"[{\\\"cmdline\\\":\\\"\\\\\\\"C:\\\\\\\\Program Files (x86)\\\\\\\\Microsoft Office\\\\\\\\root\\\\\\\\Office16\\\\\\\\ONENOTE.EXE\\\\\\\" \\\",\\\"irep\\\":5,\\\"newSpid\\\":{\\\"!spid\\\":\\\"[12120:111111111111111111]\\\"},\\\"pwin32Path\\\":\\\"c:\\\\\\\\Windows\\\\\\\\explorer.exe\\\",\\\"rep\\\":5,\\\"sha256\\\":{\\\"!sha256\\\":\\\"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b\\\"},\\\"spid\\\":{\\\"!spid\\\":\\\"[14208:111111111111111111]\\\"},\\\"type\\\":\\\"ProcessCreate\\\",\\\"win32Path\\\":\\\"C:\\\\\\\\Program Files (x86)\\\\\\\\Microsoft Office\\\\\\\\root\\\\\\\\Office16\\\\\\\\ONENOTE.EXE\\\"},{\\\"fileAttributes\\\":32,\\\"irep\\\":5,\\\"process\\\":\\\"C:\\\\\\\\Program Files (x86)\\\\\\\\Microsoft Office\\\\\\\\root\\\\\\\\Office16\\\\\\\\ONENOTE.EXE\\\",\\\"rep\\\":5,\\\"size\\\":{\\\"!uint64\\\":\\\"0\\\"},\\\"spid\\\":{\\\"!spid\\\":\\\"[12120:111111111111111111]\\\"},\\\"stid\\\":{\\\"!stid\\\":\\\"[5816:111111111111111111]\\\"},\\\"type\\\":\\\"FileOpen\\\",\\\"win32Path\\\":\\\"C:\\\\\\\\Users\\\\\\\\JDOE\\\\\\\\AppData\\\\\\\\Roaming\\\\\\\\Microsoft\\\\\\\\Windows\\\\\\\\Start Menu\\\\\\\\Programs\\\\\\\\Startup\\\\\\\\Envoyer \\\\u00e0 OneNote.lnk\\\"}]\",\"meta_ip_address\":\"1.2.3.4\",\"process_local_rep\":91,\"ingest_date\":\"2023-09-20\",\"meta_endpoint_type\":\"computer\",\"meta_domain_controller\":\"False\",\"ioc_event_ttp_summary\":\"TA0003-T1547.009\",\"customer_id\":\"9cc350ec-283c-451a-b072-4c7df065d350\",\"message_identifier\":\"f94976c04e9a3863965cf49ea581e5a0cb2cad90fa949a44a443b7b2b3c9a044\",\"ioc_attack_type\":\"Suspicious Activity\",\"process_pid\":12120,\"ioc_events_size\":1247,\"process_parent_path\":\"C:\\\\Windows\\\\process_parent_path.exe\",\"ioc_detection_weight\":5}",
    "event": {
        "code": "WIN-DET-T1547.009",
        "ingested": "2023-09-20T09:31:41.090000Z",
        "severity": 5
    },
    "@timestamp": "2023-09-20T09:28:15Z",
    "file": {
        "directory": "C:",
        "name": "ioc_event_path.EXE",
        "path": "C:\\ioc_event_path.EXE",
        "size": 2119600
    },
    "host": {
        "id": "6f80b628-5b7c-11ee-8c99-0242ac120002",
        "name": "H3333333333333",
        "os": {
            "full": "Microsoft Windows 10 Professionnel",
            "name": "windows",
            "version": "10.0.19045"
        }
    },
    "process": {
        "command_line": "\"C:\\process_cmd_line.EXE\" ",
        "hash": {
            "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
        },
        "name": "Direct Mapping Worker",
        "parent": {
            "name": "process_parent_name.exe",
            "working_directory": "C:\\Windows\\process_parent_path.exe"
        }
    },
    "related": {
        "hash": [
            "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
        ],
        "ip": [
            "1.2.3.4"
        ],
        "user": [
            "JDOE"
        ]
    },
    "sophos": {
        "threat_center": {
            "aggressive_activity": "False",
            "detection_id_dedup": "e880fc47a0dc0086a8c2f05b92971d2bce2bdaf3",
            "endpoint": {
                "type": "computer"
            },
            "id": "3494ce1f-08fd-4a03-8948-0cb0945ac521",
            "ioc": {
                "attack_type": "Suspicious Activity",
                "detection": {
                    "attack": "Suspicious Activity",
                    "category": "Threat",
                    "type": "Threat",
                    "weight": "5"
                },
                "log_type": "summary",
                "ttp_summary": "TA0003-T1547.009",
                "unix_time": "2023-09-20T09:28:15.000000Z"
            },
            "message": {
                "id": "f94976c04e9a3863965cf49ea581e5a0cb2cad90fa949a44a443b7b2b3c9a044"
            },
            "ml": {
                "score_band": "LIKELY_BENIGN"
            },
            "process": {
                "hash": {
                    "sha256": {
                        "reputation_band": "KNOWN_GOOD",
                        "reputation_score": "70"
                    }
                },
                "ml_score": "8",
                "pua": {
                    "score": "17"
                }
            },
            "query": {
                "action": "added",
                "name": "sophos_runtime_iocs_windows",
                "pack_version": "1.18.1",
                "source": "xdr_only"
            },
            "record_identifier": "9be070bb55a846a99c85f38e82afb01b9be070bb55a846a99c85f3",
            "worker": {
                "id": "direct_mapping_worker"
            }
        }
    },
    "source": {
        "address": "1.2.3.4",
        "bytes": 4486,
        "geo": {
            "country_iso_code": "MAR",
            "country_name": "France"
        },
        "ip": "1.2.3.4",
        "mac": "00:11:22:33:44:55",
        "nat": {
            "ip": "1.2.3.4"
        }
    },
    "user": {
        "name": "JDOE"
    }
}

Extracted Fields

The following table lists the fields that are extracted, normalized under the ECS format, analyzed and indexed by the parser. It should be noted that infered fields are not listed.

Name Type Description
@timestamp date Date/time when the event originated.
destination.address keyword Destination network address.
destination.domain keyword The domain name of the destination.
destination.port long Port of the destination.
event.code keyword Identification code for this event.
event.ingested date Timestamp when an event arrived in the central data store.
event.reason keyword Reason why this event happened, according to the source
event.severity long Numeric severity of the event.
file.hash.sha1 keyword SHA1 hash.
file.hash.sha256 keyword SHA256 hash.
file.name keyword Name of the file including the extension, without the directory.
file.path keyword Full path to the file, including the file name.
file.size long File size in bytes.
host.domain keyword Name of the directory the group is a member of.
host.id keyword Unique host id.
host.name keyword Name of the host.
host.os.full keyword Operating system name, including the version or code name.
host.os.name keyword Operating system name, without the version.
host.os.version keyword Operating system version as a raw string.
process.code_signature.exists boolean Boolean to capture if a signature is present.
process.command_line wildcard Full command line that started the process.
process.hash.sha1 keyword SHA1 hash.
process.hash.sha256 keyword SHA256 hash.
process.name keyword Process name.
process.parent.command_line wildcard Full command line that started the process.
process.parent.executable keyword Absolute path to the process executable.
process.parent.name keyword Process name.
process.parent.working_directory keyword The working directory of the process.
process.pid long Process id.
registry.data.strings wildcard List of strings representing what was written to the registry.
registry.data.type keyword Standard registry type for encoding contents
registry.key keyword Hive-relative path of keys.
registry.path keyword Full path, including hive, key and value
server.domain keyword The domain name of the server.
sophos.threat_center.aggressive_activity keyword Is there an aggressive activity
sophos.threat_center.analysis keyword DEP out mode
sophos.threat_center.detection_id_dedup keyword deduplication ID
sophos.threat_center.endpoint.type keyword The type of the endpoint
sophos.threat_center.event.id long Event id
sophos.threat_center.file.description keyword File description
sophos.threat_center.file.original.name keyword The original name of the file
sophos.threat_center.file.version keyword The version of the file
sophos.threat_center.global_rep integer The global response
sophos.threat_center.id keyword The identifier of the endpoint
sophos.threat_center.ioc.attack_type keyword The attack type
sophos.threat_center.ioc.detection.access.authentication keyword Authentication access
sophos.threat_center.ioc.detection.access.complexity keyword Complexity access
sophos.threat_center.ioc.detection.access.vector keyword Vector access
sophos.threat_center.ioc.detection.attack keyword The attack name
sophos.threat_center.ioc.detection.category keyword IOC category
sophos.threat_center.ioc.detection.cvss keyword The Common Vulnerability Scoring System
sophos.threat_center.ioc.detection.impact.availability keyword Availability impact
sophos.threat_center.ioc.detection.impact.confidentiality keyword Confidentiality impact
sophos.threat_center.ioc.detection.impact.integrity keyword Integrity Impact
sophos.threat_center.ioc.detection.licences keyword Detected Licences
sophos.threat_center.ioc.detection.sigma.id keyword Sigma ID
sophos.threat_center.ioc.detection.type keyword IOC type
sophos.threat_center.ioc.detection.weight keyword vulnerability weight
sophos.threat_center.ioc.log_type keyword Log type
sophos.threat_center.ioc.ttp_summary keyword Tactics, Techniques, and Procedures summary
sophos.threat_center.ioc.unix_time keyword Unix time
sophos.threat_center.logon_process keyword Verify the identity of the user or system attempting to access the resources
sophos.threat_center.lolbins_ml_results.score keyword Lolbins machine learning score
sophos.threat_center.lolbins_ml_results.score_label keyword Lolbins machine learning score label
sophos.threat_center.lolbins_ml_results.sha256 keyword Lolbins machine learning sha256
sophos.threat_center.message.id keyword Message ID
sophos.threat_center.ml.score keyword Machine learning score
sophos.threat_center.ml.score_band keyword Machine learning score band
sophos.threat_center.ml_score_data.config_version keyword
sophos.threat_center.ml_score_data.expire_time keyword
sophos.threat_center.ml_score_data.pe.malware.score keyword
sophos.threat_center.ml_score_data.pe.pua.score keyword
sophos.threat_center.ml_score_data.vldflags keyword
sophos.threat_center.package keyword Name of package files
sophos.threat_center.password.last_set keyword last time the password is set
sophos.threat_center.process.executable.is_signed boolean Is the image of the process signed
sophos.threat_center.process.hash.sha256.reputation_band keyword Hash reputation band
sophos.threat_center.process.hash.sha256.reputation_score keyword Hash reputation score
sophos.threat_center.process.ml_score keyword An AI detection score
sophos.threat_center.process.pua.score keyword Potentially Unwanted Application score
sophos.threat_center.pua.score keyword The PUA score
sophos.threat_center.query.action keyword The query action
sophos.threat_center.query.name keyword The query name
sophos.threat_center.query.pack_version keyword The query pack version
sophos.threat_center.query.source keyword The query source
sophos.threat_center.record_identifier keyword Record identifier
sophos.threat_center.sha256.reputation_band keyword sha256 reputation
sophos.threat_center.sha256.reputation_score keyword sha256 reputation
sophos.threat_center.threat_type keyword Threat type
sophos.threat_center.user_upn keyword User Principal Name
sophos.threat_center.worker.id keyword Process worker ID (it's a text not a number)
source.bytes long Bytes sent from the source to the destination.
source.geo.city_name keyword City name.
source.geo.country_iso_code keyword Country ISO code.
source.geo.country_name keyword Country name.
source.geo.postal_code keyword Postal code.
source.ip ip IP address of the source.
source.mac keyword MAC address of the source.
source.nat.ip ip Source NAT ip
threat.indicator.provider keyword Indicator provider
user.name keyword Short name or login of the user.
user.target.name keyword Short name or login of the user.
vulnerability.description keyword Description of the vulnerability.
vulnerability.reference keyword Reference of the vulnerability.

Configure

Prerequisites

You can find the system requirements for each respective platform below :

Warning

It's also necessary to know that you have to install Sophos agents on the necessary machines.

Create Sophos Threat Analysis Center Credentials

In the Sophos Central Admin console:

  1. Go to Global Settings > API Credentials Management.
  2. Click Add Credential and give the credential a name and description.
  3. Choose which role you want to assign. You can choose from the following roles:
    • Service Principal Super Admin: Users with this role can perform all API operations with full CRUD (Create Read Update Delete) capabilities and have access to queries.
    • Service Principal Forensics: Users with this role can create, view, run, and delete Live Discover queries.
  4. Click Add.

This generates the credential, together with a Client ID and a Client Secret. Copy the Client ID and Client Secret.

Enable logs to Sophos data lake

By default sophos central will not send logs to the Data Lake automatically, so you have to do it manually. you will need to enable hydration for both Endpoints and Servers as you want.

To enable hydrating the data lake for endpoint:

  1. Click Endpoint Protection
  2. Click Settings
  3. Scroll down and click Data Lake uploads
  4. Toggle the switch to enable Upload to the Data Lake
  5. (OPTIONAL) - if you want to exclude any devices, select them from the available list and move them to the excluded list

To enable hydrating the data lake for server:

  1. Click Server Protection
  2. Click Settings
  3. Scroll down and click Data Lake uploads
  4. Toggle the switch to enable Upload to the Data Lake
  5. (OPTIONAL) - if you want to exclude any devices, select them from the available list and move them to the excluded list

Create the intake

  1. Go to the intake page and create a new intake from the format Sophos Analysis Threat Center.
  2. Copy the associated Intake key

Pull events

  1. Go to the Playbook page.
  2. Click on + PLAYBOOK and choose Create a playbook from scratch.
  3. Give it a name and a description and click on Next.
  4. In Choose a trigger, select the Query IOC from data lake.
  5. Click on the Query IOC from data lake module on the right sidebar and in the Module Configuration section, select Create new configuration.
  6. Write a name and paste the client_id and client_secret from the Sophos console and click on Save.

    Info

    • If you want to change the region with your own region, you can find your region via protect devices field, first click on Protect Devices, Then copy link of any download links and finally Check the region that appears as part of the URL.
    • No need to change the Oauth2 Authorization Url for the moment (this's the only endpoint to get a JWT token).
  7. In the Trigger Configuration section, click on Create new configuration.

  8. Write a name, choose a frequency - Default is 60 -, paste the intake_key associated to your Sophos Threat Analysis Center intake and click on Save.
  9. On the top right corner, start the Playbook. You should see monitoring messages in the Logs section.
  10. Check on the Events page that the Sophos logs are being received.

Further Readings