Skip to content

HarfangLab

Overview

HarfangLab is an Endpoint detection and response (EDR) solution certified by ANSSI since 2020. This setup guide shows how to forward events produced by HarfangLab EDR to SEKOIA.IO.

Benefit from SEKOIA.IO built-in rules and upgrade HarfangLab with the following detection capabilities out-of-the-box.

SEKOIA.IO x HarfangLab on ATT&CK Navigator

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
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
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
Audit CVE Event

Detects events generated by Windows to indicate the exploitation of a known vulnerability

  • Effort: elementary
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
Backup Catalog Deleted

The rule detects when the Backup Catalog has been deleted. It means the administrators will not be able to access any backups that were created earlier to perform recoveries. This is often being done using the wbadmin.exe tool.

  • 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
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
Capture a network trace with netsh.exe

Detects capture a network trace via netsh.exe trace functionality

  • 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
Commonly Used Commands To Stop Services And Remove Backups

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

  • Effort: intermediate
Control Panel Items

Detects the malicious use of a control panel item

  • Effort: advanced
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
Cron Files Alteration

Cron Files and Cron Directory alteration used by attacker for persistency or privilege escalation.

  • Effort: advanced
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
Csrss Wrong Parent

The csrss.exe process (csrss stands for Client / Server Runtime Subsystem) is a generic Windows process used to manage windows and Windows graphics. This rule analyse if the parent of this process is a legitimate one or not.

  • Effort: advanced
DHCP Server Error Failed Loading the CallOut DLL

This rule detects a DHCP server error in which a specified Callout DLL (in registry) could not be loaded.

  • Effort: intermediate
DHCP Server Loaded the CallOut DLL

This rule detects a DHCP server in which a specified Callout DLL (in registry) was loaded. This would indicate a succesful attack against DHCP service allowing to disrupt the service or alter the integrity of the responses.

  • Effort: intermediate
DNS Server Error Failed Loading The ServerLevelPluginDLL

This rule detects a DNS server error in which a specified plugin DLL (in registry) could not be loaded. This requires the dedicated Windows event provider Microsoft-Windows-DNS-Server-Service.

  • Effort: master
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
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 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
Dllhost Wrong Parent

Dllhost.exe is a process belonging to Microsoft Windows Operating System. The dllhost.exe file manages DLL based applications. This rule analyse if the parent of this process is a legitimate one or not.

  • Effort: elementary
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
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 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
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
Exploit For CVE-2015-1641

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

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

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

  • Effort: elementary
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: elementary
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 File Creation DB1

Detects specific file creation (Users*\AppData\Local\Temp\DB1) to store data to exfiltrate (Formbook behavior). Logging for Sysmon event 11 is usually used for this detection.

  • Effort: intermediate
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
Gpscript Suspicious Parent

Gpscript defines GPO scripts for users and applies them to login / logout sessions. This rule checks if the parent of this process is the supposed one (svchost) or not.

  • 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

Detects the default process name of several HackTools. This rule is here for quickwins as it obviously has many blind spots.

  • Effort: elementary
HarfangLab Process Execution Blocked

HarfangLab EDR has detected a malicious process execution attempt and has blocked it. To know more on what caused this alert, you should check the value of the process name and the concerned computer and user.

  • Effort: elementary
HarfangLab Suspicious Process Behavior Has Been Detected

HarfangLab EDR has detected a suspicious process behavior based on its detection rule. Check the rule name and description for more information.

  • Effort: master
Hiding Files With Attrib.exe

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

  • Effort: advanced
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
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 Wmiexec Module

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

  • Effort: elementary
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
Koadic Execution

Detects command line parameters used by Koadic hack tool

  • Effort: intermediate
Lazarus Loaders

Detects different loaders used by the Lazarus Group APT

  • Effort: elementary
Legitimate Process Execution From Unusual Folder

Detects the execution of a legitimate, windows built-in process name from an unusual / suspicious folder. Legitimate folders are c:\windows\system32\, \SystemRoot\system32\, c:\windows\syswow64\ and c:\windows\winsxs. Many malwares/attackers use legitimate names to masquerade but if they are not Administrator yet, they often can't write file into these legitimate folders.

  • Effort: advanced
Local Account Deleted

Detects local user deletion

  • Effort: master
Logonui Wrong Parent

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 doesn't only make 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 rule checks if the parent of this process is a legitimate one or not.

  • Effort: intermediate
Lsass Wrong Parent

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 rule checks if the parent of this process is a legitimate one or not.

  • Effort: intermediate
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
MS Office Product Spawning Exe in User Dir

Detects an executable in the users directory started from Microsoft Word, Excel, Powerpoint, Publisher or Visio. This is a common technique used by attackers with documents embedding macros. It requires Windows command line logging events.

  • 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
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
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: intermediate
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
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: elementary
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: intermediate
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 Connection Via Certutil

Identifies certutil.exe making a network connection. Adversaries could abuse certutil.exe to download a certificate, or malware, from a remote URL. The rule excludes private IP addresses and IPV6. This requires Sysmon logging.

  • 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
NjRat Registry Changes

Detects changes for the RUN registry key which happen when a victim is infected by NjRAT. Please note that even if NjRat is well-known for the behavior the rule catches, the rule is a bit larger and could catch other malwares.

  • 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: intermediate
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: intermediate
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
Outlook Registry Access

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

  • Effort: elementary
Package Manager Alteration

Package manager (eg: apt, yum) can be altered to install malicious software

  • Effort: advanced
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
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
Phorpiex Process Masquerading

Detects specific process executable path used by the Phorpiex botnet to masquerade its system process network activity. It looks for a pattern of a system process executable name that is not legitimate and running from a folder that is created via a random algorithm 13-15 numbers long.

  • 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 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 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 proces memory. This techinique is widlely used by attackers for privilege escalation and pivot.

  • Effort: elementary
Putty Sessions Listing

Detects attempts to list Putty sessions through registry. To fully work, this rule requires to log registry accesses, which can be done with the Windows Event ID 4656 or 4663 but for that specific configuration is needed.

  • Effort: master
QakBot Process Creation

Detects QakBot like process executions

  • Effort: intermediate
Qakbot Persistence Using Schtasks

Detects possible Qakbot persistence using schtasks.

  • Effort: intermediate
RUN Registry Key Created From Suspicious Folder

Detects the suspicious RUN keys created by software located in Download or temporary Outlook/Internet Explorer directories. Prerequisites are logging for Registry events, which can be done with Sysmon (events 12 and 13).

  • Effort: advanced
RYUK Ransomeware - martinstevens Username

Detects user name "martinstevens". Wizard Spider is used to add the user name "martinstevens" to the AD of its victims. It was observed in several campaigns; in 2019 and 2020.

  • 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
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
SSH Authorized Key Alteration

The file authorized_keys is used by SSH server to identify SSH keys that are authorized to connect to the host, alteration of one of those files might indicate a user compromision

  • Effort: advanced
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
Searchindexer Wrong Parent

Detects if the Search Indexer was executed by a non-legitimate parent process. Search Indexer is the Windows service that handles indexing of your files for Windows Search.

  • 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
Searchprotocolhost Wrong Parent

Detects if the Search Protocol Host process was executed by a non-legitimate parent process. Search Protocol Host is part of the Windows Indexing Service, a service indexing files on the local drive making them easier to search.

  • Effort: intermediate
Security Support Provider (SSP) Added to LSA Configuration

Detects the addition of a SSP to the registry. This is commonly used for persistence. Upon a reboot or API call, SSP DLLs gain access to encrypted and plaintext passwords stored in Windows. Logging for Registry events is needed for this rule to work (this can be done through Sysmon EventIDs 12 and 13).

  • Effort: elementary
Smbexec.py Service Installation

Detects the use of smbexec.py tool by detecting a specific service installation

  • Effort: elementary
Smss Wrong Parent

Detects if the Smss process was executed by a non-legitimate parent process. Session Manager Subsystem (smss) process is a component of the Microsoft Windows NT family of operating systems.

  • 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. The process solarwinds.businesslayerhost.exe created an unexepected child process which doesn't correspond to the legitimate ones.

  • Effort: intermediate
Spoolsv Wrong Parent

Detects if the Spoolsv process was executed by a non-legitimate parent process. Printer Spooler Service (Spoolsv) process is responsible for managing spooled print/fax jobs.

  • 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
Stop Backup Services

Detects adversaries attempts to stop backups services or disable Windows previous files versions feature. This could be related to ransomware operators or legit administrators. This rule relies Windows command line logging and registry logging, and PowerShell (ID 4103, 4104).

  • Effort: master
Suspicious ADSI-Cache Usage By Unknown Tool

Detects the usage of ADSI (LDAP) operations by tools. This may also detect tools like LDAPFragger. It needs file monitoring capabilities (Sysmon Event ID 11 with .sch file creation logging).

  • Effort: advanced
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 Commands From MS SQL Server Shell

Detection of some shell commmands run from a cmd executed by Microsoft MS SQL Server. It could be a sign of xp_cmdshell allowed on the MS-SQL server.

  • 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: elementary
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 HWP 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 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 suspicious network arguments in 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 PROCEXP152.sys File Created In Tmp

