Skip to content

WithSecure Elements

Overview

WithSecure Elements is an advanced cloud-based EDR/EPP platform that provides a unified solution to protect your organization from cyber threats. By integrating WithSecure Elements with Sekoia.io, you can easily monitor and correlate alerts across all endpoints, ensuring maximum security for your business.

This setup guide shows how to forward events produced by WithSecures Elements to Sekoia.io.

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

SEKOIA.IO x WithSecure Elements on ATT&CK Navigator

AccCheckConsole Executing Dll

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

  • Effort: advanced
Account Added To A Security Enabled Group

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

  • Effort: master
Account Removed From A Security Enabled Group

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

  • Effort: master
AdFind Usage

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

  • Effort: elementary
Add User to Privileged Group

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

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

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

  • Effort: intermediate
Adexplorer Usage

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

  • Effort: advanced
Advanced IP Scanner

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

  • Effort: master
Aspnet Compiler

Detects the starts of aspnet compiler.

  • Effort: advanced
Audio Capture via PowerShell

Detects audio capture via PowerShell Cmdlet

  • Effort: intermediate
AutoIt3 Execution From Suspicious Folder

Detects AutoIt3 execution from an unusual/suspicious folder. Legitimate folders are "Program Files" and "AppData\Local". AutoIt3.exe is a legitimate process used to execute AutoIt program files, which are used by legitimate software, custom scripts, but also malware. Finding AutoIt3 execution from unusual/suspicious folder can help detect malware activities, such as DarkGate execution. The detection rule can be tailored to your environment and your use of AutoIt3 by filtering out folder's execution of legitimate applications or scripts.

  • Effort: advanced
AzureEdge in Command Line

Detects use of azureedge in the command line.

  • Effort: advanced
BITSAdmin Download

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

  • Effort: advanced
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
BazarLoader Persistence Using Schtasks

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

  • Effort: intermediate
Bloodhound and Sharphound Tools Usage

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

  • Effort: intermediate
Blue Mockingbird Malware

Attempts to detect system changes made by Blue Mockingbird

  • Effort: elementary
CMSTP Execution

Detects various indicators of Microsoft Connection Manager Profile Installer execution

  • Effort: intermediate
CVE 2022-1292

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

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

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

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

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

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

Detects capture a network trace via netsh.exe trace functionality

  • Effort: intermediate
CertOC Loading Dll

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

  • Effort: intermediate
Certificate Authority Modification

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

  • Effort: master
Change Default File Association

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

  • Effort: advanced
Clear EventLogs Through CommandLine

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

  • Effort: intermediate
Cmdkey Cached Credentials Recon

Detects usage of cmdkey to look for cached credentials.

  • Effort: intermediate
Cobalt Strike Default Beacons Names

Detects the default names of Cobalt Strike beacons / payloads.

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

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

  • Effort: intermediate
Compress Data for Exfiltration via Archiver

Detects data compressed by specific tools.

  • Effort: advanced
Computer Account Deleted

Detects computer account deletion.

  • Effort: master
Container Credential Access

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

  • Effort: intermediate
Control Panel Items

Detects the malicious use of a control panel item

  • Effort: advanced
Copying Browser Files With Credentials

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

  • Effort: elementary
Copying Sensitive Files With Credential Data

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

  • Effort: elementary
Cron Files Alteration

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

  • 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 Exfiltration and Tunneling Tools Execution

Well-known DNS exfiltration tools execution

  • 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
Data Compressed With Rar

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

  • Effort: master
Data Compressed With Rar With Password

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

  • Effort: intermediate
Debugging Software Deactivation

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

  • Effort: elementary
Default Encoding To UTF-8 PowerShell

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

  • Effort: advanced
Disable Task Manager Through Registry Key

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

  • Effort: elementary
Disabled IE Security Features

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

  • Effort: advanced
Dism Disabling Windows Defender

Detects windows defender disabled by dism.

  • Effort: advanced
Docker Escape Bind Mount

Catch Docker escape via mount escape followed by chroot

  • Effort: intermediate
Domain Group And Permission Enumeration

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

  • Effort: advanced
Domain Trust Created Or Removed

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

  • Effort: advanced
Domain Trust Discovery Through LDAP

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

  • Effort: elementary
Download Files From Non-Legitimate TLDs

Detects file downloads from non-legitimate TLDs. Additional legitimates TLDs should be filtered according to the business habits.

  • Effort: master
Dynamic Linker Hijacking From Environment Variable

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

  • Effort: advanced
ETW Tampering

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

  • Effort: intermediate
Elise Backdoor

Detects Elise backdoor activity as used by Lotus Blossom

  • Effort: elementary
Empire Monkey Activity

Detects EmpireMonkey APT reported Activity

  • Effort: elementary
Equation Group DLL_U Load

Detects a specific tool and export used by EquationGroup

  • Effort: elementary
Erase Shell History

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

  • Effort: advanced
Exchange Mailbox Export

Detection of a standard Exchange Mailbox export, which stores all mails from a user in a pst file.

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

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

  • Effort: intermediate
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
Exfiltration And Tunneling Tools Execution

Execution of well known tools for data exfiltration and tunneling

  • Effort: advanced
Exfiltration Domain In Command Line

Detects commands containing a domain linked to http exfiltration.

  • Effort: intermediate
Exfiltration Via Pscp

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

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

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

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

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

  • Effort: intermediate
Explorer Process Executing HTA File

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

  • Effort: intermediate
Fail2ban Unban IP

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

  • Effort: advanced
Failed Logon Source From Public IP Addresses

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

  • Effort: master
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
Generic-reverse-shell-oneliner

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

  • Effort: intermediate
Grabbing Sensitive Hives Via Reg Utility

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

  • Effort: intermediate
HackTools Suspicious Process Names In Command Line

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

  • Effort: intermediate
Hiding Files With Attrib.exe

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

  • Effort: advanced
High Privileges Network Share Removal

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

  • Effort: intermediate
Hijack Legit RDP Session To Move Laterally

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

  • Effort: intermediate
ICacls Granting Access To All

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

  • Effort: elementary
IIS Module Installation Using AppCmd

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

  • Effort: intermediate
Inhibit System Recovery Deleting Backups

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

  • Effort: intermediate
KeePass Config XML In Command-Line

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

  • Effort: intermediate
Kernel Module Alteration

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

  • Effort: advanced
Lazarus Loaders

Detects different loaders used by the Lazarus Group APT

  • Effort: elementary
Linux Bash Reverse Shell

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

  • Effort: intermediate
Linux Remove Immutable Attribute

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

  • Effort: intermediate
Linux Shared Lib Injection Via Ldso Preload

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

  • Effort: intermediate
Linux Suspicious Search

Adversaries may search for private key on compromised systems

  • Effort: intermediate
List Shadow Copies

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

  • Effort: master
Listing Systemd Environment

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

  • Effort: advanced
MSBuild Abuse

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

  • Effort: intermediate
Malicious Browser Extensions

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

  • Effort: advanced
MalwareBytes Uninstallation

Detects command line being used by attackers to uninstall Malwarebytes.

  • Effort: intermediate
MavInject Process Injection

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

  • Effort: intermediate
Meterpreter or Cobalt Strike Getsystem Service Installation

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

  • Effort: elementary
Microsoft Defender Antivirus Disable Scheduled Tasks

The rule detects attempts to deactivate/disable Windows Defender scheduled tasks via command line

  • Effort: intermediate
Microsoft Defender Antivirus Disable Using Registry

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

  • Effort: master
Microsoft Defender Antivirus Disabled Base64 Encoded

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

  • Effort: intermediate
Microsoft Defender Antivirus History Deleted

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

  • Effort: master
Microsoft Defender Antivirus History Directory Deleted

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

  • Effort: elementary
Microsoft Defender Antivirus Restoration Abuse

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

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

Detects changes of preferences for Windows Defender scan and updates. Configure Windows Defender using base64-encoded commands is suspicious and could be related to malicious activities.

  • Effort: intermediate
Microsoft Defender Antivirus Signatures Removed With MpCmdRun

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

  • Effort: elementary
Microsoft Defender Antivirus Tampering Detected

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

  • Effort: advanced
Microsoft Defender Antivirus Threat Detected

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

  • Effort: advanced
Microsoft Office Creating Suspicious File

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

  • Effort: master
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: intermediate
Netsh Port Opening

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

  • Effort: master
Netsh Program Allowed With Suspicious Location

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

  • Effort: advanced
Netsh RDP Port Forwarding

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

  • Effort: elementary
Netsh RDP Port Opening

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

  • Effort: intermediate
Network Scanning and Discovery

Tools and command lines used for network discovery from current system

  • Effort: advanced
Network Sniffing

List of common tools used for network packages sniffing

  • Effort: advanced
Network Sniffing Windows

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

  • Effort: intermediate
New DLL Added To AppCertDlls Registry Key

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

  • Effort: intermediate
New Service Creation

Detects creation of a new service from command line

  • Effort: advanced
Ngrok Process Execution

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

  • Effort: intermediate
NlTest Usage

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

  • Effort: advanced
Non-Legitimate Executable Using AcceptEula Parameter

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

  • Effort: advanced
OneNote Embedded File

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

  • Effort: intermediate
Opening Of a Password File

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

  • Effort: master
Outlook Registry Access

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

  • Effort: master
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
PasswordDump SecurityXploded Tool

Detects the execution of the PasswordDump SecurityXploded Tool

  • Effort: elementary
Permission Discovery Via Wmic

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

  • Effort: advanced
Phorpiex DriveMgr Command

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

  • Effort: elementary
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
Possible Replay Attack

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

  • Effort: intermediate
Potential RDP Connection To Non-Domain Host

Detects logons using NTLM to hosts that are potentially not part of the domain using RDP (TermSrv). Event ID 8001 corresponds to outgoing NTLM authentication traffic and TermSrv stands for RDP Terminal Services Server. Check if the contacted host is legitimate. To use this detection rule, enable logging of outbound NTLM authentications on all domain controllers, using the following Group Policy (GPO) - Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies > Security Options > Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers -> Define this policy setting: Audit all.

  • Effort: master
PowerCat Function Loading

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

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

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

  • Effort: elementary
PowerShell Downgrade Attack

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

  • Effort: elementary
PowerShell Download From URL

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

  • Effort: advanced
PowerShell EncodedCommand

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

  • Effort: advanced
PowerShell Execution Via Rundll32

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

  • Effort: intermediate
PowerShell Malicious Nishang PowerShell Commandlets

Detects Commandlet names and arguments from the Nishang exploitation framework

  • Effort: advanced
Powershell UploadString Function

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

  • Effort: intermediate
Powershell Web Request

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

  • Effort: advanced
Process Memory Dump Using Comsvcs

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

  • Effort: elementary
Process Memory Dump Using Rdrleakdiag

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

  • Effort: elementary
Process Trace Alteration

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

  • Effort: advanced
PsExec Process

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

  • Effort: advanced
Python HTTP Server

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

  • Effort: intermediate
Python Offensive Tools and Packages

Track installation and usage of offensive python packages and project that are used for lateral movement

  • Effort: master
Qakbot Persistence Using Schtasks

Detects possible Qakbot persistence using schtasks.

  • Effort: intermediate
RDP Session Discovery

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

  • Effort: advanced
RTLO Character

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

  • Effort: elementary
Raccine Uninstall

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

  • Effort: elementary
Rclone Process

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

  • Effort: advanced
RedMimicry Winnti Playbook Registry Manipulation

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

  • Effort: elementary
Remote Monitoring and Management Software - AnyDesk

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

  • Effort: master
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
Schtasks Persistence With High Privileges

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

  • Effort: elementary
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
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
Suncrypt Parameters

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

  • Effort: elementary
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 CodePage Switch with CHCP

Detects a code page switch in command line

  • 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 Double Extension

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

  • Effort: advanced
Suspicious 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 Headless Web Browser Execution To Download File

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

  • Effort: elementary
Suspicious Microsoft Defender Antivirus Exclusion Command

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

  • Effort: master
Suspicious Mshta Execution

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

  • Effort: intermediate
Suspicious Netsh DLL Persistence

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

  • Effort: elementary
Suspicious Network Args In Command Line

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

  • Effort: intermediate
Suspicious PowerShell Invocations - Specific

Detects suspicious PowerShell invocation command parameters

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

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

  • Effort: advanced
Suspicious Process Requiring DLL Starts Without DLL

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

  • Effort: intermediate
Suspicious Regasm Regsvcs Usage

catch abuse of regsvcs and regasm lolbin by attacker

  • Effort: advanced
Suspicious 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
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
Usage Of Procdump With Common Arguments

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

  • Effort: intermediate
User Account Created

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

  • Effort: master
User Account Deleted

Detects local user deletion

  • Effort: master
WCE wceaux.dll Creation

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

  • Effort: intermediate
WMI Install Of Binary

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

  • Effort: elementary
WMI Persistence Script Event Consumer File Write

Detects file writes through WMI script event consumer.

  • Effort: advanced
WMIC 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.

  • Effort: advanced
Windows Firewall Changes

Detects changes on Windows Firewall configuration

  • Effort: master
WithSecure Elements Critical Severity

WithSecure Elements has several modules. One constant is the severity of a raised event, which can be critical and therefore interesting to look at.

  • Effort: master
Wmic Process Call Creation

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

  • Effort: intermediate
Wmic Service Call

Detects either remote or local code execution using wmic tool.

  • Effort: intermediate
XCopy Suspicious Usage

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

  • Effort: advanced
XSL Script Processing And SquiblyTwo Attack

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

  • Effort: intermediate
xWizard Execution

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

  • Effort: master

Event Categories

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

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

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

Name Values
Kind event
Category intrusion_detection, malware, network, process, web
Type denied, info

Event Samples

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