Detects the creation of the PROCEXP152.sys file in the application-data local temporary folder. This driver is used by Sysinternals Process Explorer but also by KDU (https://github.com/hfiref0x/KDU) or Ghost-In-The-Logs (https://github.com/bats3c/Ghost-In-The-Logs), which uses KDU. Note - Clever attackers may easily bypass this detection by just renaming the driver filename. Therefore just Medium-level and don't rely on it.

  • Effort: advanced
Suspicious PowerShell Invocations - Specific

Detects suspicious PowerShell invocation command parameters

  • Effort: intermediate
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 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: intermediate
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
Suspicious desktop.ini Action

Detects unusual processes accessing desktop.ini, which can be leveraged to alter how Explorer displays a folder's content (i.e. renaming files) without changing them on disk.

  • Effort: advanced
Svchost Wrong Parent

Detects if the svchost.exe process was executed by a non-legitimate parent process. Svchost (Service Host Process) is a generic host process name for services that run from dynamic-link libraries (DLLs).

  • Effort: advanced
Sysmon Windows File Block Executable

Sysmon has blocked an executable file from being written to the disk. This could be a malicious binary to investigate.

  • Effort: master
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 Wrong Parent

Detects if the Taskhost process was executed by a non-legitimate parent process. Taskhost is the process of the Windows Task Manager which lists the processes that are currently running on the computer system.

  • Effort: intermediate
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
Taskhostw Wrong Parent

Detects if the Taskhostw process was executed by a non-legitimate parent process. Taskhostw is a software component of Windows service start manager, it starts DLL-based Windows services when the computer boots up.

  • Effort: intermediate
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
Userinit Wrong Parent

Userinit.exe is a key process in the Windows operating system. On boot-up it manages the different start up sequences needed, such as establishing network connection and starting up the Windows shell. This rule analyse if the parent of this process is a legitimate one or not.

  • Effort: intermediate
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 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
WiFi Credentials Harvesting Using Netsh

Detects the harvesting of WiFi credentials using netsh.exe, used in particular by Agent Tesla (RAT) and Turla Mosquito (RAT)

  • Effort: elementary
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 Defender Disabled

The rule detects attempts to deactivate/disable Windows Defender through command line or registry. To fully use this rule Windows Registry logging is needed. This can be done for instance using Sysmon with Event IDs 12,13 and 14 (and adding the correct path in its configuration).

  • Effort: intermediate
Windows Defender History Deleted

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

  • Effort: master
Windows Defender History Directory Deleted

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

  • Effort: elementary
Windows Defender 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
Windows Defender Tampering Detected

Detection of Windows Defender Tampering, from definitions' deletion to deactivation of parts or all of Defender.

  • Effort: intermediate
Windows Defender Threat Detected

Detection of a windows defender alert indicating the presence of potential malware

  • Effort: intermediate
Windows Firewall Changes

Detects changes on Windows Firewall configuration

  • 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
Wininit Wrong Parent

Windows Boot is a background application launcher for the Windows operating system. Wininit.exe is responsible for performing the Windows initialization process. This rule analyse if the parent of this process is a legitimate one or not.

  • Effort: intermediate
Winlogon wrong parent

Winlogon.exe is a process that performs the Windows login management function, handling user login and logout in Windows. You see this process in action whenever the operating system asks you for your username and password. It is also responsible for loading user profiles after login, this supports automated login (when relevant) and keyboard and mouse inactivity monitoring to decide when to invoke the screen saver. This rule analyse if the parent of this process is a legitimate one or not.

  • Effort: advanced
Winrshost Wrong Parent

Detects if the Winrshosts process was executed by a non-legitimate parent process The winrshost.exe is a Host Process for WinRM's Remote Shell plugin.

  • Effort: intermediate
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
Wmiprvse Wrong Parent

Detects if the Wmiprvse process was executed by a non-legitimate parent process. The wmiprvse.exe process (wmiprvse stands for Microsoft Windows Management Instrumentation) is a generic process for managing clients on Windows. It is initialized the first time a client application connects and allows you to monitor system resources. This requires Windows command line logging.

  • Effort: intermediate
Wsmprovhost Wrong Parent

Detects if the Wsmprovhost process was executed by a non-legitimate parent process. The PowerShell host wsmprovhost.exe is a proxy process executed remotely through PowerShell when using Windows Remote Management (WinRM).

  • 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

Event Categories

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

Data Source Description
Binary file metadata to be defined
Disk forensics to be defined
File monitoring to be defined
Host network interface to be defined
Kernel drivers to be defined
Loaded DLLs to be defined
Named Pipes to be defined
PowerShell logs to be defined
Process command-line parameters to be defined
Process monitoring to be defined
Process use of network to be defined
Services to be defined
Windows event logs to be defined
Windows Registry registry auditing events are examined in detail
WMI Objects Windows WMI Activity events are analyzed, and events related to WMI process too

In details, the following table denotes the type of events produced by this integration.

Name Values
Kind alert, event
Category network, process
Type connection, info, start

Event Samples

Find below few samples of events and how they are normalized by SEKOIA.IO.

{
    "message": "{\"aggregation_key\":\"40fd5973a79d4e0f21e689938e5f269d20a3be780949eb6f408d5cb65c6974d1\",\"type\":\"rtlogs\",\"agent\":{\"osversion\":\"10.0.19041\",\"domainname\":\"WORKGROUP\",\"agentid\":\"8cb8fb07-ecb4-4537-8a44-451ef855a874\",\"osproducttype\":\"Windows 10 Pro\",\"hostname\":\"REDACTED\",\"domain\":null},\"level\":\"high\",\"msg\":\"Binary was found malicious by 2 rule(s) with a score of 120\",\"tags\":[],\"rule_name\":\"YARA binary check\",\"process\":{\"signature_info\":{\"root_info\":{\"display_name\":\"\",\"thumbprint\":\"\",\"serial_number\":\"\",\"issuer_name\":\"\"},\"signed_catalog\":false,\"signer_info\":{\"display_name\":\"\",\"thumbprint\":\"\",\"serial_number\":\"\",\"issuer_name\":\"\"},\"signed_authenticode\":false},\"commandline\":\"\\\"C:\\\\Users\\\\valves\\\\Desktop\\\\mimikatz.exe\\\"\",\"matched_rules_count\":2,\"fake_parent_commandline\":null,\"dont_create_process\":true,\"session\":2,\"pid\":5736,\"process_name\":\"mimikatz.exe\",\"score\":120,\"pe_info\":{\"product_version\":\"2.2.0.0\",\"file_description\":\"mimikatz for Windows\",\"original_filename\":\"mimikatz.exe\",\"internal_name\":\"mimikatz\",\"file_version\":\"2.2.0.0\",\"company_name\":\"Braveheart\",\"legal_copyright\":\"Copyright (c) 2007 - 2020 Braveheart\",\"product_name\":\"mimikatz\"},\"fake_parent_image\":null,\"username\":\"REDACTED\\\\valves\",\"pe_timestamp_int\":1619768223,\"image_name\":\"C:\\\\Users\\\\valves\\\\Desktop\\\\mimikatz.exe\",\"parent_integrity_level\":\"High\",\"fake_parent_unique_id\":null,\"status_msg\":\"Binary was found potentially malicious on the endpoint by Yara with a score of 120 , but it is running in alert only mode\",\"log_type\":\"process\",\"logonid\":1121594,\"process_unique_id\":\"ab376ee3-ecb4-4537-1668-00993e12c556\",\"usersid\":\"S-1-5-21-794873159-2603523847-3490392889-500\",\"error_msg\":\"\",\"parent_image\":\"C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\",\"fake_ppid\":null,\"integrity_level\":\"High\",\"current_directory\":\"C:\\\\Users\\\\valves\\\\Desktop\",\"pe_timestamp\":\"2021-04-30T07:37:03.000Z\",\"parent_unique_id\":\"ab376ee3-ecb4-4537-06a4-0031a7bc3d13\",\"pe_imphash\":\"B6BC868F5046CE7764D0627266AF0200\",\"hashes\":{\"md5\":\"46f3fa15de36a0825df4dbfd94614566\",\"sha256\":\"79dd65171cdbc3a1505d11921babf62ffcab4d725ab4a28813c02a6f3a2760ff\",\"sha1\":\"41453d9b0ae75f687c7720373d7586bc0a9d1607\"},\"size\":1430016,\"matched_rules\":[{\"namespace\":\"mimikatz.yar\",\"rulename\":\"mimikatz_clear_string_markers\",\"source\":\"default\"},{\"namespace\":\"mimikatz.yar\",\"rulename\":\"mimikatz_patches_x64\",\"source\":\"default\"}],\"create_time\":\"2021/04/30 13:20:54.315189\",\"parent_commandline\":\"\\\"C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\\\" \",\"rule_revision\":81,\"signed\":false,\"ppid\":1700,\"status\":0},\"alert_time\":\"2021-04-30T13:21:20.704+00:00\",\"alert_subtype\":\"process\",\"execution\":0,\"alert_type\":\"yara\",\"rule_id\":\"YARA binary check\",\"@version\":\"1\",\"@timestamp\":\"2021-04-30T13:21:20.717Z\",\"@event_create_date\":\"2021-04-30T13:21:20.704Z\",\"log_type\":\"alert\",\"status\":\"new\",\"alert_unique_id\":\"bd13fef8-a8fd-4d28-ad97-928a83b96085\"}",
    "event": {
        "category": [
            "process"
        ],
        "type": [
            "start"
        ],
        "kind": "alert"
    },
    "@timestamp": "2021-04-30T13:21:20.704Z",
    "agent": {
        "id": "8cb8fb07-ecb4-4537-8a44-451ef855a874",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "REDACTED"
    },
    "host": {
        "hostname": "REDACTED",
        "domain": "WORKGROUP",
        "os": {
            "version": "10.0.19041",
            "full": "Windows 10 Pro"
        },
        "name": "REDACTED"
    },
    "harfanglab": {
        "level": "high",
        "alert_time": "2021-04-30T13:21:20.704+00:00",
        "alert_unique_id": "bd13fef8-a8fd-4d28-ad97-928a83b96085",
        "alert_subtype": "process",
        "execution": 0,
        "status": "new",
        "aggregation_key": "40fd5973a79d4e0f21e689938e5f269d20a3be780949eb6f408d5cb65c6974d1"
    },
    "rule": {
        "description": "Binary was found malicious by 2 rule(s) with a score of 120",
        "name": "YARA binary check",
        "category": "yara",
        "id": "YARA binary check"
    },
    "process": {
        "command_line": "\"C:\\Users\\valves\\Desktop\\mimikatz.exe\"",
        "pid": 5736,
        "name": "mimikatz.exe",
        "pe": {
            "description": "mimikatz for Windows",
            "original_file_name": "mimikatz.exe",
            "file_version": "2.2.0.0",
            "company": "Braveheart",
            "product": "mimikatz",
            "imphash": "B6BC868F5046CE7764D0627266AF0200"
        },
        "executable": "C:\\Users\\valves\\Desktop\\mimikatz.exe",
        "parent": {
            "executable": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
            "command_line": "\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" "
        },
        "working_directory": "C:\\Users\\valves\\Desktop"
    },
    "user": {
        "name": "REDACTED\\valves"
    },
    "file": {
        "hash": {
            "md5": "46f3fa15de36a0825df4dbfd94614566",
            "sha256": "79dd65171cdbc3a1505d11921babf62ffcab4d725ab4a28813c02a6f3a2760ff",
            "sha1": "41453d9b0ae75f687c7720373d7586bc0a9d1607"
        }
    },
    "related": {
        "hash": [
            "41453d9b0ae75f687c7720373d7586bc0a9d1607",
            "46f3fa15de36a0825df4dbfd94614566",
            "79dd65171cdbc3a1505d11921babf62ffcab4d725ab4a28813c02a6f3a2760ff"
        ],
        "hosts": [
            "REDACTED"
        ],
        "user": [
            "REDACTED\\valves"
        ]
    }
}
{
    "message": "{\n  \"@version\": \"1\",\n  \"agent\": {\n    \"agentid\": \"00000000-0000-0000-0000-000000000000\",\n    \"distroid\": null,\n    \"domainname\": \"domain123\",\n    \"ostype\": \"windows\",\n    \"hostname\": \"pc123\",\n    \"osversion\": \"10.0.19041\",\n    \"osproducttype\": \"Windows 10 Pro\",\n    \"domain\": null,\n    \"version\": \"2.12.6\"\n  },\n  \"type\": \"rtlogs\",\n  \"alert_subtype\": \"process\",\n  \"log_type\": \"alert\",\n  \"detection_origin\": \"agent\",\n  \"tenant\": \"\",\n  \"alert_time\": \"2022-03-15T07:26:01.276+00:00\",\n  \"alert_type\": \"sigma\",\n  \"status\": \"false_positive\",\n  \"rule_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"@event_create_date\": \"2022-03-15T07:26:01.276Z\",\n  \"alert_unique_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"level\": \"low\",\n  \"aggregation_key\": \"123456\",\n  \"@timestamp\": \"2022-03-15T07:26:01.311Z\",\n  \"tags\": [\n    \"attack.discovery\",\n    \"attack.t1057\",\n    \"attack.s0057\"\n  ],\n  \"process\": {\n    \"detection_timestamp\": \"2022/03/15 07:24:54.438105\",\n    \"process_unique_id\": \"00000000-0000-0000-0000-000000000000\",\n    \"parent_integrity_level\": \"Medium\",\n    \"log_platform_flag\": 0,\n    \"fake_parent_image\": null,\n    \"pid\": 11320,\n    \"image_name\": \"C:\\\\Windows\\\\SysWOW64\\\\tasklist.exe\",\n    \"username\": \"XXX\\\\XXX\",\n    \"logonid\": 151210562,\n    \"signature_info\": {\n      \"signed_authenticode\": false,\n      \"signed_catalog\": true,\n      \"root_info\": {\n        \"thumbprint\": \"3b1efd3a66ea28b16697394703a72ca340a05bd5\",\n        \"display_name\": \"Microsoft Root Certificate Authority 2010\",\n        \"serial_number\": \"28cc3a25bfba44ac449a9b586b4339aa\",\n        \"issuer_name\": \"Microsoft Root Certificate Authority 2010\"\n      },\n      \"signer_info\": {\n        \"thumbprint\": \"f7c2f2c96a328c13cda8cdb57b715bdea2cbd1d9\",\n        \"display_name\": \"Microsoft Windows\",\n        \"serial_number\": \"33000002ec6579ad1e670890130000000002ec\",\n        \"issuer_name\": \"Microsoft Windows Production PCA 2011\"\n      }\n    },\n    \"current_directory\": \"C:\\\\Program Files (x86)\\\\EPOS\\\\EPOS Connect\",\n    \"error_msg\": \"\",\n    \"status_msg\": \"sigma match detected this process but not configured to block it\",\n    \"ppid\": 17808,\n    \"fake_parent_commandline\": null,\n    \"commandline\": \"tasklist\",\n    \"signed\": true,\n    \"grandparent_integrity_level\": \"Medium\",\n    \"log_type\": \"process\",\n    \"pe_imphash\": \"19BBD9C4E73C288A3645E163F4B82682\",\n    \"create_time\": \"2022-03-15T07:24:54.260Z\",\n    \"status\": 0,\n    \"parent_image\": \"C:\\\\Windows\\\\SysWOW64\\\\cmd.exe\",\n    \"integrity_level\": \"Medium\",\n    \"usersid\": \"S-1-5-21-299502267-725345543-82448378-2366\",\n    \"pe_info\": {\n      \"product_version\": \"10.0.19041.1\",\n      \"legal_copyright\": \"\u00a9 Microsoft Corporation. All rights reserved.\",\n      \"original_filename\": \"tasklist.exe\",\n      \"company_name\": \"Microsoft Corporation\",\n      \"file_description\": \"Lists the current running tasks\",\n      \"file_version\": \"10.0.19041.1 (WinBuild.160101.0800)\",\n      \"internal_name\": \"tasklist.exe\",\n      \"product_name\": \"Microsoft\u00ae Windows\u00ae Operating System\"\n    },\n    \"session\": 3,\n    \"pe_timestamp\": \"1994-09-11T16:43:21.000Z\",\n    \"parent_unique_id\": \"2332edf8-70c0-43c2-4590-00f912ab3d18\",\n    \"process_name\": \"tasklist.exe\",\n    \"grandparent_commandline\": \"C:\\\\Program Files (x86)\\\\EPOS\\\\EPOS Connect\\\\EPOSConnect.exe 1\",\n    \"pe_timestamp_int\": 779301801,\n    \"grandparent_image\": \"C:\\\\Program Files (x86)\\\\EPOS\\\\EPOS Connect\\\\EPOSConnect.exe\",\n    \"parent_commandline\": \"C:\\\\WINDOWS\\\\system32\\\\cmd.exe /d /s /c tasklist\",\n    \"fake_parent_unique_id\": null,\n    \"size\": 79360,\n    \"fake_ppid\": null,\n    \"hashes\": {\n      \"sha1\": \"7f50d8c3cf3ec79122a876e969bdb65d939becd0\",\n      \"sha256\": \"76eac7b5f53e0d58a98d5a6ddf9c97e19d1462ef65c0035d7798f89988b15ab4\",\n      \"md5\": \"0a4448b31ce7f83cb7691a2657f330f1\"\n    }\n  },\n  \"execution\": 0,\n  \"rule_name\": \"Discovery: Process list\",\n  \"maturity\": \"stable\",\n  \"msg\": \"Detects the execution of tasklist.exe, a tool used to gather detailed information about a computer's active processes.\"\n}\n",
    "event": {
        "category": [
            "process"
        ],
        "type": [
            "start"
        ],
        "kind": "alert"
    },
    "@timestamp": "2022-03-15T07:26:01.276Z",
    "agent": {
        "id": "00000000-0000-0000-0000-000000000000",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "pc123"
    },
    "host": {
        "hostname": "pc123",
        "domain": "domain123",
        "os": {
            "version": "10.0.19041",
            "full": "Windows 10 Pro"
        },
        "name": "pc123"
    },
    "harfanglab": {
        "level": "low",
        "alert_time": "2022-03-15T07:26:01.276+00:00",
        "alert_unique_id": "00000000-0000-0000-0000-000000000000",
        "alert_subtype": "process",
        "execution": 0,
        "status": "false_positive",
        "aggregation_key": "123456"
    },
    "rule": {
        "description": "Detects the execution of tasklist.exe, a tool used to gather detailed information about a computer's active processes.",
        "name": "Discovery: Process list",
        "category": "sigma",
        "id": "00000000-0000-0000-0000-000000000000"
    },
    "process": {
        "command_line": "tasklist",
        "pid": 11320,
        "name": "tasklist.exe",
        "pe": {
            "description": "Lists the current running tasks",
            "original_file_name": "tasklist.exe",
            "file_version": "10.0.19041.1 (WinBuild.160101.0800)",
            "company": "Microsoft Corporation",
            "product": "Microsoft\u00ae Windows\u00ae Operating System",
            "imphash": "19BBD9C4E73C288A3645E163F4B82682"
        },
        "executable": "C:\\Windows\\SysWOW64\\tasklist.exe",
        "parent": {
            "executable": "C:\\Windows\\SysWOW64\\cmd.exe",
            "command_line": "C:\\WINDOWS\\system32\\cmd.exe /d /s /c tasklist"
        },
        "working_directory": "C:\\Program Files (x86)\\EPOS\\EPOS Connect"
    },
    "user": {
        "name": "XXX\\XXX"
    },
    "file": {
        "hash": {
            "md5": "0a4448b31ce7f83cb7691a2657f330f1",
            "sha256": "76eac7b5f53e0d58a98d5a6ddf9c97e19d1462ef65c0035d7798f89988b15ab4",
            "sha1": "7f50d8c3cf3ec79122a876e969bdb65d939becd0"
        }
    },
    "related": {
        "hash": [
            "0a4448b31ce7f83cb7691a2657f330f1",
            "76eac7b5f53e0d58a98d5a6ddf9c97e19d1462ef65c0035d7798f89988b15ab4",
            "7f50d8c3cf3ec79122a876e969bdb65d939becd0"
        ],
        "hosts": [
            "pc123"
        ],
        "user": [
            "XXX\\XXX"
        ]
    }
}
{
    "message": "{\"cmdline\":\"C:\\\\Windows\\\\system32\\\\svchost.exe -k wusvcs -p\",\"session\":0,\"pid\":3092,\"job_id\":\"c0cbd87c-c793-4af9-9ecf-53739f3f27a5\",\"process_bits\":64,\"@timestamp\":\"2021-05-01T07:49:08.043Z\",\"username\":\"NT AUTHORITY\\\\SYSTEM\",\"@version\":\"1\",\"log_type\":\"investigation\",\"binaryinfo\":{\"filename\":\"svchost.exe\",\"fullpath\":\"C:\\\\Windows\\\\System32\\\\svchost.exe\",\"binaryinfo\":{\"root_thumbprint\":\"3b1efd3a66ea28b16697394703a72ca340a05bd5\",\"pe_file_version\":\"10.0.17763.1 (WinBuild.160101.0800)\",\"filesize\":51696,\"signer_serial_number\":\"33000001a90f2d80c9a929387c0000000001a9\",\"pe_timestamp_int\":3103846143,\"pe_legal_copyright\":\"\u00a9 Microsoft Corporation. All rights reserved.\",\"signed_catalog\":false,\"signer_display_name\":\"Microsoft Windows Publisher\",\"sha1\":\"a1385ce20ad79f55df235effd9780c31442aa234\",\"signer_issuer_name\":\"Microsoft Windows Production PCA 2011\",\"signed_authenticode\":true,\"pe_company_name\":\"Microsoft Corporation\",\"md5\":\"8a0a29438052faed8a2532da50455756\",\"pe_product_version\":\"10.0.17763.1\",\"pe_internal_name\":\"svchost.exe\",\"pe_timestamp\":\"2068-05-10 03:29:03.000\",\"root_serial_number\":\"28cc3a25bfba44ac449a9b586b4339aa\",\"pe_imphash\":\"247B9220E5D9B720A82B2C8B5069AD69\",\"sha256\":\"7fd065bac18c5278777ae44908101cdfed72d26fa741367f0ad4d02020787ab6\",\"root_display_name\":\"Microsoft Root Certificate Authority 2010\",\"pe_file_description\":\"Host Process for Windows Services\",\"root_issuer_name\":\"Microsoft Root Certificate Authority 2010\",\"pe_original_filename\":\"svchost.exe\",\"pe_product_name\":\"Microsoft\u00ae Windows\u00ae Operating System\",\"signed\":true,\"signer_thumbprint\":\"458d803a5cf470dd3f01a475214938d97a5051e8\"},\"fullpath_cmdline\":null},\"job_instance_id\":\"c580fa86-4d9c-4cf0-bebf-24d31fc2ff56\",\"integrity_level\":\"Unknown\",\"item_status\":0,\"agent\":{\"osversion\":\"10.0.17763\",\"domainname\":\"WORKGROUP\",\"agentid\":\"77af54c8-910f-455d-b887-87cbc87430a4\",\"osproducttype\":\"Windows Server 2019 Datacenter\",\"hostname\":\"REDACTED\",\"domain\":null},\"object_type\":\"process\",\"mem_working_set\":7553024,\"critical\":true,\"signature_requested\":true,\"create_time\":\"2021-05-01T07:45:59.848Z\",\"name\":\"svchost.exe\",\"maybe_hollow\":false,\"mem_private_bytes\":1777664,\"ppid\":752,\"status\":\"running\",\"exe\":\"C:\\\\Windows\\\\System32\\\\svchost.exe\"}",
    "event": {
        "kind": "event",
        "type": [
            "info"
        ]
    },
    "agent": {
        "id": "77af54c8-910f-455d-b887-87cbc87430a4",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "REDACTED"
    },
    "host": {
        "hostname": "REDACTED",
        "domain": "WORKGROUP",
        "os": {
            "version": "10.0.17763",
            "full": "Windows Server 2019 Datacenter"
        },
        "name": "REDACTED"
    },
    "file": {
        "path": "C:\\Windows\\System32\\svchost.exe",
        "name": "svchost.exe",
        "hash": {
            "md5": "8a0a29438052faed8a2532da50455756",
            "sha1": "a1385ce20ad79f55df235effd9780c31442aa234",
            "sha256": "7fd065bac18c5278777ae44908101cdfed72d26fa741367f0ad4d02020787ab6"
        },
        "pe": {
            "description": "Host Process for Windows Services",
            "original_file_name": "svchost.exe",
            "file_version": "10.0.17763.1 (WinBuild.160101.0800)",
            "company": "Microsoft Corporation",
            "product": "Microsoft\u00ae Windows\u00ae Operating System",
            "imphash": "247B9220E5D9B720A82B2C8B5069AD69"
        }
    },
    "related": {
        "hash": [
            "7fd065bac18c5278777ae44908101cdfed72d26fa741367f0ad4d02020787ab6",
            "8a0a29438052faed8a2532da50455756",
            "a1385ce20ad79f55df235effd9780c31442aa234"
        ],
        "hosts": [
            "REDACTED"
        ]
    }
}
{
    "message": "{\"event_id\":3,\"dport\":2525,\"tenant\":\"\",\"initiated\":\"true\",\"image_name\":\"E:\\\\Program Files\\\\Microsoft\\\\Exchange Server\\\\V15\\\\Bin\\\\MSExchangeHMWorker.exe\",\"username\":\"NT AUTHORITY\\\\SYSTEM\",\"saddr\":\"192.168.120.41\",\"agent\":{\"distroid\":null,\"agentid\":\"f43cb847-8227-4104-b77f-7fc849789f8e\",\"domainname\":\"EXAMPLE\",\"ostype\":\"windows\",\"hostname\":\"EXCHANGE\",\"osversion\":\"10.0.17763\",\"domain\":null,\"osproducttype\":\"Windows Server 2019 Standard\"},\"is_ipv6\":\"false\",\"sport\":21955,\"pid\":14228,\"direction\":\"out\",\"conn_type\":0,\"daddr\":\"192.168.120.41\",\"@timestamp\":\"2021-11-21T19:38:44.461Z\",\"@version\":\"1\",\"log_type\":\"network\",\"@event_create_date\":\"2021-11-21T19:38:36.820Z\",\"process_unique_id\":\"2d1de721-5d5a-46b2-3794-0097821d2ab7\"}",
    "event": {
        "category": [
            "network"
        ],
        "type": [
            "connection"
        ],
        "kind": "event"
    },
    "@timestamp": "2021-11-21T19:38:36.820Z",
    "agent": {
        "id": "f43cb847-8227-4104-b77f-7fc849789f8e",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "EXCHANGE"
    },
    "host": {
        "hostname": "EXCHANGE",
        "domain": "EXAMPLE",
        "os": {
            "version": "10.0.17763",
            "full": "Windows Server 2019 Standard"
        },
        "name": "EXCHANGE"
    },
    "destination": {
        "ip": "192.168.120.41",
        "port": 2525,
        "address": "192.168.120.41"
    },
    "source": {
        "ip": "192.168.120.41",
        "port": 21955,
        "address": "192.168.120.41"
    },
    "process": {
        "pid": 14228,
        "executable": "E:\\Program Files\\Microsoft\\Exchange Server\\V15\\Bin\\MSExchangeHMWorker.exe"
    },
    "user": {
        "name": "NT AUTHORITY\\SYSTEM"
    },
    "related": {
        "hosts": [
            "EXCHANGE"
        ],
        "ip": [
            "192.168.120.41"
        ],
        "user": [
            "NT AUTHORITY\\SYSTEM"
        ]
    }
}
{
    "message": "{\"daddr\":\"172.31.9.222\",\"event_id\":3,\"dport\":3389,\"agent\":{\"osversion\":\"10.0.17763\",\"domainname\":\"WORKGROUP\",\"agentid\":\"d4e3bf36-929d-4ddf-8526-492e89955808\",\"osproducttype\":\"Windows Server 2019 Datacenter\",\"hostname\":\"REDACTED\",\"domain\":null},\"conn_type\":0,\"pid\":1004,\"sport\":42221,\"is_ipv6\":\"false\",\"username\":\"NT AUTHORITY\\\\NETWORK SERVICE\",\"@timestamp\":\"2021-05-01T09:55:44.688Z\",\"@version\":\"1\",\"image_name\":\"C:\\\\Windows\\\\System32\\\\svchost.exe\",\"saddr\":\"185.202.2.238\",\"direction\":\"in\",\"initiated\":\"false\",\"log_type\":\"network\",\"@event_create_date\":\"2021-05-01T09:55:30.372Z\",\"process_unique_id\":\"9aad140d-929d-4ddf-03ec-008c68ef14a0\"}",
    "event": {
        "category": [
            "network"
        ],
        "type": [
            "connection"
        ],
        "kind": "event"
    },
    "@timestamp": "2021-05-01T09:55:30.372Z",
    "agent": {
        "id": "d4e3bf36-929d-4ddf-8526-492e89955808",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "REDACTED"
    },
    "host": {
        "hostname": "REDACTED",
        "domain": "WORKGROUP",
        "os": {
            "version": "10.0.17763",
            "full": "Windows Server 2019 Datacenter"
        },
        "name": "REDACTED"
    },
    "destination": {
        "ip": "172.31.9.222",
        "port": 3389,
        "address": "172.31.9.222"
    },
    "source": {
        "ip": "185.202.2.238",
        "port": 42221,
        "address": "185.202.2.238"
    },
    "process": {
        "pid": 1004,
        "executable": "C:\\Windows\\System32\\svchost.exe"
    },
    "user": {
        "name": "NT AUTHORITY\\NETWORK SERVICE"
    },
    "related": {
        "hosts": [
            "REDACTED"
        ],
        "ip": [
            "172.31.9.222",
            "185.202.2.238"
        ],
        "user": [
            "NT AUTHORITY\\NETWORK SERVICE"
        ]
    }
}
{
    "message": "{\"tenant\":\"\",\"usersid\":\"S-1-5-18\",\"hashes\":{\"sha256\":\"100af46c952e58105dbc51eb92510f6990377a3ffc57e82074a8bfb64c56c529\",\"md5\":\"4c7a9a333afb2b0896b4e8a948e58b79\",\"sha1\":\"948febd5456420916256fcc94e3ed19aafe5390b\"},\"status_msg\":\"\",\"username\":\"NT AUTHORITY\\\\SYSTEM\",\"agent\":{\"distroid\":null,\"agentid\":\"f43cb847-8227-4104-b77f-7fc849789f8e\",\"domainname\":\"NIVURA\",\"ostype\":\"windows\",\"hostname\":\"EXCHANGE\",\"osversion\":\"10.0.17763\",\"domain\":null,\"osproducttype\":\"Windows Server 2019 Standard\"},\"status\":0,\"fake_ppid\":null,\"integrity_level\":\"System\",\"signed\":true,\"signature_info\":{\"signed_catalog\":true,\"signer_info\":{\"display_name\":\"Microsoft Windows\",\"issuer_name\":\"Microsoft Windows Production PCA 2011\",\"serial_number\":\"33000002ed2c45e4c145cf48440000000002ed\",\"thumbprint\":\"312860d2047eb81f8f58c29ff19ecdb4c634cf6a\"},\"root_info\":{\"display_name\":\"Microsoft Root Certificate Authority 2010\",\"issuer_name\":\"Microsoft Root Certificate Authority 2010\",\"serial_number\":\"28cc3a25bfba44ac449a9b586b4339aa\",\"thumbprint\":\"3b1efd3a66ea28b16697394703a72ca340a05bd5\"},\"signed_authenticode\":false},\"parent_commandline\":\"E:\\\\Program Files\\\\Microsoft\\\\Exchange Server\\\\V15\\\\Bin\\\\Microsoft.Exchange.Diagnostics.Service.exe\",\"@timestamp\":\"2021-11-21T20:03:15.736Z\",\"parent_image\":\"E:\\\\Program Files\\\\Microsoft\\\\Exchange Server\\\\V15\\\\Bin\\\\Microsoft.Exchange.Diagnostics.Service.exe\",\"log_type\":\"process\",\"current_directory\":\"C:\\\\Windows\\\\system32\",\"pe_imphash\":\"6043170F48FA2A2802231975BB43BBDA\",\"process_unique_id\":\"2d1de721-5d5a-46b2-5ae8-00feb4cdcf56\",\"size\":53760,\"log_platform_flag\":0,\"commandline\":\"relog.exe E:\\\\Program Files\\\\Microsoft\\\\Exchange Server\\\\V15\\\\Logging\\\\Diagnostics\\\\PerformanceLogsToBeProcessed\\\\ExchangeDiagnosticsPerformanceLog_11212058.blg -f csv -o E:\\\\Program Files\\\\Microsoft\\\\Exchange Server\\\\V15\\\\Logging\\\\Diagnostics\\\\PerformanceLogsToBeProcessed\\\\ExchangeDiagnosticsPerformanceLog_11212058.csvtmp -y\",\"session\":0,\"process_name\":\"relog.exe\",\"image_name\":\"C:\\\\Windows\\\\System32\\\\relog.exe\",\"parent_integrity_level\":\"System\",\"fake_parent_commandline\":null,\"pe_timestamp_int\":2652523548,\"error_msg\":\"\",\"parent_unique_id\":\"2d1de721-5d5a-46b2-0c78-009ac6cf01ea\",\"pid\":23272,\"ppid\":3192,\"fake_parent_image\":null,\"@event_create_date\":\"2021-11-21T20:03:08.226Z\",\"@version\":\"1\",\"pe_timestamp\":\"2054-01-20T12:05:48.000Z\",\"fake_parent_unique_id\":null,\"pe_info\":{\"product_version\":\"10.0.17763.1\",\"company_name\":\"Microsoft Corporation\",\"product_name\":\"Microsoft\u00ae Windows\u00ae Operating System\",\"internal_name\":\"Relog.exe\",\"file_description\":\"Performance Relogging Utility\",\"legal_copyright\":\"\u00a9 Microsoft Corporation. All rights reserved.\",\"file_version\":\"10.0.17763.1 (WinBuild.160101.0800)\",\"original_filename\":\"Relog.exe\"},\"logonid\":999}",
    "event": {
        "category": [
            "process"
        ],
        "type": [
            "start"
        ],
        "kind": "event"
    },
    "@timestamp": "2021-11-21T20:03:08.226Z",
    "agent": {
        "id": "f43cb847-8227-4104-b77f-7fc849789f8e",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "EXCHANGE"
    },
    "host": {
        "hostname": "EXCHANGE",
        "domain": "NIVURA",
        "os": {
            "version": "10.0.17763",
            "full": "Windows Server 2019 Standard"
        },
        "name": "EXCHANGE"
    },
    "process": {
        "command_line": "relog.exe E:\\Program Files\\Microsoft\\Exchange Server\\V15\\Logging\\Diagnostics\\PerformanceLogsToBeProcessed\\ExchangeDiagnosticsPerformanceLog_11212058.blg -f csv -o E:\\Program Files\\Microsoft\\Exchange Server\\V15\\Logging\\Diagnostics\\PerformanceLogsToBeProcessed\\ExchangeDiagnosticsPerformanceLog_11212058.csvtmp -y",
        "pid": 23272,
        "name": "relog.exe",
        "pe": {
            "description": "Performance Relogging Utility",
            "original_file_name": "Relog.exe",
            "file_version": "10.0.17763.1 (WinBuild.160101.0800)",
            "company": "Microsoft Corporation",
            "product": "Microsoft\u00ae Windows\u00ae Operating System",
            "imphash": "6043170F48FA2A2802231975BB43BBDA"
        },
        "executable": "C:\\Windows\\System32\\relog.exe",
        "parent": {
            "executable": "E:\\Program Files\\Microsoft\\Exchange Server\\V15\\Bin\\Microsoft.Exchange.Diagnostics.Service.exe",
            "command_line": "E:\\Program Files\\Microsoft\\Exchange Server\\V15\\Bin\\Microsoft.Exchange.Diagnostics.Service.exe",
            "name": "Microsoft.Exchange.Diagnostics.Service.exe"
        },
        "working_directory": "C:\\Windows\\system32"
    },
    "user": {
        "name": "NT AUTHORITY\\SYSTEM"
    },
    "file": {
        "hash": {
            "md5": "4c7a9a333afb2b0896b4e8a948e58b79",
            "sha256": "100af46c952e58105dbc51eb92510f6990377a3ffc57e82074a8bfb64c56c529",
            "sha1": "948febd5456420916256fcc94e3ed19aafe5390b"
        }
    },
    "related": {
        "hash": [
            "100af46c952e58105dbc51eb92510f6990377a3ffc57e82074a8bfb64c56c529",
            "4c7a9a333afb2b0896b4e8a948e58b79",
            "948febd5456420916256fcc94e3ed19aafe5390b"
        ],
        "hosts": [
            "EXCHANGE"
        ],
        "user": [
            "NT AUTHORITY\\SYSTEM"
        ]
    }
}
{
    "message": "{\n  \"@version\": \"1\",\n  \"agent\": {\n    \"agentid\": \"00000000-0000-0000-0000-000000000000\",\n    \"distroid\": null,\n    \"domainname\": \"domain123\",\n    \"ostype\": \"windows\",\n    \"hostname\": \"pc123\",\n    \"osversion\": \"10.0.19041\",\n    \"osproducttype\": \"Windows 10 Pro\",\n    \"domain\": null,\n    \"version\": \"2.12.6\"\n  },\n  \"type\": \"rtlogs\",\n  \"alert_subtype\": \"process\",\n  \"log_type\": \"alert\",\n  \"detection_origin\": \"agent\",\n  \"tenant\": \"\",\n  \"alert_time\": \"2022-03-15T07:26:01.276+00:00\",\n  \"alert_type\": \"sigma\",\n  \"status\": \"false_positive\",\n  \"rule_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"@event_create_date\": \"2022-03-15T07:26:01.276Z\",\n  \"alert_unique_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"level\": \"low\",\n  \"aggregation_key\": \"123456\",\n  \"@timestamp\": \"2022-03-15T07:26:01.311Z\",\n  \"tags\": [\n    \"attack.discovery\",\n    \"attack.t1057\",\n    \"attack.s0057\"\n  ],\n  \"process\": {\n    \"detection_timestamp\": \"2022/03/15 07:24:54.438105\",\n    \"process_unique_id\": \"00000000-0000-0000-0000-000000000000\",\n    \"parent_integrity_level\": \"Medium\",\n    \"log_platform_flag\": 0,\n    \"fake_parent_image\": null,\n    \"pid\": 11320,\n    \"image_name\": \"C:\\\\Windows\\\\SysWOW64\\\\tasklist.exe\",\n    \"username\": \"XXX\\\\XXX\",\n    \"logonid\": 151210562,\n    \"signature_info\": {\n      \"signed_authenticode\": false,\n      \"signed_catalog\": true,\n      \"root_info\": {\n        \"thumbprint\": \"3b1efd3a66ea28b16697394703a72ca340a05bd5\",\n        \"display_name\": \"Microsoft Root Certificate Authority 2010\",\n        \"serial_number\": \"28cc3a25bfba44ac449a9b586b4339aa\",\n        \"issuer_name\": \"Microsoft Root Certificate Authority 2010\"\n      },\n      \"signer_info\": {\n        \"thumbprint\": \"f7c2f2c96a328c13cda8cdb57b715bdea2cbd1d9\",\n        \"display_name\": \"Microsoft Windows\",\n        \"serial_number\": \"33000002ec6579ad1e670890130000000002ec\",\n        \"issuer_name\": \"Microsoft Windows Production PCA 2011\"\n      }\n    },\n    \"current_directory\": \"C:\\\\Program Files (x86)\\\\EPOS\\\\EPOS Connect\",\n    \"error_msg\": \"\",\n    \"status_msg\": \"sigma match detected this process but not configured to block it\",\n    \"ppid\": 17808,\n    \"fake_parent_commandline\": null,\n    \"commandline\": \"tasklist\",\n    \"signed\": true,\n    \"grandparent_integrity_level\": \"Medium\",\n    \"log_type\": \"process\",\n    \"pe_imphash\": \"19BBD9C4E73C288A3645E163F4B82682\",\n    \"create_time\": \"2022-03-15T07:24:54.260Z\",\n    \"status\": 0,\n    \"parent_image\": \"C:\\\\Windows\\\\SysWOW64\\\\cmd.exe\",\n    \"integrity_level\": \"Medium\",\n    \"usersid\": \"S-1-5-21-299502267-725345543-82448378-2366\",\n    \"pe_info\": {\n      \"product_version\": \"10.0.19041.1\",\n      \"legal_copyright\": \"\u00a9 Microsoft Corporation. All rights reserved.\",\n      \"original_filename\": \"tasklist.exe\",\n      \"company_name\": \"Microsoft Corporation\",\n      \"file_description\": \"Lists the current running tasks\",\n      \"file_version\": \"10.0.19041.1 (WinBuild.160101.0800)\",\n      \"internal_name\": \"tasklist.exe\",\n      \"product_name\": \"Microsoft\u00ae Windows\u00ae Operating System\"\n    },\n    \"session\": 3,\n    \"pe_timestamp\": \"1994-09-11T16:43:21.000Z\",\n    \"parent_unique_id\": \"2332edf8-70c0-43c2-4590-00f912ab3d18\",\n    \"process_name\": \"tasklist.exe\",\n    \"grandparent_commandline\": \"C:\\\\Program Files (x86)\\\\EPOS\\\\EPOS Connect\\\\EPOSConnect.exe 1\",\n    \"pe_timestamp_int\": 779301801,\n    \"grandparent_image\": \"C:\\\\Program Files (x86)\\\\EPOS\\\\EPOS Connect\\\\EPOSConnect.exe\",\n    \"parent_commandline\": \"C:\\\\WINDOWS\\\\system32\\\\cmd.exe /d /s /c tasklist\",\n    \"fake_parent_unique_id\": null,\n    \"size\": 79360,\n    \"fake_ppid\": null,\n    \"hashes\": {\n      \"sha1\": \"7f50d8c3cf3ec79122a876e969bdb65d939becd0\",\n      \"sha256\": \"76eac7b5f53e0d58a98d5a6ddf9c97e19d1462ef65c0035d7798f89988b15ab4\",\n      \"md5\": \"0a4448b31ce7f83cb7691a2657f330f1\"\n    }\n  },\n  \"execution\": 0,\n  \"rule_name\": \"Discovery: Process list\",\n  \"maturity\": \"stable\",\n  \"msg\": \"Detects the execution of tasklist.exe, a tool used to gather detailed information about a computer's active processes.\"\n}\n",
    "event": {
        "category": [
            "process"
        ],
        "type": [
            "start"
        ],
        "kind": "alert"
    },
    "@timestamp": "2022-03-15T07:26:01.276Z",
    "agent": {
        "id": "00000000-0000-0000-0000-000000000000",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "pc123"
    },
    "host": {
        "hostname": "pc123",
        "domain": "domain123",
        "os": {
            "version": "10.0.19041",
            "full": "Windows 10 Pro"
        },
        "name": "pc123"
    },
    "harfanglab": {
        "level": "low",
        "alert_time": "2022-03-15T07:26:01.276+00:00",
        "alert_unique_id": "00000000-0000-0000-0000-000000000000",
        "alert_subtype": "process",
        "execution": 0,
        "status": "false_positive",
        "aggregation_key": "123456"
    },
    "rule": {
        "description": "Detects the execution of tasklist.exe, a tool used to gather detailed information about a computer's active processes.",
        "name": "Discovery: Process list",
        "category": "sigma",
        "id": "00000000-0000-0000-0000-000000000000"
    },
    "process": {
        "command_line": "tasklist",
        "pid": 11320,
        "name": "tasklist.exe",
        "pe": {
            "description": "Lists the current running tasks",
            "original_file_name": "tasklist.exe",
            "file_version": "10.0.19041.1 (WinBuild.160101.0800)",
            "company": "Microsoft Corporation",
            "product": "Microsoft\u00ae Windows\u00ae Operating System",
            "imphash": "19BBD9C4E73C288A3645E163F4B82682"
        },
        "executable": "C:\\Windows\\SysWOW64\\tasklist.exe",
        "parent": {
            "executable": "C:\\Windows\\SysWOW64\\cmd.exe",
            "command_line": "C:\\WINDOWS\\system32\\cmd.exe /d /s /c tasklist"
        },
        "working_directory": "C:\\Program Files (x86)\\EPOS\\EPOS Connect"
    },
    "user": {
        "name": "XXX\\XXX"
    },
    "file": {
        "hash": {
            "md5": "0a4448b31ce7f83cb7691a2657f330f1",
            "sha256": "76eac7b5f53e0d58a98d5a6ddf9c97e19d1462ef65c0035d7798f89988b15ab4",
            "sha1": "7f50d8c3cf3ec79122a876e969bdb65d939becd0"
        }
    },
    "related": {
        "hash": [
            "0a4448b31ce7f83cb7691a2657f330f1",
            "76eac7b5f53e0d58a98d5a6ddf9c97e19d1462ef65c0035d7798f89988b15ab4",
            "7f50d8c3cf3ec79122a876e969bdb65d939becd0"
        ],
        "hosts": [
            "pc123"
        ],
        "user": [
            "XXX\\XXX"
        ]
    }
}
{
    "message": "{\"signature_info\":{\"root_info\":{\"display_name\":\"Microsoft Root Certificate Authority 2010\",\"thumbprint\":\"3b1efd3a66ea28b16697394703a72ca340a05bd5\",\"serial_number\":\"28cc3a25bfba44ac449a9b586b4339aa\",\"issuer_name\":\"Microsoft Root Certificate Authority 2010\"},\"signed_catalog\":true,\"signer_info\":{\"display_name\":\"Microsoft Windows\",\"thumbprint\":\"ae9c1ae54763822eec42474983d8b635116c8452\",\"serial_number\":\"33000001c422b2f79b793dacb20000000001c4\",\"issuer_name\":\"Microsoft Windows Production PCA 2011\"},\"signed_authenticode\":false},\"commandline\":\"C:\\\\Windows\\\\system32\\\\wbem\\\\wmiprvse.exe -secured -Embedding\",\"fake_parent_commandline\":null,\"session\":0,\"pid\":4028,\"process_name\":\"WmiPrvSE.exe\",\"pe_info\":{\"product_version\":\"10.0.17763.1\",\"file_description\":\"WMI Provider Host\",\"original_filename\":\"Wmiprvse.exe\",\"internal_name\":\"Wmiprvse.exe\",\"file_version\":\"10.0.17763.1 (WinBuild.160101.0800)\",\"company_name\":\"Microsoft Corporation\",\"legal_copyright\":\"\u00a9 Microsoft Corporation. All rights reserved.\",\"product_name\":\"Microsoft\u00ae Windows\u00ae Operating System\"},\"fake_parent_image\":null,\"@timestamp\":\"2021-05-02T19:52:34.492Z\",\"username\":\"NT AUTHORITY\\\\NETWORK SERVICE\",\"pe_timestamp_int\":3717952540,\"@version\":\"1\",\"image_name\":\"C:\\\\Windows\\\\System32\\\\wbem\\\\WmiPrvSE.exe\",\"parent_integrity_level\":\"System\",\"fake_parent_unique_id\":null,\"status_msg\":\"\",\"log_type\":\"process\",\"logonid\":996,\"process_unique_id\":\"9aad140d-929d-4ddf-0fbc-006fa79b94af\",\"usersid\":\"S-1-5-20\",\"error_msg\":\"\",\"parent_image\":\"C:\\\\Windows\\\\System32\\\\svchost.exe\",\"fake_ppid\":null,\"integrity_level\":\"System\",\"agent\":{\"osversion\":\"10.0.17763\",\"domainname\":\"WORKGROUP\",\"agentid\":\"d4e3bf36-929d-4ddf-8526-492e89955808\",\"osproducttype\":\"Windows Server 2019 Datacenter\",\"hostname\":\"REDACTED\",\"domain\":null},\"current_directory\":\"C:\\\\Windows\\\\system32\",\"pe_timestamp\":\"2087-10-25T20:35:40.000Z\",\"parent_unique_id\":\"9aad140d-929d-4ddf-0358-002a32b395aa\",\"pe_imphash\":\"CFECEDC01015A4FD1BAACAC9E592D88B\",\"hashes\":{\"md5\":\"06c66ff5ccdc2d22344a3eb761a4d38a\",\"sha256\":\"b5c78bef3883e3099f7ef844da1446db29107e5c0223b97f29e7fafab5527f15\",\"sha1\":\"67c25c8f28b5fa7f5baa85bf1d2726aed48e9cf0\"},\"size\":489472,\"parent_commandline\":\"C:\\\\Windows\\\\system32\\\\svchost.exe -k DcomLaunch -p\",\"@event_create_date\":\"2021-05-02T19:52:24.083Z\",\"signed\":true,\"ppid\":856,\"status\":0}",
    "event": {
        "category": [
            "process"
        ],
        "type": [
            "start"
        ],
        "kind": "event"
    },
    "@timestamp": "2021-05-02T19:52:24.083Z",
    "agent": {
        "id": "d4e3bf36-929d-4ddf-8526-492e89955808",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "REDACTED"
    },
    "host": {
        "hostname": "REDACTED",
        "domain": "WORKGROUP",
        "os": {
            "version": "10.0.17763",
            "full": "Windows Server 2019 Datacenter"
        },
        "name": "REDACTED"
    },
    "process": {
        "command_line": "C:\\Windows\\system32\\wbem\\wmiprvse.exe -secured -Embedding",
        "pid": 4028,
        "name": "WmiPrvSE.exe",
        "pe": {
            "description": "WMI Provider Host",
            "original_file_name": "Wmiprvse.exe",
            "file_version": "10.0.17763.1 (WinBuild.160101.0800)",
            "company": "Microsoft Corporation",
            "product": "Microsoft\u00ae Windows\u00ae Operating System",
            "imphash": "CFECEDC01015A4FD1BAACAC9E592D88B"
        },
        "executable": "C:\\Windows\\System32\\wbem\\WmiPrvSE.exe",
        "parent": {
            "executable": "C:\\Windows\\System32\\svchost.exe",
            "command_line": "C:\\Windows\\system32\\svchost.exe -k DcomLaunch -p",
            "name": "svchost.exe"
        },
        "working_directory": "C:\\Windows\\system32"
    },
    "user": {
        "name": "NT AUTHORITY\\NETWORK SERVICE"
    },
    "file": {
        "hash": {
            "md5": "06c66ff5ccdc2d22344a3eb761a4d38a",
            "sha256": "b5c78bef3883e3099f7ef844da1446db29107e5c0223b97f29e7fafab5527f15",
            "sha1": "67c25c8f28b5fa7f5baa85bf1d2726aed48e9cf0"
        }
    },
    "related": {
        "hash": [
            "06c66ff5ccdc2d22344a3eb761a4d38a",
            "67c25c8f28b5fa7f5baa85bf1d2726aed48e9cf0",
            "b5c78bef3883e3099f7ef844da1446db29107e5c0223b97f29e7fafab5527f15"
        ],
        "hosts": [
            "REDACTED"
        ],
        "user": [
            "NT AUTHORITY\\NETWORK SERVICE"
        ]
    }
}
{
    "message": "{\"tenant\":\"\",\"type\":\"wineventlog\",\"@event_create_date\":\"2021-11-21T13:11:49.837Z\",\"log_name\":\"Microsoft-Windows-PowerShell/Operational\",\"event_data\":{\"param1\":\"7092\",\"param2\":\"DefaultAppDomain\"},\"agent\":{\"osversion\":\"10.0.19041\",\"hostname\":\"DESKTOP-9U3171J\",\"ostype\":\"windows\",\"agentid\":\"f43cb847-8227-4104-b77f-7fc849789f8e\",\"osproducttype\":\"Windows 10 Pro\",\"domainname\":\"WORKGROUP\",\"distroid\":null,\"domain\":null},\"keywords\":[],\"log_type\":\"eventlog\",\"@version\":\"1\",\"source_name\":\"Microsoft-Windows-PowerShell\",\"@timestamp\":\"2021-11-21T13:12:10.929Z\",\"process_id\":7092,\"task\":null,\"level\":\"Information\",\"provider_guid\":\"{A1A1853B-5C40-4B15-8766-3CF1C58F985A}\",\"user\":{\"name\":\"oliver\",\"type\":\"User\",\"domain\":\"DESKTOP-9U3171J\",\"identifier\":\"S-1-5-21-975228105-2966123187-4141390122-1001\"},\"record_number\":104780,\"computer_name\":\"DESKTOP-9U3171J\",\"thread_id\":6744,\"event_id\":53504,\"opcode\":null,\"user_data\":{}}",
    "event": {
        "kind": "event",
        "type": [
            "info"
        ],
        "provider": "Microsoft-Windows-PowerShell",
        "code": "53504"
    },
    "@timestamp": "2021-11-21T13:11:49.837Z",
    "agent": {
        "id": "f43cb847-8227-4104-b77f-7fc849789f8e",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "DESKTOP-9U3171J"
    },
    "host": {
        "hostname": "DESKTOP-9U3171J",
        "domain": "WORKGROUP",
        "os": {
            "version": "10.0.19041",
            "full": "Windows 10 Pro"
        },
        "name": "DESKTOP-9U3171J"
    },
    "action": {
        "properties": {
            "param1": "7092",
            "param2": "DefaultAppDomain"
        },
        "id": 53504
    },
    "related": {
        "hosts": [
            "DESKTOP-9U3171J"
        ]
    }
}
{
    "message": "{\"log_name\":\"Security\",\"type\":\"wineventlog\",\"source_name\":\"Microsoft-Windows-Security-Auditing\",\"event_id\":4625,\"provider_guid\":\"{54849625-5478-4994-A5BA-3E3B0328C30D}\",\"level\":\"Information\",\"opcode\":null,\"agent\":{\"osversion\":\"10.0.17763\",\"domainname\":\"WORKGROUP\",\"agentid\":\"77af54c8-910f-455d-b887-87cbc87430a4\",\"osproducttype\":\"Windows Server 2019 Datacenter\",\"hostname\":\"REDACTED\",\"domain\":null},\"user\":null,\"event_date\":\"2021-05-08T12:18:58.996Z\",\"process_id\":760,\"@timestamp\":\"2021-05-08T12:19:10.711Z\",\"user_data\":{},\"@version\":\"1\",\"event_data\":{\"IpPort\":\"0\",\"AuthenticationPackageName\":\"NTLM\",\"TransmittedServices\":\"-\",\"TargetUserSid\":\"S-1-0-0\",\"SubjectUserName\":\"-\",\"SubStatus\":\"0xc000006a\",\"IpAddress\":\"166.88.151.58\",\"SubjectLogonId\":\"0x0\",\"FailureReason\":\"%%2313\",\"WorkstationName\":\"-\",\"SubjectUserSid\":\"S-1-0-0\",\"LogonProcessName\":\"NtLmSsp \",\"TargetUserName\":\"ADMINISTRATOR\",\"ProcessName\":\"-\",\"TargetDomainName\":null,\"Status\":\"0xc000006d\",\"LmPackageName\":\"-\",\"KeyLength\":\"0\",\"SubjectDomainName\":\"-\",\"LogonType\":\"3\",\"ProcessId\":\"0x0\"},\"keywords\":[\"Audit Failure\"],\"task\":null,\"record_number\":5089212,\"thread_id\":1768,\"log_type\":\"eventlog\",\"computer_name\":\"REDACTED\"}",
    "event": {
        "kind": "event",
        "type": [
            "info"
        ],
        "provider": "Microsoft-Windows-Security-Auditing",
        "code": "4625"
    },
    "agent": {
        "id": "77af54c8-910f-455d-b887-87cbc87430a4",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "REDACTED"
    },
    "host": {
        "hostname": "REDACTED",
        "domain": "WORKGROUP",
        "os": {
            "version": "10.0.17763",
            "full": "Windows Server 2019 Datacenter"
        },
        "name": "REDACTED"
    },
    "action": {
        "properties": {
            "IpPort": "0",
            "AuthenticationPackageName": "NTLM",
            "TransmittedServices": "-",
            "TargetUserSid": "S-1-0-0",
            "SubjectUserName": "-",
            "SubStatus": "0xc000006a",
            "IpAddress": "166.88.151.58",
            "SubjectLogonId": "0x0",
            "FailureReason": "%%2313",
            "WorkstationName": "-",
            "SubjectUserSid": "S-1-0-0",
            "LogonProcessName": "NtLmSsp ",
            "TargetUserName": "ADMINISTRATOR",
            "ProcessName": "-",
            "Status": "0xc000006d",
            "LmPackageName": "-",
            "KeyLength": "0",
            "SubjectDomainName": "-",
            "LogonType": "3",
            "ProcessId": "0x0"
        },
        "id": 4625
    },
    "related": {
        "hosts": [
            "REDACTED"
        ]
    }
}
{
    "message": "{\"computer_name\":\"REDACTED\",\"process_id\":3464,\"provider_guid\":\"{11CD958A-C507-4EF3-B3F2-5FD9DFBD2C78}\",\"type\":\"wineventlog\",\"log_name\":\"Microsoft-Windows-Windows Defender/Operational\",\"task\":null,\"user\":{\"identifier\":\"S-1-5-18\",\"domain\":\"AUTORITE NT\",\"type\":\"User\",\"name\":\"Syst\u00e8me\"},\"log_type\":\"eventlog\",\"@version\":\"1\",\"tenant\":\"\",\"keywords\":[],\"@event_create_date\":\"2022-01-03T05:44:57.331Z\",\"thread_id\":23768,\"record_number\":2300,\"event_id\":1116,\"event_data\":{\"Unused4\":null,\"Threat Name\":\"Exploit:O97M/CVE-2017-11882.SMK\",\"Post Clean Status\":\"0\",\"Product Version\":\"4.18.2111.5\",\"Detection Time\":\"2022-01-03T05:44:57.284Z\",\"Detection User\":\"AUTORITE NT\\\\Syst\u00e8me\",\"Status Code\":\"1\",\"Origin ID\":\"1\",\"Category ID\":\"30\",\"FWLink\":\"https://go.microsoft.com/fwlink/?linkid=37020&name=Exploit:O97M/CVE-2017-11882.SMK!MTB&threatid=2147772194&enterprise=0\",\"Path\":\"file:_C:\\\\Program Files\\\\Avast\\\\Amex\\\\temp\\\\TMMSG_45AD4A29-D7BD-AE8F-FFBC-4115652291C2\",\"Process Name\":\"C:\\\\Program Files\\\\Avast\\\\Amex\\\\AMEX_secondary.exe\",\"Origin Name\":\"Ordinateur local\",\"Execution ID\":\"1\",\"Remediation User\":null,\"Status Description\":null,\"Category Name\":\"Attaque\",\"Type Name\":\"Concret\",\"State\":\"1\",\"Pre Execution Status\":\"0\",\"Type ID\":\"0\",\"Action Name\":\"Non applicable\",\"Unused6\":null,\"Additional Actions String\":\"No additional actions required\",\"Threat ID\":\"2147772194\",\"Execution Name\":\"Suspendu\",\"Severity ID\":\"5\",\"Error Description\":\"L\u2019op\u00e9ration a r\u00e9ussi. \",\"Engine Version\":\"AM: 1.1.18800.4, NIS: 1.1.18800.4\",\"Unused3\":null,\"Detection ID\":\"{2E51DC7F-A01D-4E9E-94C8-782C63D85C6E}\",\"Security intelligence Version\":\"AV: 1.355.1292.0, AS: 1.355.1292.0, NIS: 1.355.1292.0\",\"Product Name\":\"Antivirus Microsoft Defender\",\"Unused\":null,\"Action ID\":\"9\",\"Source ID\":\"3\",\"Additional Actions ID\":\"0\",\"Source Name\":\"Protection en temps r\u00e9el\",\"Unused5\":null,\"Severity Name\":\"Grave\",\"Error Code\":\"0x00000000\",\"Unused2\":null},\"level\":\"Warning\",\"source_name\":\"Microsoft-Windows-Windows Defender\",\"opcode\":null,\"@timestamp\":\"2022-01-03T05:45:12.816Z\",\"user_data\":{},\"agent\":{\"agentid\":\"06d70013-58c7-46e3-9231-452a383af90b\",\"domain\":null,\"osproducttype\":\"Windows Server 2019 Datacenter\",\"ostype\":\"windows\",\"osversion\":\"10.0.17763\",\"version\":\"2.12.2\",\"domainname\":\"REDACTED\",\"distroid\":null,\"hostname\":\"REDACTED\"}}",
    "event": {
        "kind": "event",
        "type": [
            "info"
        ],
        "provider": "Microsoft-Windows-Windows Defender",
        "code": "1116"
    },
    "@timestamp": "2022-01-03T05:44:57.331Z",
    "agent": {
        "id": "06d70013-58c7-46e3-9231-452a383af90b",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "REDACTED"
    },
    "host": {
        "hostname": "REDACTED",
        "domain": "REDACTED",
        "os": {
            "version": "10.0.17763",
            "full": "Windows Server 2019 Datacenter"
        },
        "name": "REDACTED"
    },
    "action": {
        "properties": {
            "ThreatName": "Exploit:O97M/CVE-2017-11882.SMK",
            "PostCleanStatus": "0",
            "ProductVersion": "4.18.2111.5",
            "DetectionTime": "2022-01-03T05:44:57.284Z",
            "DetectionUser": "AUTORITE NT\\Syst\u00e8me",
            "StatusCode": "1",
            "OriginID": "1",
            "CategoryID": "30",
            "FWLink": "https://go.microsoft.com/fwlink/?linkid=37020&name=Exploit:O97M/CVE-2017-11882.SMK!MTB&threatid=2147772194&enterprise=0",
            "Path": "file:_C:\\Program Files\\Avast\\Amex\\temp\\TMMSG_45AD4A29-D7BD-AE8F-FFBC-4115652291C2",
            "ProcessName": "C:\\Program Files\\Avast\\Amex\\AMEX_secondary.exe",
            "OriginName": "Ordinateur local",
            "ExecutionID": "1",
            "CategoryName": "Attaque",
            "TypeName": "Concret",
            "State": "1",
            "PreExecutionStatus": "0",
            "TypeID": "0",
            "ActionName": "Non applicable",
            "AdditionalActionsString": "No additional actions required",
            "ThreatID": "2147772194",
            "ExecutionName": "Suspendu",
            "SeverityID": "5",
            "ErrorDescription": "L\u2019op\u00e9ration a r\u00e9ussi. ",
            "EngineVersion": "AM: 1.1.18800.4, NIS: 1.1.18800.4",
            "DetectionID": "{2E51DC7F-A01D-4E9E-94C8-782C63D85C6E}",
            "SecurityintelligenceVersion": "AV: 1.355.1292.0, AS: 1.355.1292.0, NIS: 1.355.1292.0",
            "ProductName": "Antivirus Microsoft Defender",
            "ActionID": "9",
            "SourceID": "3",
            "AdditionalActionsID": "0",
            "SourceName": "Protection en temps r\u00e9el",
            "SeverityName": "Grave",
            "ErrorCode": "0x00000000"
        },
        "id": 1116
    },
    "related": {
        "hosts": [
            "REDACTED"
        ]
    }
}
{
    "message": "{\"provider_guid\":\"{54849625-5478-4994-A5BA-3E3B0328C30D}\",\"task\":null,\"opcode\":null,\"agent\":{\"distroid\":null,\"hostname\":\"REDACTED\",\"ostype\":\"windows\",\"domain\":null,\"osproducttype\":\"Windows Server 2012 Standard\",\"agentid\":\"aa7cf2c6-5c46-45c4-b918-ba5cd7082e53\",\"osversion\":\"6.2.9200\",\"domainname\":\"REDACTED\",\"version\":\"2.19.5\"},\"@event_create_date\":\"2022-11-14T08:41:03.066Z\",\"level\":\"Information\",\"destination\":\"syslog\",\"record_number\":1475418032,\"keywords\":[\"Audit Success\"],\"event_id\":5145,\"computer_name\":\"REDACTED.LOCAL\",\"tenant\":\"\",\"type\":\"wineventlog\",\"log_name\":\"Security\",\"process_id\":720,\"@version\":\"1\",\"thread_id\":728,\"event_data\":{\"SubjectDomainName\":\"AUTORITE NT\",\"IpAddress\":\"10.84.128.186\",\"ShareLocalPath\":null,\"SubjectUserSid\":\"S-1-5-7\",\"AccessList\":\"%%1538\\n\\t\\t\\t\\t%%1541\\n\\t\\t\\t\\t%%4416\\n\\t\\t\\t\\t%%4417\\n\\t\\t\\t\\t%%4418\\n\\t\\t\\t\\t%%4419\\n\\t\\t\\t\\t%%4420\\n\\t\\t\\t\\t%%4423\\n\\t\\t\\t\\t%%4424\\n\\t\\t\\t\\t\",\"ShareName\":\"\\\\\\\\*\\\\IPC$\",\"AccessReason\":\"-\",\"SubjectUserName\":\"ANONYMOUS LOGON\",\"ObjectType\":\"File\",\"IpPort\":\"50846\",\"SubjectLogonId\":\"0x3ad88f7f3\",\"AccessMask\":\"0x12019f\",\"RelativeTargetName\":\"NETLOGON\"},\"log_type\":\"eventlog\",\"@timestamp\":\"2022-11-14T08:41:05.337Z\",\"user_data\":{},\"user\":null,\"source_name\":\"Microsoft-Windows-Security-Auditing\"}",
    "event": {
        "kind": "event",
        "type": [
            "info"
        ],
        "provider": "Microsoft-Windows-Security-Auditing",
        "code": "5145"
    },
    "@timestamp": "2022-11-14T08:41:03.066Z",
    "agent": {
        "id": "aa7cf2c6-5c46-45c4-b918-ba5cd7082e53",
        "name": "harfanglab"
    },
    "log": {
        "hostname": "REDACTED"
    },
    "host": {
        "hostname": "REDACTED",
        "domain": "REDACTED",
        "os": {
            "version": "6.2.9200",
            "full": "Windows Server 2012 Standard"
        },
        "name": "REDACTED"
    },
    "action": {
        "properties": {
            "SubjectDomainName": "AUTORITE NT",
            "IpAddress": "10.84.128.186",
            "SubjectUserSid": "S-1-5-7",
            "AccessList": "%%1538\t\t\t\t%%1541\t\t\t\t%%4416\t\t\t\t%%4417\t\t\t\t%%4418\t\t\t\t%%4419\t\t\t\t%%4420\t\t\t\t%%4423\t\t\t\t%%4424\t\t\t\t",
            "ShareName": "\\\\*\\IPC$",
            "AccessReason": "-",
            "SubjectUserName": "ANONYMOUS LOGON",
            "ObjectType": "File",
            "IpPort": "50846",
            "SubjectLogonId": "0x3ad88f7f3",
            "AccessMask": "0x12019f",
            "RelativeTargetName": "NETLOGON"
        },
        "id": 5145
    },
    "related": {
        "hosts": [
            "REDACTED"
        ]
    }
}

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.
action.properties object A list of objects
agent.id keyword Unique identifier of this agent.
agent.name keyword Custom name of the agent.
destination.ip ip IP address of the destination.
destination.port long Port of the destination.
event.category keyword Event category. The second categorization field in the hierarchy.
event.code keyword Identification code for this event.
event.kind keyword The kind of the event. The highest categorization field in the hierarchy.
event.provider keyword Source of the event.
event.type keyword Event type. The third categorization field in the hierarchy.
file.hash.md5 keyword MD5 hash.
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.pe.company keyword Internal company name of the file, provided at compile-time.
file.pe.description keyword Internal description of the file, provided at compile-time.
file.pe.file_version keyword Process name.
file.pe.imphash keyword A hash of the imports in a PE file.
file.pe.original_file_name keyword Internal name of the file, provided at compile-time.
file.pe.product keyword Internal product name of the file, provided at compile-time.
harfanglab.aggregation_key keyword The key to the events aggregation
harfanglab.alert_subtype keyword The subtype of the alert
harfanglab.alert_time keyword The timestamp of the alert
harfanglab.alert_unique_id keyword The identifier of the alert
harfanglab.execution long Execution time
harfanglab.level keyword The risk level associated to the alert
harfanglab.process.powershell.command keyword The powershell command executed
harfanglab.status keyword The status of the alert
host.domain keyword Name of the directory the group is a member of.
host.hostname keyword Hostname of the host.
host.os.full keyword Operating system name, including the version or code name.
host.os.version keyword Operating system version as a raw string.
process.command_line wildcard Full command line that started the process.
process.executable keyword Absolute path to the process executable.
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.pe.company keyword Internal company name of the file, provided at compile-time.
process.pe.description keyword Internal description of the file, provided at compile-time.
process.pe.file_version keyword Process name.
process.pe.imphash keyword A hash of the imports in a PE file.
process.pe.original_file_name keyword Internal name of the file, provided at compile-time.
process.pe.product keyword Internal product name of the file, provided at compile-time.
process.pid long Process id.
process.working_directory keyword The working directory of the process.
registry.hive keyword Abbreviated name for the hive.
registry.key keyword Hive-relative path of keys.
registry.path keyword Full path, including hive, key and value
registry.value keyword Name of the value written.
rule.category keyword Rule category
rule.description keyword Rule description
rule.id keyword Rule ID
rule.name keyword Rule name
source.ip ip IP address of the source.
source.port long Port of the source.
user.name keyword Short name or login of the user.

Configure

Pre-requisite

HarfangLab must setup OpenSSL to the server for protocol TCP/SSL to be available.

Steps

In SEKOIA.IO

Create a new HarfangLab intake on SEKOIA.IO and select the manual mode. Create HarfangLab Intake Key

In HarfangLab

  1. Go to Personal Settings > API Key and get your token or generate a new one.

  2. Navigate to Administration > Configuration, and switch to the Connectors tab.

  3. In the Syslog connector panel, select the logs you want to export:

    • Process
    • Network
    • Event log
    • Remote thread
    • InjectedThread
    • Security Event
  4. Configure the Syslog information with the following details and by replacing YOUR_INTAKE_KEY with the Intake key previously generated in SEKOIA.IO:

    • Host: intake.sekoia.io
    • Port: 10514
    • App name: name of your choice - NO SPACES
    • Source host: name of your choice NO SPACES
    • Structured data: [SEKOIA@53288 intake_key="YOUR_INTAKE_KEY"]
    • Protocol: TCP/SSL
    • RFC : RFC5424

    Warning

    Don't insert spaces in App name or Source host. These fields are part of the Syslog header and spaces will break the format.

  5. Finally select the Protocol option: TCP/SSL, leave the other options to default.

HarfangLab EDR