{
    "message": "{\n  \"severity\": \"warning\",\n  \"serverTimestamp\": 1678195081729,\n  \"txId\": \"0000-153e807091c80268\",\n  \"persistenceTimestamp\": 1678195082974,\n  \"source\": \"JScript\",\n  \"subscription\": {\n    \"id\": \"b53a169f-ccf2-4390-acf4-73ba063f67a8\"\n  },\n  \"engine\": \"AMSI\",\n  \"action\": \"blocked\",\n  \"details\": {\n    \"alertType\": \"amsi.infection.block\",\n    \"appName\": \"JScript\",\n    \"clientTimestamp\": \"1678195078575\",\n    \"contentName\": \"C:\\\\Temp-Scan-AMSI\\\\infected.js\",\n    \"hostIpAddress\": \"10.61.40.32/22\",\n    \"infectionName\": \"Testfile:JS/F-Secure_testfile.D\",\n    \"path\": \"C:\\\\Windows\\\\SysWOW64\\\\cscript.exe\",\n    \"profileId\": \"910739\",\n    \"profileName\": \"TA_TEST_2\",\n    \"profileVersion\": \"1675782455\",\n    \"sha1\": \"1aef59dac1e2328b402d6fee5b5f76439ce98f43\",\n    \"throttledCount\": \"0\",\n    \"userName\": \"DESKTOP-1FHRKR9\\\\tadmin\"\n  },\n  \"id\": \"f9df27ec-ead4-3d55-87b9-4b9d59c48091_0\",\n  \"device\": {\n    \"agentId\": \"c07b9280-f878-47e8-9222-cc4dee1c224d\",\n    \"clientType\": \"computerProtectionPremium\",\n    \"id\": 0,\n    \"name\": \"ta_test3235\"\n  },\n  \"account\": {\n    \"name\": \"ta-ccf-psb-company\",\n    \"orgPath\": \"00000000-0000-0000-0000-000000000000/e2675985-4c4d-4467-ac60-87f075075b92/6b76acd1-95d5-45c9-aa70-1b4e3c27931c/\",\n    \"uuid\": \"6b76acd1-95d5-45c9-aa70-1b4e3c27931c\"\n  },\n  \"tenant\": \"478444\"\n}\n",
    "event": {
        "action": "blocked",
        "category": [
            "malware"
        ],
        "dataset": "AMSI",
        "kind": "event",
        "type": [
            "info"
        ]
    },
    "agent": {
        "id": "0",
        "name": "ta_test3235",
        "type": "WithSecure Agent"
    },
    "file": {
        "hash": {
            "sha1": "1aef59dac1e2328b402d6fee5b5f76439ce98f43"
        },
        "name": "cscript.exe",
        "path": "C:\\Windows\\SysWOW64\\cscript.exe"
    },
    "host": {
        "hostname": "ta_test3235",
        "ip": [
            "10.61.40.32"
        ],
        "name": "ta_test3235"
    },
    "package": {
        "name": "JScript"
    },
    "related": {
        "hash": [
            "1aef59dac1e2328b402d6fee5b5f76439ce98f43"
        ],
        "hosts": [
            "ta_test3235"
        ],
        "ip": [
            "10.61.40.32"
        ],
        "user": [
            "tadmin"
        ]
    },
    "user": {
        "domain": "DESKTOP-1FHRKR9",
        "name": "tadmin"
    },
    "withsecure": {
        "amsi": {
            "content_name": "C:\\Temp-Scan-AMSI\\infected.js"
        },
        "infection": {
            "name": "Testfile:JS/F-Secure_testfile.D"
        },
        "severity": "warning"
    }
}
{
    "message": "{\"severity\": \"critical\", \"serverTimestamp\": \"2024-02-19T08:36:49.782Z\", \"engine\": \"applicationControl\", \"organization\": {\"name\": \"example\", \"id\": \"1351943b-e669-4279-aad8-1adb309978b4\"}, \"action\": \"blocked\", \"details\": {\"profileName\": \"Laptop\", \"targetFileVersion\": \"6.2.6.0\", \"targetVersionCompanyName\": \"philandro Software GmbH\", \"parentPath\": \"C:\\\\Windows\\\\explorer.exe\", \"targetFileDescription\": \"AnyDesk\", \"clientTimestamp\": \"1708329856554\", \"targetSha256\": \"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b\", \"throttledCount\": \"0\", \"targetProductName\": \"AnyDesk\", \"hostIpAddress\": \"1.2.3.4/32 192.168.1.16/24\", \"ruleName\": \"Block Anydesk\", \"ruleId\": \"92725c9b-45bd-4938-a74a-73ed491da331\", \"ruleEvent\": \"application_start\", \"userPrincipalName\": \"john.doe@example.org\", \"targetCommandLine\": \"\\\"C:\\\\Program Files (x86)\\\\AnyDesk\\\\AnyDesk.exe\\\"  --control\", \"alertType\": \"application_control.application_start.block\", \"profileVersion\": \"1707831865\", \"targetPath\": \"C:\\\\Program Files (x86)\\\\AnyDesk\\\\AnyDesk.exe\", \"targetCopyrightText\": \"(C) 2021 philandro Software GmbH\", \"userName\": \"EXAMPLE\\\\jdoe\", \"targetSignatureSignerName\": \"philandro Software GmbH\", \"parentCommandLine\": \"C:\\\\WINDOWS\\\\Explorer.EXE\", \"profileId\": \"232688103\", \"targetSha1\": \"adc83b19e793491b1c6ea0fd8b46cd9f32e592fc\", \"targetProductVersion\": \"0.0.0.0\"}, \"persistenceTimestamp\": \"2024-02-19T08:36:54.503Z\", \"id\": \"e6545060-3f96-4284-b4ff-694836c4f029\", \"eventTransactionId\": \"0000-b1c6ea0fd8b46cd9\", \"userName\": \"EXAMPLE\\\\jdoe\", \"clientTimestamp\": \"2024-02-19T08:04:16.554Z\", \"device\": {\"name\": \"LAPTOP01\", \"id\": \"c83809b2-bf37-45df-bdd3-ea5f304b209f\"}}",
    "event": {
        "action": "blocked",
        "category": [
            "process"
        ],
        "dataset": "applicationControl",
        "kind": "event",
        "type": [
            "info"
        ]
    },
    "@timestamp": "2024-02-19T08:04:16.554000Z",
    "action": {
        "properties": {
            "UserPrincipalName": "john.doe@example.org"
        }
    },
    "agent": {
        "id": "c83809b2-bf37-45df-bdd3-ea5f304b209f",
        "name": "LAPTOP01",
        "type": "WithSecure Agent"
    },
    "file": {
        "hash": {
            "sha1": "adc83b19e793491b1c6ea0fd8b46cd9f32e592fc",
            "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
        }
    },
    "host": {
        "hostname": "LAPTOP01",
        "ip": [
            "1.2.3.4",
            "192.168.1.16"
        ],
        "name": "LAPTOP01"
    },
    "organization": {
        "id": "1351943b-e669-4279-aad8-1adb309978b4",
        "name": "example"
    },
    "process": {
        "command_line": "\"C:\\Program Files (x86)\\AnyDesk\\AnyDesk.exe\"  --control",
        "executable": "C:\\Program Files (x86)\\AnyDesk\\AnyDesk.exe",
        "parent": {
            "command_line": "C:\\WINDOWS\\Explorer.EXE",
            "executable": "C:\\Windows\\explorer.exe"
        }
    },
    "related": {
        "hash": [
            "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
            "adc83b19e793491b1c6ea0fd8b46cd9f32e592fc"
        ],
        "hosts": [
            "LAPTOP01"
        ],
        "ip": [
            "1.2.3.4",
            "192.168.1.16"
        ],
        "user": [
            "jdoe"
        ]
    },
    "rule": {
        "description": "Block Anydesk",
        "id": "92725c9b-45bd-4938-a74a-73ed491da331",
        "name": "application_start"
    },
    "user": {
        "domain": "EXAMPLE",
        "name": "jdoe"
    },
    "withsecure": {
        "alert": {
            "type": "application_control.application_start.block"
        },
        "profile": {
            "id": "232688103",
            "name": "Laptop",
            "version": "1707831865"
        },
        "severity": "critical",
        "target": {
            "company_name": "philandro Software GmbH",
            "copyright": {
                "text": "(C) 2021 philandro Software GmbH"
            },
            "file": {
                "description": "AnyDesk",
                "version": "6.2.6.0"
            },
            "product": {
                "name": "AnyDesk",
                "version": "0.0.0.0"
            },
            "signature_signer_name": "philandro Software GmbH"
        },
        "throttled": {
            "count": "0"
        }
    }
}
{
    "message": "{\n  \"severity\": \"warning\",\n  \"serverTimestamp\": 1677506888211,\n  \"txId\": \"0000-bd779a8b0fb23d1b\",\n  \"persistenceTimestamp\": 1677506888507,\n  \"source\": \"\",\n  \"subscription\": {\n    \"id\": \"8ff722e2-b018-4ea7-b398-ad00aa7a09fa\"\n  },\n  \"engine\": \"browsingProtection\",\n  \"action\": \"blocked\",\n  \"details\": {\n    \"alertType\": \"online_safety.denied_page.block\",\n    \"clientTimestamp\": \"1677506887736\",\n    \"hostIpAddress\": \"10.61.33.187/25\",\n    \"process\": \"firefox.exe\",\n    \"profileId\": \"56358066\",\n    \"profileName\": \"test profile\",\n    \"profileVersion\": \"1677506759\",\n    \"reason\": \"WF_Denied\",\n    \"throttledCount\": \"0\",\n    \"userName\": \"win10-21h1\\\\tadmin\"\n  },\n  \"id\": \"e2c19e28-e246-3f99-a053-7dd2b28504f6_0\",\n  \"device\": {\n    \"agentId\": \"5398f1dd-1ce5-4e48-81b8-67ecc63f4232\",\n    \"clientType\": \"computerProtectionPremium\",\n    \"id\": 0,\n    \"name\": \"win10-21h1\"\n  },\n  \"account\": {\n    \"name\": \"test\",\n    \"orgPath\": \"00000000-0000-0000-0000-000000000000/51cebe8d-f671-4d50-b4fd-7f701cea1dc3/0c75c79d-88af-4bfd-9c00-e1f87ce7a5f2/\",\n    \"uuid\": \"0c75c79d-88af-4bfd-9c00-e1f87ce7a5f2\"\n  },\n  \"tenant\": \"478444\"\n}\n",
    "event": {
        "action": "blocked",
        "category": [
            "web"
        ],
        "dataset": "browsingProtection",
        "kind": "event",
        "reason": "WF_Denied",
        "type": [
            "denied"
        ]
    },
    "agent": {
        "id": "0",
        "name": "win10-21h1",
        "type": "WithSecure Agent"
    },
    "host": {
        "hostname": "win10-21h1",
        "ip": [
            "10.61.33.187"
        ],
        "name": "win10-21h1"
    },
    "process": {
        "name": "firefox.exe"
    },
    "related": {
        "hosts": [
            "win10-21h1"
        ],
        "ip": [
            "10.61.33.187"
        ],
        "user": [
            "tadmin"
        ]
    },
    "user": {
        "domain": "win10-21h1",
        "name": "tadmin"
    },
    "withsecure": {
        "severity": "warning"
    }
}
{
    "message": "{\n  \"severity\": \"warning\",\n  \"serverTimestamp\": 1677851790806,\n  \"txId\": \"0000-7b5c8de7f4faed29\",\n  \"persistenceTimestamp\": 1677851791765,\n  \"source\": \"hxxp://unsafe.fstestdomain.com\",\n  \"subscription\": {\n    \"id\": \"8ff722e2-b018-4ea7-b398-ad00aa7a09fa\"\n  },\n  \"engine\": \"reputationBasedBrowsing\",\n  \"action\": \"blocked\",\n  \"details\": {\n    \"alertType\": \"online_safety.harmful_page.block\",\n    \"clientTimestamp\": \"1677848190005\",\n    \"hostIpAddress\": \"10.61.33.187/25\",\n    \"process\": \"firefox.exe\",\n    \"profileId\": \"56358066\",\n    \"profileName\": \"test profile\",\n    \"profileVersion\": \"1677506873\",\n    \"reason\": \"BP_Harmful\",\n    \"throttledCount\": \"6\",\n    \"url\": \"hxxp://unsafe.fstestdomain.com\",\n    \"userName\": \"win10-21h1\\\\tadmin\"\n  },\n  \"id\": \"51b83b32-22d9-33f5-bbe0-a803c5bf684a_0\",\n  \"device\": {\n    \"agentId\": \"7dc63df2-636c-4939-8e67-dc7c7be09048\",\n    \"clientType\": \"computerProtectionPremium\",\n    \"id\": 0,\n    \"name\": \"win10-21h1\"\n  },\n  \"account\": {\n    \"name\": \"test\",\n    \"orgPath\": \"00000000-0000-0000-0000-000000000000/51cebe8d-f671-4d50-b4fd-7f701cea1dc3/0c75c79d-88af-4bfd-9c00-e1f87ce7a5f2/\",\n    \"uuid\": \"0c75c79d-88af-4bfd-9c00-e1f87ce7a5f2\"\n  },\n  \"tenant\": \"478444\"\n}\n",
    "event": {
        "action": "blocked",
        "category": [
            "web"
        ],
        "dataset": "reputationBasedBrowsing",
        "kind": "event",
        "reason": "BP_Harmful",
        "type": [
            "denied"
        ]
    },
    "agent": {
        "id": "0",
        "name": "win10-21h1",
        "type": "WithSecure Agent"
    },
    "host": {
        "hostname": "win10-21h1",
        "ip": [
            "10.61.33.187"
        ],
        "name": "win10-21h1"
    },
    "process": {
        "name": "firefox.exe"
    },
    "related": {
        "hosts": [
            "win10-21h1"
        ],
        "ip": [
            "10.61.33.187"
        ],
        "user": [
            "tadmin"
        ]
    },
    "url": {
        "full": "hxxp://unsafe.fstestdomain.com"
    },
    "user": {
        "domain": "win10-21h1",
        "name": "tadmin"
    },
    "withsecure": {
        "severity": "warning"
    }
}
{
    "message": "{\n  \"severity\": \"warning\",\n  \"serverTimestamp\": 1662980091208,\n  \"txId\": \"0000-88cd1561f3bf0112\",\n  \"persistenceTimestamp\": 1662980091703,\n  \"source\": \"python.exe\",\n  \"subscription\": {\n    \"id\": \"4b36dd49-76b7-43e3-a3bb-db42b1abd49e\"\n  },\n  \"engine\": \"deepGuard\",\n  \"action\": \"blocked\",\n  \"details\": {\n    \"alertType\": \"file\",\n    \"clientTimestamp\": \"1662980088000\",\n    \"filePath\": \"C:\\\\Users\\\\gtn-admin\\\\miniconda3\\\\envs\\\\change_analyzer\\\\python.exe\",\n    \"hostIpAddress\": \"192.168.157.141/24\",\n    \"name\": \"DeepGuard blocks a rare application\",\n    \"profileId\": \"6938825\",\n    \"profileName\": \"test-sop-own-profile\",\n    \"profileVersion\": \"1618492209\",\n    \"rarity\": \"common\",\n    \"reputation\": \"unknown\",\n    \"sha1\": \"88d299350caa965e995fa10e287342d846e4c470\",\n    \"size\": \"95232\",\n    \"userName\": \"ta_test8015\\\\gtn-admin\"\n  },\n  \"id\": \"09448f91-8bc4-3a11-8666-a58483932a7a_0\",\n  \"device\": {\n    \"agentId\": \"3fef9b44-fb25-4b58-b7d7-eb17ad691523\",\n    \"clientType\": \"computerProtection\",\n    \"id\": 18428086,\n    \"name\": \"ta_test8015\"\n  },\n  \"account\": {\n    \"name\": \"test\",\n    \"orgPath\": \"00000000-0000-0000-0000-000000000000/51cebe8d-f671-4d50-b4fd-7f701cea1dc3/0c75c79d-88af-4bfd-9c00-e1f87ce7a5f2/\",\n    \"uuid\": \"0c75c79d-88af-4bfd-9c00-e1f87ce7a5f2\"\n  },\n  \"tenant\": \"478444\"\n}\n\n",
    "event": {
        "action": "blocked",
        "category": [
            "malware"
        ],
        "dataset": "deepGuard",
        "kind": "event",
        "reason": "DeepGuard blocks a rare application",
        "type": [
            "info"
        ]
    },
    "agent": {
        "id": "18428086",
        "name": "ta_test8015",
        "type": "WithSecure Agent"
    },
    "file": {
        "hash": {
            "sha1": "88d299350caa965e995fa10e287342d846e4c470"
        },
        "name": "python.exe",
        "path": "C:\\Users\\gtn-admin\\miniconda3\\envs\\change_analyzer\\python.exe",
        "size": 95232
    },
    "host": {
        "hostname": "ta_test8015",
        "ip": [
            "192.168.157.141"
        ],
        "name": "ta_test8015"
    },
    "related": {
        "hash": [
            "88d299350caa965e995fa10e287342d846e4c470"
        ],
        "hosts": [
            "ta_test8015"
        ],
        "ip": [
            "192.168.157.141"
        ],
        "user": [
            "gtn-admin"
        ]
    },
    "user": {
        "domain": "ta_test8015",
        "name": "gtn-admin"
    },
    "withsecure": {
        "file": {
            "rarity": "common",
            "reputation": "unknown"
        },
        "severity": "warning"
    }
}
{
    "message": "{\n    \"severity\": \"critical\",\n    \"serverTimestamp\": \"2023-09-25T06:56:01.926Z\",\n    \"engine\": \"edr\",\n    \"organization\": {\n        \"name\": \"Example\",\n        \"id\": \"d232eaa8-8e11-4574-96b6-b3b406c03c75\"\n    },\n    \"action\": \"created\",\n    \"details\": {\n        \"incidentPublicId\": \"222222222-133\",\n        \"fingerprint\": \"800ebc5764bd52ea1c68e4bf501e66bbe13a8908\",\n        \"initialDetectionTimestamp\": \"1695624961390\",\n        \"risk\": \"MEDIUM\",\n        \"categories\": \"MALWARE\",\n        \"incidentId\": \"391bf836-ecdf-4e02-97ed-2d18d73c1097\",\n        \"clientTimestamp\": \"1695624752000\",\n        \"resolution\": \"UNCONFIRMED\",\n        \"userSam\": \"MyComputer\\\\john.doe\"\n    },\n    \"id\": \"009f92ce-80f0-4704-91ae-6e4f390d7abe\",\n    \"eventTransactionId\": \"0000-b51414ec72bc4e87-440dc597-c761-48dc-8aaf-d6fc4695c0f3\",\n    \"persistenceTimestamp\": \"2023-09-25T06:56:06.511Z\",\n    \"userName\": \"MyComputer/john.doe\",\n    \"clientTimestamp\": \"2023-09-25T06:52:32Z\",\n    \"device\": {\n        \"name\": \"MyComputer\",\n        \"id\": \"52d47f29-ebd9-428e-9baa-7a0552e7087a\"\n    }\n}",
    "event": {
        "action": "created",
        "category": [
            "intrusion_detection"
        ],
        "dataset": "edr",
        "kind": "event",
        "type": [
            "info"
        ]
    },
    "@timestamp": "2023-09-25T06:52:32Z",
    "agent": {
        "id": "52d47f29-ebd9-428e-9baa-7a0552e7087a",
        "name": "MyComputer",
        "type": "WithSecure Agent"
    },
    "host": {
        "hostname": "MyComputer",
        "name": "MyComputer"
    },
    "organization": {
        "id": "d232eaa8-8e11-4574-96b6-b3b406c03c75",
        "name": "Example"
    },
    "related": {
        "hosts": [
            "MyComputer"
        ],
        "user": [
            "john.doe"
        ]
    },
    "user": {
        "domain": "MyComputer",
        "name": "john.doe"
    },
    "withsecure": {
        "incident": {
            "categories": [
                "MALWARE"
            ],
            "fingerprint": "800ebc5764bd52ea1c68e4bf501e66bbe13a8908",
            "id": "391bf836-ecdf-4e02-97ed-2d18d73c1097"
        },
        "severity": "critical"
    }
}
{
    "message": "{\n  \"severity\": \"critical\",\n  \"engine\": \"edr\",\n  \"serverTimestamp\": 1651578141192,\n  \"action\": \"created\",\n  \"txId\": \"0000-21d24f9cff1145c5-9bd77204-ac47-4754-aa16-18f900fb4440\",\n  \"details\": {\n    \"categories\": \"PERSISTENCE\",\n    \"clientTimestamp\": \"1651578140970\",\n    \"fingerprint\": \"aa77e49047798bd8efe373fdcf7bb65954083664\",\n    \"incidentId\": \"9f003dcb-528b-43e2-8ea5-f09d7eda2fe9\",\n    \"incidentPublicId\": \"11355-92710\",\n    \"initialDetectionTimestamp\": \"1651574700000\",\n    \"resolution\": \"UNCONFIRMED\",\n    \"risk\": \"MEDIUM\"\n  },\n  \"id\": \"7482f9eb-e9ba-3953-a099-f24672a64d37_0\",\n  \"source\": \"\",\n  \"device\": {\n    \"agentId\": \"f4aaba09-804c-45b5-b4c7-1600c27389c7\",\n    \"clientType\": \"computerProtectionPremiumPlusRdr\",\n    \"id\": 17589954,\n    \"name\": \"DESKTOP-L37F6GG\"\n  },\n  \"account\": {\n    \"name\": \"test\",\n    \"orgPath\": \"00000000-0000-0000-0000-000000000000/51cebe8d-f671-4d50-b4fd-7f701cea1dc3/0c75c79d-88af-4bfd-9c00-e1f87ce7a5f2/\",\n    \"uuid\": \"0c75c79d-88af-4bfd-9c00-e1f87ce7a5f2\"\n  },\n  \"tenant\": \"478444\"\n}\n",
    "event": {
        "action": "created",
        "category": [
            "intrusion_detection"
        ],
        "dataset": "edr",
        "kind": "event",
        "type": [
            "info"
        ]
    },
    "agent": {
        "id": "17589954",
        "name": "DESKTOP-L37F6GG",
        "type": "WithSecure Agent"
    },
    "host": {
        "hostname": "DESKTOP-L37F6GG",
        "name": "DESKTOP-L37F6GG"
    },
    "related": {
        "hosts": [
            "DESKTOP-L37F6GG"
        ]
    },
    "withsecure": {
        "incident": {
            "categories": [
                "PERSISTENCE"
            ],
            "fingerprint": "aa77e49047798bd8efe373fdcf7bb65954083664",
            "id": "9f003dcb-528b-43e2-8ea5-f09d7eda2fe9"
        },
        "severity": "critical"
    }
}
{
    "message": "{\n  \"severity\": \"info\",\n  \"serverTimestamp\": 1678195021795,\n  \"txId\": \"0000-281f2fc480f64ce2\",\n  \"persistenceTimestamp\": 1678195022366,\n  \"source\": \"BlockWgetUserProfile\",\n  \"subscription\": {\n    \"id\": \"5c80979b-1795-418b-850b-4a3af9f53def\"\n  },\n  \"engine\": \"firewall\",\n  \"action\": \"blocked\",\n  \"details\": {\n    \"alertType\": \"firewall.fs_rule_triggered.block\",\n    \"clientTimestamp\": \"1678195020864\",\n    \"hostIpAddress\": \"10.61.40.132/22\",\n    \"ipProtocol\": \"TCP(6)\",\n    \"layerName\": \"ALE Connect v4 Layer\",\n    \"localAddress\": \"10.61.40.132\",\n    \"localPort\": \"50021\",\n    \"process\": \"\\\\device\\\\harddiskvolume2\\\\users\\\\tadmin\\\\wget.exe\",\n    \"profileId\": \"910739\",\n    \"profileName\": \"TA_TEST_2\",\n    \"profileVersion\": \"1675782455\",\n    \"remoteAddress\": \"10.133.0.23\",\n    \"remotePort\": \"80\",\n    \"ruleDirection\": \"outbound\",\n    \"ruleGroupName\": \"WithSecure Firewall\",\n    \"ruleName\": \"BlockWgetUserProfile\",\n    \"throttledCount\": \"0\",\n    \"userName\": \"win10-21h1\\\\tadmin\"\n  },\n  \"id\": \"afaa691e-79e7-3106-a4bb-0b27ec9b851c_0\",\n  \"device\": {\n    \"agentId\": \"b8b8b57d-d9d9-4449-8fc4-8277370da283\",\n    \"clientType\": \"computerProtectionPremiumPlusRdr\",\n    \"id\": 0,\n    \"name\": \"ta_iqamppz3626\"\n  },\n  \"account\": {\n    \"name\": \"ta-ccf-psb-company\",\n    \"orgPath\": \"00000000-0000-0000-0000-000000000000/e2675985-4c4d-4467-ac60-87f075075b92/6b76acd1-95d5-45c9-aa70-1b4e3c27931c/\",\n    \"uuid\": \"6b76acd1-95d5-45c9-aa70-1b4e3c27931c\"\n  },\n  \"tenant\": \"478444\"\n}\n",
    "event": {
        "action": "blocked",
        "category": [
            "network"
        ],
        "dataset": "firewall",
        "kind": "event",
        "type": [
            "denied"
        ]
    },
    "agent": {
        "id": "0",
        "name": "ta_iqamppz3626",
        "type": "WithSecure Agent"
    },
    "destination": {
        "address": "10.133.0.23",
        "ip": "10.133.0.23",
        "port": 80
    },
    "host": {
        "hostname": "ta_iqamppz3626",
        "ip": [
            "10.61.40.132"
        ],
        "name": "ta_iqamppz3626"
    },
    "network": {
        "direction": "outbound",
        "type": "TCP(6)"
    },
    "process": {
        "executable": "\\device\\harddiskvolume2\\users\\tadmin\\wget.exe",
        "name": "\\device\\harddiskvolume2\\users\\tadmin\\wget.exe"
    },
    "related": {
        "hosts": [
            "ta_iqamppz3626"
        ],
        "ip": [
            "10.133.0.23",
            "10.61.40.132"
        ],
        "user": [
            "tadmin"
        ]
    },
    "rule": {
        "name": "BlockWgetUserProfile"
    },
    "source": {
        "address": "10.61.40.132",
        "ip": "10.61.40.132",
        "port": 50021
    },
    "user": {
        "domain": "win10-21h1",
        "name": "tadmin"
    },
    "withsecure": {
        "severity": "info"
    }
}
{
    "message": "{\"severity\": \"warning\", \"serverTimestamp\": \"2023-04-22T12:12:29.959Z\", \"engine\": \"reputationBasedBrowsing\", \"organization\": {\"name\": \"Sekoia company\", \"id\": \"c4713fad-2d74-438e-bb85-cfbeae4fabb9\"}, \"action\": \"blocked\", \"details\": {\"profileName\": \"WithSecure\u2122 Server\", \"reason\": \"BP_Harmful\", \"process\": \"msedge.exe\", \"alertType\": \"online_safety.harmful_page.block\", \"throttledCount\": \"0\", \"profileId\": \"814237\", \"profileVersion\": \"1649234345\", \"hostIpAddress\": \"172.31.27.64/20\", \"userName\": \"EC2AMAZ-DFCA28R\\\\Administrator\", \"clientTimestamp\": \"1682165548528\", \"url\": \"hxxps://secure.eicar.org/eicar.com\"}, \"id\": \"33173bcb-a4bf-35e9-b21c-35de08d25c03_0\", \"persistenceTimestamp\": \"2023-04-22T12:12:33.304Z\", \"device\": {\"name\": \"EC2AMAZ-DFCA28R\", \"id\": \"bf351662-7adc-4611-a0cb-50bf50d1bcca\"}, \"clientTimestamp\": \"2023-04-22T12:12:28.528Z\"}",
    "event": {
        "action": "blocked",
        "category": [
            "web"
        ],
        "dataset": "reputationBasedBrowsing",
        "kind": "event",
        "reason": "BP_Harmful",
        "type": [
            "denied"
        ]
    },
    "@timestamp": "2023-04-22T12:12:28.528000Z",
    "agent": {
        "id": "bf351662-7adc-4611-a0cb-50bf50d1bcca",
        "name": "EC2AMAZ-DFCA28R",
        "type": "WithSecure Agent"
    },
    "host": {
        "hostname": "EC2AMAZ-DFCA28R",
        "ip": [
            "172.31.27.64"
        ],
        "name": "EC2AMAZ-DFCA28R"
    },
    "organization": {
        "id": "c4713fad-2d74-438e-bb85-cfbeae4fabb9",
        "name": "Sekoia company"
    },
    "process": {
        "name": "msedge.exe"
    },
    "related": {
        "hosts": [
            "EC2AMAZ-DFCA28R"
        ],
        "ip": [
            "172.31.27.64"
        ],
        "user": [
            "Administrator"
        ]
    },
    "url": {
        "full": "hxxps://secure.eicar.org/eicar.com"
    },
    "user": {
        "domain": "EC2AMAZ-DFCA28R",
        "name": "Administrator"
    },
    "withsecure": {
        "severity": "warning"
    }
}
{
    "message": "{\n  \"severity\": \"critical\",\n  \"serverTimestamp\": 1677670865589,\n  \"txId\": \"0000-97df3b0443296390\",\n  \"persistenceTimestamp\": 1677670866082,\n  \"source\": \"eicar(1).com\",\n  \"subscription\": {\n    \"id\": \"8ff722e2-b018-4ea7-b398-ad00aa7a09fa\"\n  },\n  \"engine\": \"manualScanning\",\n  \"action\": \"none\",\n  \"details\": {\n    \"alertType\": \"on_demand_scanner.file_infection.nothing\",\n    \"availableActions\": \"disinfect,delete,rename,quarantine\",\n    \"clientTimestamp\": \"1677670865302\",\n    \"created\": \"1677670492\",\n    \"fileScanningType\": \"fileInfection\",\n    \"hostIpAddress\": \"10.133.36.253/24\",\n    \"infectionName\": \"EICAR_Test_File\",\n    \"modified\": \"1677670472\",\n    \"path\": \"C:\\\\ProgramData\\\\eicar(1).com\",\n    \"prevalence\": \"60\",\n    \"profileId\": \"73633559\",\n    \"profileName\": \"test_test\",\n    \"profileVersion\": \"1677670386\",\n    \"recommendedAction\": \"disinfect\",\n    \"reputation\": \"99\",\n    \"sha1\": \"3395856ce81f2b7382dee72602f798b642f14140\",\n    \"size\": \"68\",\n    \"throttledCount\": \"0\",\n    \"userName\": \"WIN10ENT-X64\\\\Administrator\"\n  },\n  \"id\": \"4155e71e-0cbb-3cac-ab46-24855d55340a_0\",\n  \"device\": {\n    \"agentId\": \"48f4edb3-911b-46b7-8566-fd4e1a2ff757\",\n    \"clientType\": \"computerProtectionPremium\",\n    \"id\": 0,\n    \"name\": \"WIN10ENT-X64\"\n  },\n  \"account\": {\n    \"name\": \"test\",\n    \"orgPath\": \"00000000-0000-0000-0000-000000000000/51cebe8d-f671-4d50-b4fd-7f701cea1dc3/0c75c79d-88af-4bfd-9c00-e1f87ce7a5f2/\",\n    \"uuid\": \"0c75c79d-88af-4bfd-9c00-e1f87ce7a5f2\"\n  },\n  \"tenant\": \"478444\"\n}\n\n",
    "event": {
        "action": "none",
        "category": [
            "malware"
        ],
        "dataset": "manualScanning",
        "kind": "event",
        "type": [
            "info"
        ]
    },
    "agent": {
        "id": "0",
        "name": "WIN10ENT-X64",
        "type": "WithSecure Agent"
    },
    "file": {
        "created": "2023-03-01T11:34:52Z",
        "hash": {
            "sha1": "3395856ce81f2b7382dee72602f798b642f14140"
        },
        "mtime": "2023-03-01T11:34:32Z",
        "name": "eicar(1).com",
        "path": "C:\\ProgramData\\eicar(1).com",
        "size": 68
    },
    "host": {
        "hostname": "WIN10ENT-X64",
        "ip": [
            "10.133.36.253"
        ],
        "name": "WIN10ENT-X64"
    },
    "related": {
        "hash": [
            "3395856ce81f2b7382dee72602f798b642f14140"
        ],
        "hosts": [
            "WIN10ENT-X64"
        ],
        "ip": [
            "10.133.36.253"
        ],
        "user": [
            "Administrator"
        ]
    },
    "user": {
        "domain": "WIN10ENT-X64",
        "name": "Administrator"
    },
    "withsecure": {
        "file": {
            "prevalence": "60",
            "reputation": "99"
        },
        "infection": {
            "name": "EICAR_Test_File"
        },
        "severity": "critical"
    }
}
{
    "message": "{\n  \"severity\": \"info\",\n  \"serverTimestamp\": \"2023-09-25T22:19:29.665Z\",\n  \"engine\": \"systemEventsLog\",\n  \"organization\": {\n    \"name\": \"Example\",\n    \"id\": \"d232eaa8-8e11-4574-96b6-b3b406c03c75\"\n  },\n  \"action\": \"reported\",\n  \"details\": {\n    \"profileName\": \"WithSecure\u2122 Server\",\n    \"alertType\": \"system_events_log.event.info.added\",\n    \"profileVersion\": \"1649707656\",\n    \"systemDataEventId\": \"4625\",\n    \"systemDataTimeCreated\": \"1695676768\",\n    \"systemDataOpcode\": \"Info\",\n    \"systemDataProviderName\": \"Microsoft-Windows-Security-Auditing\",\n    \"description\": \"An account failed to log on.\",\n    \"userName\": \"MyComputer\\\\john.doe\",\n    \"clientTimestamp\": \"1695676769366\",\n    \"eventXml\": \"<Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='Microsoft-Windows-Security-Auditing' Guid='{54849625-5478-4994-a5ba-3e3b0328c30d}'/><EventID>4625</EventID><Version>0</Version><Level>0</Level><Task>12544</Task><Opcode>0</Opcode><Keywords>0x8010000000000000</Keywords><TimeCreated SystemTime='2023-09-25T21:19:28.3562688Z'/><EventRecordID>759589</EventRecordID><Correlation ActivityID='{31f83723-8a21-0001-1438-f831218ad901}'/><Execution ProcessID='652' ThreadID='7492'/><Channel>Security</Channel><Computer>MyComputer</Computer><Security/></System><EventData><Data Name='SubjectUserSid'>S-1-0-0</Data><Data Name='SubjectUserName'>-</Data><Data Name='SubjectDomainName'>-</Data><Data Name='SubjectLogonId'>0x0</Data><Data Name='TargetUserSid'>S-1-0-0</Data><Data Name='TargetUserName'>john.doe</Data><Data Name='TargetDomainName'></Data><Data Name='Status'>0xc000006d</Data><Data Name='FailureReason'>%%2313</Data><Data Name='SubStatus'>0xc000006a</Data><Data Name='LogonType'>3</Data><Data Name='LogonProcessName'>NtLmSsp </Data><Data Name='AuthenticationPackageName'>NTLM</Data><Data Name='WorkstationName'>-</Data><Data Name='TransmittedServices'>-</Data><Data Name='LmPackageName'>-</Data><Data Name='KeyLength'>0</Data><Data Name='ProcessId'>0x0</Data><Data Name='ProcessName'>-</Data><Data Name='IpAddress'>3.4.5.6</Data><Data Name='IpPort'>0</Data></EventData></Event>\",\n    \"throttledCount\": \"14\",\n    \"systemDataComputer\": \"MyComputer\",\n    \"profileId\": \"24847060\",\n    \"systemDataRecordId\": \"759589\",\n    \"hostIpAddress\": \"172.31.40.211/20\",\n    \"systemDataProcessId\": \"652\",\n    \"systemDataChannel\": \"Security\",\n    \"systemDataLevel\": \"Information\"\n  },\n  \"id\": \"34c9d18d-1c75-4bdf-9989-39b2bceaba6b\",\n  \"eventTransactionId\": \"0000-7060ed48b863366a\",\n  \"persistenceTimestamp\": \"2023-09-25T22:19:31.305Z\",\n  \"userName\": \"MyComputer\\\\john.doe\",\n  \"clientTimestamp\": \"2023-09-25T21:19:29.366Z\",\n  \"device\": {\n    \"name\": \"MyComputer\",\n    \"id\": \"52d47f29-ebd9-428e-9baa-7a0552e7087a\"\n  }\n}",
    "event": {
        "action": "reported",
        "category": [
            "authentication"
        ],
        "code": "4625",
        "dataset": "systemEventsLog",
        "kind": "event",
        "provider": "Microsoft-Windows-Security-Auditing",
        "reason": "An account failed to log on.",
        "type": [
            "start"
        ]
    },
    "@timestamp": "2023-09-25T21:19:29.366000Z",
    "action": {
        "id": 4625,
        "outcome": "failure",
        "record_id": 759589,
        "type": "Security"
    },
    "agent": {
        "id": "52d47f29-ebd9-428e-9baa-7a0552e7087a",
        "name": "MyComputer",
        "type": "WithSecure Agent"
    },
    "host": {
        "hostname": "MyComputer",
        "ip": [
            "172.31.40.211"
        ],
        "name": "MyComputer"
    },
    "organization": {
        "id": "d232eaa8-8e11-4574-96b6-b3b406c03c75",
        "name": "Example"
    },
    "process": {
        "pid": 652
    },
    "related": {
        "hosts": [
            "MyComputer"
        ],
        "ip": [
            "172.31.40.211"
        ],
        "user": [
            "john.doe"
        ]
    },
    "sekoiaio": {
        "server": {
            "os": {
                "type": "windows"
            }
        }
    },
    "user": {
        "domain": "MyComputer",
        "name": "john.doe"
    },
    "withsecure": {
        "severity": "info"
    }
}

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.UserPrincipalName keyword
agent.id keyword Unique identifier of this agent.
agent.name keyword Custom name of the agent.
agent.type keyword Type of the agent.
destination.ip ip IP address of the destination.
destination.port long Port of the destination.
event.action keyword The action captured by the event.
event.category keyword Event category. The second categorization field in the hierarchy.
event.code keyword Identification code for this event.
event.dataset keyword Name of the dataset.
event.kind keyword The kind of the event. The highest categorization field in the hierarchy.
event.provider keyword Source of the event.
event.reason keyword Reason why this event happened, according to the source
event.type keyword Event type. The third categorization field in the hierarchy.
file.created date File creation time.
file.hash.sha1 keyword SHA1 hash.
file.hash.sha256 keyword SHA256 hash.
file.mtime date Last time the file content was modified.
file.name keyword Name of the file including the extension, without the directory.
file.path keyword Full path to the file, including the file name.
file.size long File size in bytes.
host.hostname keyword Hostname of the host.
host.ip ip Host ip addresses.
network.direction keyword Direction of the network traffic.
network.type keyword In the OSI Model this would be the Network Layer. ipv4, ipv6, ipsec, pim, etc
organization.id keyword Unique identifier for the organization.
organization.name keyword Organization name.
package.name keyword Package name
process.command_line wildcard Full command line that started the process.
process.executable keyword Absolute path to the process executable.
process.hash.sha1 keyword SHA1 hash.
process.name keyword Process name.
process.parent.command_line wildcard Full command line that started the process.
process.parent.executable keyword Absolute path to the process executable.
process.pid long Process id.
rule.description keyword Rule description
rule.id keyword Rule ID
rule.name keyword Rule name
source.address keyword Source network address.
source.ip ip IP address of the source.
source.port long Port of the source.
url.full wildcard Full unparsed URL.
user.domain keyword Name of the directory the user is a member of.
user.name keyword Short name or login of the user.
withsecure.alert.type keyword Type of alert
withsecure.amsi.content_name keyword Filename, URL, unique script ID, or similar of the content
withsecure.file.prevalence keyword The prevalence rating of the file. 0 - Undefined or not known. 1-50 Rare files. 50-100 Common files.
withsecure.file.rarity keyword Rarity of the file
withsecure.file.reputation keyword The reputation rating of the file, 0-9 - Clean file. 10-79 - Suspicious or potential unwanted (PUA) or Riskware. 0-89 - Unwanted Application. 90-100 - Known malicious. 101-999 - Unknown.
withsecure.incident.categories keyword Incident categories
withsecure.incident.fingerprint keyword Incident fingerprint that can be used to find similar incidents
withsecure.incident.id keyword Incident ID used to identify incident
withsecure.incident.readable_id keyword Readable Incident ID
withsecure.infection.name keyword Infection name
withsecure.infection.type keyword Type of infection
withsecure.profile.id keyword Profile ID where the rule is defined
withsecure.profile.name keyword Name of the profile where the rule is defined
withsecure.profile.version keyword Profile version where the rule is defined
withsecure.quarantine.id keyword ID of the related quarantine
withsecure.recommended_action keyword Recommended action
withsecure.severity keyword Security event severity
withsecure.target.company_name keyword Name of the company produced the target executable
withsecure.target.copyright.text keyword Target file copyright text
withsecure.target.file.description keyword Target file description
withsecure.target.file.version keyword Target file version
withsecure.target.product.name keyword Product name which the target executable belongs to
withsecure.target.product.version keyword Product version
withsecure.target.signature_signer_name keyword Name of the signer defined in the certificate
withsecure.throttled.count keyword Number of similar events happened within an hour

Configure

Create WithSecure Elements Credentials

In the WithSecure Elements Central Admin console:

  1. On the left panel, go to Management and select API clients.
  2. Click on Add new to create a new API client dedicated to Sekoia.io.
  3. Give it a description, check it is Read-Only and click on Add.
  4. In the API client Summary, copy the Client ID and the Secret before checking the box I have copied and stored the secret and closing the windows. They will be used later in Sekoia.io to retrieve the events.

WithSecure API Client Creation

Create the intake

  1. Go to the Intake page and create a new WithSecure Elements intake.
  2. Copy the associated Intake key

Create the playbook that fetches the events

  1. Go to the Playbook page.
  2. Click on + PLAYBOOK and choose Create a playbook from scratch.
  3. Give it a name such as Collect WithSecure Elements events and a description and click on Next.
  4. In Choose a trigger, select the Fetch security events.
  5. Click on the Fetch security events trigger and, on the right sidebar, create a new Module Configuration. Give it a name such as My Organisation WithSecure and enter your API Client credentials Client ID/Secret
  6. In the Trigger Configuration section, Click on Create new configuration.
  7. Write a name, paste the intake_key associated to your WithSecure Elements intake and click on Save.
  8. On the top right corner, start the Playbook. You should see monitoring messages in the Logs section of your action.
  9. After a couple of minutes check on the Events page that WithSecure Elements logs are being received.

WithSecure Playbook Example