Skip to content

Cisco ESA

Overview

Cisco Email Security Appliance (ESA) is a email gateway appliance that provides protection against spam, malware, viruses, and other email threats.

The following Sekoia.io built-in rules match the intake Cisco ESA. 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 Cisco ESA on ATT&CK Navigator

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
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
Bazar Loader DGA (Domain Generation Algorithm)

Detects Bazar Loader domains based on the Bazar Loader DGA

  • Effort: elementary
Bloodhound and Sharphound Tools Usage

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

  • Effort: intermediate
Burp Suite Tool Detected

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

  • Effort: intermediate
CVE-2018-11776 Apache Struts2

Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and in same time, its upper package have no or wildcard namespace and similar to results, same possibility when using url tag which doesn't have value and action set and in same time, its upper package have no or wildcard namespace.

  • Effort: intermediate
CVE-2019-0604 SharePoint

Detects the exploitation of the SharePoint vulnerability (CVE-2019-0604)

  • Effort: advanced
CVE-2020-0688 Microsoft Exchange Server Exploit

Detects the exploitation of CVE-2020-0688. The POC exploit a .NET serialization vulnerability in the Exchange Control Panel (ECP) web page. The vulnerability is due to Microsoft Exchange Server not randomizing the keys on a per-installation basis resulting in them using the same validationKey and decryptionKey values. With knowledge of these, values an attacker can craft a special viewstate to use an OS command to be executed by NT_AUTHORITY\SYSTEM using .NET deserialization. To exploit this vulnerability, an attacker needs to leverage the credentials of an account it had already compromised to authenticate to OWA.

  • Effort: elementary
CVE-2020-1147 SharePoint

Detection of SharePoint vulnerability CVE-2020-1147

  • Effort: advanced
CVE-2020-14882 Oracle WebLogic Server

Detects the exploitation of the Oracle WebLogic Server vulnerability (CVE-2020-16952)

  • Effort: advanced
CVE-2020-17530 Apache Struts RCE

Detects the exploitation of the Apache Struts vulnerability (CVE-2020-17530).

  • Effort: intermediate
CVE-2021-20021 SonicWall Unauthenticated Administrator Access

Detects the exploitation of SonicWall Unauthenticated Admin Access.

  • Effort: advanced
CVE-2021-20023 SonicWall Arbitrary File Read

Detects Arbitrary File Read, which can be used with other vulnerabilities as a mean to obtain outputs generated by attackers, or sensitive data.

  • Effort: advanced
CVE-2021-21972 VMware vCenter

The vSphere Client (HTML5) contains a remote code execution vulnerability in a vCenter Server plugin. A malicious actor with network access to port 443 may exploit this issue to execute commands with unrestricted privileges on the underlying operating system that hosts vCenter Server. This affects VMware vCenter Server (7.x before 7.0 U1c, 6.7 before 6.7 U3l and 6.5 before 6.5 U3n) and VMware Cloud Foundation (4.x before 4.2 and 3.x before 3.10.1.2). POST request on the following PATH "/ui/vropspluginui/rest/services/uploadova". If in response body (500) the words it has "uploadFile", that means the vCenter is available to accept files via POST without any restrictions.

  • Effort: intermediate
CVE-2021-21985 VMware vCenter

The vSphere Client (HTML5) contains a remote code execution vulnerability due to lack of input validation in the Virtual SAN Health Check plug-in which is enabled by default in vCenter Server. A malicious actor with network access to port 443 may exploit this issue to execute commands with unrestricted privileges on the underlying operating system that hosts vCenter Server. This affects VMware vCenter Server (7.0 before 7.0 U2b, 6.7 before 6.7 U3n and 6.5 before 6.5 U3p) and VMware Cloud Foundation (4.x before 4.2.1 and 3.x before 3.10.2.1).

  • Effort: advanced
CVE-2021-22123 Fortinet FortiWeb OS Command Injection

Detects Fortinet FortiWeb OS Command Injection (August 2021) vulnerability exploitation attempt. A remote, authenticated attacker can execute arbitrary commands on the system hosting a vulnerable FortiWeb WAF by sending a POST request with the command in the name field. At the time of writing this rule, it would appear that the request would respond in code 500 for a successful exploitation attempt.

  • Effort: advanced
CVE-2021-22893 Pulse Connect Secure RCE Vulnerability

Detects potential exploitation of the authentication by-pass vulnerability that can allow an unauthenticated user to perform remote arbitrary file execution on the Pulse Connect Secure gateway. It is highly recommended to apply the Pulse Secure mitigations and seach for indicators of compromise on affected servers if you are in doubt over the integrity of your Pulse Connect Secure product.

  • Effort: intermediate
CVE-2021-26855 Exchange SSRF

Detects the exploitation of ProyxLogon vulerability on Exchange servers.

  • Effort: advanced
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
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
Cobalt Strike Default Beacons Names

Detects the default names of Cobalt Strike beacons / payloads.

  • Effort: intermediate
Detect requests to Konni C2 servers

This rule detects requests to Konni C2 servers. These patterns come from an analysis done in 2022, September.

  • Effort: elementary
Download Files From Suspicious TLDs

Detects download of certain file types from hosts in suspicious TLDs

  • Effort: master
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
FoggyWeb HTTP Default GET/POST Requests

Detects GET or POST request pattern observed within the first FoggyWeb campaign detected by Microsoft.

  • 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
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
Koadic MSHTML Command

Detects Koadic payload using MSHTML module

  • Effort: intermediate
Microsoft Office Creating Suspicious File

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

  • Effort: master
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
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
Nimbo-C2 User Agent

Nimbo-C2 Uses an unusual User-Agent format in its implants.

  • Effort: intermediate
OneNote Embedded File

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

  • Effort: intermediate
PasswordDump SecurityXploded Tool

Detects the execution of the PasswordDump SecurityXploded Tool

  • Effort: elementary
Possible Malicious File Double Extension

Detects request to potential malicious file with double extension

  • Effort: elementary
Potential Bazar Loader User-Agents

Detects potential Bazar loader communications through the user-agent

  • Effort: elementary
Potential DNS Tunnel

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

  • Effort: advanced
Potential Lemon Duck User-Agent

Detects LemonDuck user agent. The format used two sets of alphabetical characters separated by dashes, for example "User-Agent: Lemon-Duck-[A-Z]-[A-Z]".

  • Effort: elementary
Privilege Escalation Awesome Scripts (PEAS)

Detect PEAS privileges escalation scripts and binaries

  • Effort: elementary
ProxyShell Exchange Suspicious Paths

Detects suspicious calls to Exchange resources, in locations related to webshells observed in campaigns using this vulnerability.

  • Effort: elementary
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
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
Remote Monitoring and Management Software - AnyDesk

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

  • Effort: master
SEKOIA.IO Intelligence Feed

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

  • 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
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 Download Links From Legitimate Services

Detects users clicking on Google docs links to download suspicious files. This technique was used a lot by Bazar Loader in the past.

  • Effort: elementary
Suspicious URI Used In A Lazarus Campaign

Detects suspicious requests to a specific URI, usually on an .asp page. The website is often compromised.

  • Effort: intermediate
System Info Discovery

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

  • Effort: master
Telegram Bot API Request

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

  • Effort: advanced
WCE wceaux.dll Creation

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

  • Effort: intermediate
WMI Persistence Script Event Consumer File Write

Detects file writes through WMI script event consumer.

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

Event Categories

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

Data Source Description
Email gateway Cisco ESA logs many details on every handled message
Mail server Cisco ESA logs many details on every handled message

Event Samples

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

{
    "message": "CEF:0|Cisco|C390 Email Security Appliance|14.2.2-004|ESA_CONSOLIDATED_LOG_EVENT|Consolidated Log Event|5|deviceExternalId=FFFFFFFFFFFF-AAAAAAAAAAA ESAMID=111111 ESAICID=2222222 ESADCID=444444 ESAAMPVerdict=UNKNOWN ESAASVerdict=NEGATIVE ESAAVVerdict=NOT_EVALUATED ESACFVerdict=MATCH endTime=Fri Jun 23 15:56:47 2023 ESADKIMVerdict=pass ESADMARCVerdict=Skipped dvc=5.6.7.8 ESAAttachmentDetails={\"sreenshot.jpg\": {'AMP': {'Verdict': 'FILE UNKNOWN', 'fileHash': '01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b'}}, \"schermata.jpg\": {'AMP': {'Verdict': 'FILE UNKNOWN', 'fileHash': ['01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b', '01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b', '01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b']}}, \"Capture d'\\xc3\\xa9cran.jpg\": {'BodyScanner': {}}, \"Capture d'\\xc3\\xa9cran 2.jpg\": {'BodyScanner': {}}} ESAFriendlyFrom=\"John Doe\" <john.doe@example.org> ESAGMVerdict=NEGATIVE startTime=Fri Jun 23 15:56:46 2023 deviceInboundInterface=IncomingMail deviceDirection=0 ESAMailFlowPolicy=ACCEPT suser=john.doe@example.org cs1Label=MailPolicy cs1=AdresseGenerique cs2Label=SenderCountry cs2=Italy ESAMFVerdict=NO_MATCH act=DELIVERED cs4Label=ExternalMsgID cs4='<aaaaaaaaaaaa$bbbbbbbb$cccccccc$@example.org>' ESAMsgSize=340614 ESAOFVerdict=NEGATIVE duser=jane.doe@example.com ESAHeloDomain=smtp.smtpout.example.org ESAHeloIP=5.6.7.8 cfp1Label=SBRSScore cfp1=3.5 ESASDRDomainAge=30 days (or greater) cs3Label=SDRThreatCategory cs3=N/A cs6Label=SDRRepScore cs6=Neutral ESASPFVerdict={'mailfrom': {'result': 'Pass', 'sender': 'john.doe@example.org'}, 'helo': {'result': 'Pass', 'sender': 'postmaster@smtp.smtpout.example.org'}, 'pra': {'result': 'None', 'sender': 'john.doe@example.org'}} sourceHostName=smtp.smtpout.example.org ESASenderGroup=UNKNOWNLIST sourceAddress=1.2.3.4 msg='My subject' ESAURLDetails={'http://schemas.microsoft.com/office/2004/12/omml': {'WbrsScore': 9.1999999999999993}, 'http://www.w3.org/TR/REC-html40': {'WbrsScore': 9.1999999999999993}}\n",
    "event": {
        "action": "delivered",
        "end": "2023-06-23T15:56:47Z",
        "severity": 5,
        "start": "2023-06-23T15:56:46Z"
    },
    "@timestamp": "2023-06-23T15:56:46Z",
    "cef": {},
    "cisco": {
        "esa": {
            "authentication": {
                "dkim": {
                    "verdict": "pass"
                },
                "dmarc": {
                    "verdict": "Skipped"
                },
                "spf": {
                    "verdict": "{\"helo\": {\"result\": \"Pass\", \"sender\": \"postmaster@smtp.smtpout.example.org\"}, \"mailfrom\": {\"result\": \"Pass\", \"sender\": \"john.doe@example.org\"}, \"pra\": {\"result\": \"None\", \"sender\": \"john.doe@example.org\"}}"
                }
            },
            "delivery": {
                "connection_id": "444444"
            },
            "email": {
                "message_size": "340614"
            },
            "helo": {
                "domain": "smtp.smtpout.example.org",
                "ip": "5.6.7.8"
            },
            "injection": {
                "connection_id": "2222222"
            },
            "protection": {
                "amp": {
                    "verdict": "UNKNOWN"
                },
                "antivirus": {
                    "verdict": "NOT_EVALUATED"
                },
                "spam": {
                    "verdict": "NEGATIVE"
                }
            },
            "sender_group": "UNKNOWNLIST",
            "source": {
                "domain": {
                    "age": "30 days (or greater)"
                }
            },
            "url": [
                "http://schemas.microsoft.com/office/2004/12/omml",
                "http://www.w3.org/TR/REC-html40"
            ]
        }
    },
    "email": {
        "attachments": [
            {
                "file": {
                    "hash": {
                        "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
                    },
                    "name": "sreenshot.jpg"
                }
            },
            {
                "file": {
                    "hash": {
                        "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
                    },
                    "name": "schermata.jpg"
                }
            },
            {
                "file": {
                    "hash": {
                        "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
                    },
                    "name": "schermata.jpg"
                }
            },
            {
                "file": {
                    "hash": {
                        "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
                    },
                    "name": "schermata.jpg"
                }
            },
            {
                "file": {
                    "name": "Capture d'\u00c3\u00a9cran.jpg"
                }
            },
            {
                "file": {
                    "name": "Capture d'\u00c3\u00a9cran 2.jpg"
                }
            }
        ],
        "from": {
            "address": [
                "john.doe@example.org"
            ]
        },
        "local_id": "111111",
        "message_id": "aaaaaaaaaaaa$bbbbbbbb$cccccccc$@example.org",
        "subject": "My subject",
        "to": {
            "address": [
                "jane.doe@example.com"
            ]
        }
    },
    "host": {
        "hostname": "smtp.smtpout.example.org",
        "name": "smtp.smtpout.example.org"
    },
    "network": {
        "direction": "inbound"
    },
    "observer": {
        "type": "C390 Email Security Appliance",
        "vendor": "Cisco",
        "version": "14.2.2-004"
    },
    "related": {
        "hosts": [
            "smtp.smtpout.example.org"
        ],
        "ip": [
            "1.2.3.4",
            "5.6.7.8"
        ]
    },
    "rule": {
        "name": "AdresseGenerique"
    },
    "server": {
        "ip": "5.6.7.8"
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    }
}
{
    "message": "CEF:0|Cisco|C300V Email Security Virtual Appliance|13.0.0-392|ESA_CONSOLIDATED_LOG_EVENT|Consolidated Log Event|5|deviceExternalId=4202A33F31B0BAAB537A-FBD06D401234 ESAMID=1251793 ESAICID=7186532 ESADCID=925893 ESAASVerdict=NEGATIVE ESAAVVerdict=NOT_EVALUATED ESACFVerdict=MATCH endTime=Mon May 11 16:56:58 2020 ESADLPVerdict=NOT_EVALUATED ESADMARCVerdict=Skipped dvc=1.2.3.4 ESAAttachmentDetails={'resume.docx': {'AMP': {'Verdict': 'MALICIOUS', 'fileHash': 'b26a1d694a9cebd742cfa5d09e5f5e4697f522cc12c2e9f23638c1078bb7b0c2'}, 'BodyScanner': {}}} ESAFriendlyFrom=senderexample@example.com ESAGMVerdict=NOT_EVALUATED startTime=Mon May 11 16:56:56 2020 deviceDirection=0 ESAMailFlowPolicy=ACCEPT suser=senderexample@example.com cs1Label=MailPolicy cs1=remove_webmail_quota_spam cs2Label=SenderCountry cs2=Spain ESAMFVerdict=NO_MATCH act=DELIVERED cs4Label=ExternalMsgID cs4='<ADR4500000227856433302E0EC2F783B1EEAA4F2E836DF8C5DBD@MAILERP.EXAMPLE.COM>' ESAOFVerdict=NEGATIVE duser=example@otherexample.com ESAHeloDomain=mail.example.com ESAHeloIP=1.2.3.4 cfp1Label=SBRSScore cfp1=3.5 ESASDRDomainAge=9 years 6 months 21 days cs3Label=SDRThreatCategory cs3=N/A cs6Label=SDRRepScore cs6=Weak ESASPFVerdict=None sourceHostName=mailhost.example.es ESASenderGroup=UNKNOWNLIST sourceAddress=1.2.3.4 msg='A cool subject 123' ESATLSInCipher=ECDHE-RSA-AES256-GCM-SHA384 ESATLSInConnStatus=Success ESATLSInProtocol=TLSv1.2 ESATLSOutCipher=ECDHE-RSA-AES256-GCM-SHA384 ESATLSOutConnStatus=Success ESATLSOutProtocol=TLSv1.2",
    "event": {
        "action": "delivered",
        "end": "2020-05-11T16:56:58Z",
        "severity": 5,
        "start": "2020-05-11T16:56:56Z"
    },
    "@timestamp": "2020-05-11T16:56:56Z",
    "cef": {},
    "cisco": {
        "esa": {
            "authentication": {
                "dmarc": {
                    "verdict": "Skipped"
                }
            },
            "delivery": {
                "connection_id": "925893"
            },
            "helo": {
                "domain": "mail.example.com",
                "ip": "1.2.3.4"
            },
            "injection": {
                "connection_id": "7186532"
            },
            "protection": {
                "antivirus": {
                    "verdict": "NOT_EVALUATED"
                },
                "dlp": {
                    "verdict": "NOT_EVALUATED"
                },
                "spam": {
                    "verdict": "NEGATIVE"
                }
            },
            "sender_group": "UNKNOWNLIST",
            "source": {
                "domain": {
                    "age": "9 years 6 months 21 days"
                }
            }
        }
    },
    "email": {
        "attachments": [
            {
                "file": {
                    "hash": {
                        "sha256": "b26a1d694a9cebd742cfa5d09e5f5e4697f522cc12c2e9f23638c1078bb7b0c2"
                    },
                    "name": "resume.docx"
                }
            }
        ],
        "from": {
            "address": [
                "senderexample@example.com"
            ]
        },
        "local_id": "1251793",
        "message_id": "ADR4500000227856433302E0EC2F783B1EEAA4F2E836DF8C5DBD@MAILERP.EXAMPLE.COM",
        "subject": "A cool subject 123",
        "to": {
            "address": [
                "example@otherexample.com"
            ]
        }
    },
    "host": {
        "hostname": "mailhost.example.es",
        "name": "mailhost.example.es"
    },
    "network": {
        "direction": "inbound"
    },
    "observer": {
        "type": "C300V Email Security Virtual Appliance",
        "vendor": "Cisco",
        "version": "13.0.0-392"
    },
    "related": {
        "hosts": [
            "mailhost.example.es"
        ],
        "ip": [
            "1.2.3.4"
        ]
    },
    "rule": {
        "name": "remove_webmail_quota_spam"
    },
    "server": {
        "ip": "1.2.3.4"
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    }
}
{
    "message": "CEF:0|Cisco|C300V Email Security Virtual Appliance|13.0.0-252|ESA_CONSOLIDATED_LOG_EVENT|Consolidated Log Event|5|deviceExternalId=420D4F36AAEBC0093B4F-B9E72189A021 ESAMID=4631 ESAAMPVerdict=SKIPPED ESAASVerdict=NEGATIVE ESAAVVerdict=NEGATIVE ESACFVerdict=MATCH ESADCID=66096 endTime=Tue Aug 13 15:15:48 2019 ESADKIMVerdict=pass ESADLPVerdict=NOT_EVALUATED ESADMARCVerdict=pass dvc=3.4.5.6 ESAAttachmentDetails={'presentation.pptx': {'AMP': {'Verdict': 'LOWRISK', 'fileHash': 'e4a4f9b7c4b4c7fb62b3df3c7e9e05811dc52c38eb8b76d3847f41ef299399e4'}, 'BodyScanner': {}}} ESAFriendlyFrom=no-reply@example.org ESAGMVerdict=NEGATIVE ESAICID=36050 startTime=Tue Aug 13 15:15:45 2019 deviceDirection=0 ESAMailFlowPolicy=ACCEPT suser=no-reply@example.org cs1Label=MailPolicy cs1=DEFAULT cs2Label=SenderCountry cs2=United States ESAMFVerdict=MATCH act=BOUNCED ESAFinalActionDetails=5.1.0 - Unknown address error cs4Label=ExternalMsgID cs4='<5d528dcf33830_812b56878564dc@ip-10-22-10-56.mail>' ESAOFVerdict=NEGATIVE duser=john.doe@example.org ESAHeloDomain=mail.example.orgm ESAHeloIP=10.0.0.0 cfp1Label=SBRSScore cfp1=0.9 ESASDRDomainAge=9 years 3 months 14 days cs3Label=SDRThreatCategory cs3=N/A cs6Label=SDRRepScore cs6=Neutral ESASPFVerdict=SoftFail sourceHostName=esa1.hc3033-47.iphmx.com ESASenderGroup=GREYLIST sourceAddress=1.2.3.4 msg=Cisco=20Advanced=20Phishing=20Protection=20System=20Notification=20for=20bce-demo ESATLSInCipher=ECDHE-RSA-AES128-GCM-SHA256 ESATLSInConnStatus=Success ESATLSInProtocol=TLSv1.2 ESATLSOutCipher=ECDHE-RSA-AES256-SHA384 ESATLSOutConnStatus=Success ESATLSOutProtocol=TLSv1.2 ESAURLDetails={'https://bce-demo.appc.cisco.com/sensors/a7b04388-0f6e-11e9-8def-0242ac110002': {'Category': 'Computers and Internet', 'WbrsScore': '7.3'}, 'http://mandrill.appc.cisco.com/track/open.php?u=30372747&id=d57275a6c9df40418a90fd977e3bf506': {'Category': 'Computers and Internet', 'WbrsScore': '7.3'}} deviceInboundInterface=IncomingMail",
    "event": {
        "action": "bounced",
        "end": "2019-08-13T15:15:48Z",
        "severity": 5,
        "start": "2019-08-13T15:15:45Z"
    },
    "@timestamp": "2019-08-13T15:15:45Z",
    "cef": {},
    "cisco": {
        "esa": {
            "authentication": {
                "dkim": {
                    "verdict": "pass"
                },
                "dmarc": {
                    "verdict": "pass"
                },
                "spf": {
                    "verdict": "SoftFail"
                }
            },
            "delivery": {
                "connection_id": "66096"
            },
            "event": {
                "action_details": "5.1.0 - Unknown address error"
            },
            "helo": {
                "domain": "mail.example.orgm",
                "ip": "10.0.0.0"
            },
            "injection": {
                "connection_id": "36050"
            },
            "protection": {
                "amp": {
                    "verdict": "SKIPPED"
                },
                "antivirus": {
                    "verdict": "NEGATIVE"
                },
                "dlp": {
                    "verdict": "NOT_EVALUATED"
                },
                "spam": {
                    "verdict": "NEGATIVE"
                }
            },
            "sender_group": "GREYLIST",
            "source": {
                "domain": {
                    "age": "9 years 3 months 14 days"
                }
            },
            "url": [
                "http://mandrill.appc.cisco.com/track/open.php?u=30372747&id=d57275a6c9df40418a90fd977e3bf506",
                "https://bce-demo.appc.cisco.com/sensors/a7b04388-0f6e-11e9-8def-0242ac110002"
            ]
        }
    },
    "email": {
        "attachments": [
            {
                "file": {
                    "hash": {
                        "sha256": "e4a4f9b7c4b4c7fb62b3df3c7e9e05811dc52c38eb8b76d3847f41ef299399e4"
                    },
                    "name": "presentation.pptx"
                }
            }
        ],
        "from": {
            "address": [
                "no-reply@example.org"
            ]
        },
        "local_id": "4631",
        "message_id": "5d528dcf33830_812b56878564dc@ip-10-22-10-56.mail",
        "subject": "Cisco=20Advanced=20Phishing=20Protection=20System=20Notification=20for=20bce-demo",
        "to": {
            "address": [
                "john.doe@example.org"
            ]
        }
    },
    "host": {
        "hostname": "esa1.hc3033-47.iphmx.com",
        "name": "esa1.hc3033-47.iphmx.com"
    },
    "network": {
        "direction": "inbound"
    },
    "observer": {
        "type": "C300V Email Security Virtual Appliance",
        "vendor": "Cisco",
        "version": "13.0.0-252"
    },
    "related": {
        "hosts": [
            "esa1.hc3033-47.iphmx.com"
        ],
        "ip": [
            "1.2.3.4",
            "3.4.5.6"
        ]
    },
    "rule": {
        "name": "DEFAULT"
    },
    "server": {
        "ip": "3.4.5.6"
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    }
}
{
    "message": "CEF:0|Cisco|C390 Email Security Appliance|14.2.1-015|ESA_CONSOLIDATED_LOG_EVENT|Consolidated Log Event|5|deviceExternalId=254be28187994bc7a37f496ceac54edd ESAMID=11111111 ESAICID=333333 ESADCID=2222222 ESAAMPVerdict=NOT_EVALUATED ESAASVerdict=NOT_EVALUATED ESAAVVerdict=NOT_EVALUATED ESACFVerdict=MATCH endTime=Wed Mar  1 19:02:03 2023 dvc=3.4.5.6 ESAAttachmentDetails={'resume.pdf': {'AMP': {'Verdict': 'HIGHRISK', 'fileHash': 'f41c7c5d8e3b3c2b5d5b787bc5e5f9e5e5c23d60933a24d8c36df3847c61ef1'}, 'BodyScanner': {}}} ESAFriendlyFrom=no-reply@example.org ESAGMVerdict=NOT_EVALUATED startTime=Wed Mar  1 19:02:03 2023 deviceOutboundInterface=OutgoingMail deviceDirection=1 ESAMailFlowPolicy=RELAY suser=no-reply@example.org cs1Label=MailPolicy cs1=RestrictionEmetteur cs2Label=SenderCountry cs2=not enabled ESAMFVerdict=NO_MATCH act=DELIVERED cs4Label=ExternalMsgID cs4='<11111111.2222222222222222222.JavaMail.ccccccccccc@dddddddddddddddd>' ESAMsgSize=3762 ESAOFVerdict=NOT_EVALUATED duser=john.doe@example.org ESAHeloDomain=mail.example.org ESAHeloIP=10.0.0.0 ESAReplyTo=no-reply@example.org cfp1Label=SBRSScore cfp1=not enabled sourceHostName=unknown ESASenderGroup=RELAYLIST sourceAddress=1.2.3.4 msg='\\=?UTF-8?Q?Nice to Meet you?\\='\n",
    "event": {
        "action": "delivered",
        "end": "2023-03-01T19:02:03Z",
        "severity": 5,
        "start": "2023-03-01T19:02:03Z"
    },
    "@timestamp": "2023-03-01T19:02:03Z",
    "cef": {},
    "cisco": {
        "esa": {
            "delivery": {
                "connection_id": "2222222"
            },
            "email": {
                "message_size": "3762"
            },
            "helo": {
                "domain": "mail.example.org",
                "ip": "10.0.0.0"
            },
            "injection": {
                "connection_id": "333333"
            },
            "protection": {
                "amp": {
                    "verdict": "NOT_EVALUATED"
                },
                "antivirus": {
                    "verdict": "NOT_EVALUATED"
                },
                "spam": {
                    "verdict": "NOT_EVALUATED"
                }
            },
            "sender_group": "RELAYLIST"
        }
    },
    "email": {
        "attachments": [
            {
                "file": {
                    "hash": {
                        "sha256": "f41c7c5d8e3b3c2b5d5b787bc5e5f9e5e5c23d60933a24d8c36df3847c61ef1"
                    },
                    "name": "resume.pdf"
                }
            }
        ],
        "from": {
            "address": [
                "no-reply@example.org"
            ]
        },
        "local_id": "11111111",
        "message_id": "11111111.2222222222222222222.JavaMail.ccccccccccc@dddddddddddddddd",
        "subject": "'\\=?UTF-8?Q?Nice to Meet you?\\='",
        "to": {
            "address": [
                "john.doe@example.org"
            ]
        }
    },
    "host": {
        "hostname": "unknown",
        "name": "unknown"
    },
    "network": {
        "direction": "outbound"
    },
    "observer": {
        "type": "C390 Email Security Appliance",
        "vendor": "Cisco",
        "version": "14.2.1-015"
    },
    "related": {
        "hosts": [
            "unknown"
        ],
        "ip": [
            "1.2.3.4",
            "3.4.5.6"
        ]
    },
    "rule": {
        "name": "RestrictionEmetteur"
    },
    "server": {
        "ip": "3.4.5.6"
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    }
}
{
    "message": "CEF:0|Cisco|C390 Email Security Appliance|14.2.1-015|ESA_CONSOLIDATED_LOG_EVENT|Consolidated Log Event|5|deviceExternalId=254be28187994bc7a37f496ceac54edd ESAMID=11111111 ESAICID=333333 ESADCID=2222222 ESAAMPVerdict=NOT_EVALUATED ESAASVerdict=NOT_EVALUATED ESAAVVerdict=NOT_EVALUATED ESACFVerdict=MATCH endTime=Wed Mar  1 19:02:03 2023 dvc=3.4.5.6 ESAAttachmentDetails={'invoice.pdf': {'AMP': {'Verdict': 'LOWRISK', 'fileHash': '01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b'}, 'BodyScanner': {}}} ESAFriendlyFrom=JOHN DOE <john.doe@example.com> ESAGMVerdict=NOT_EVALUATED startTime=Wed Mar  1 19:02:03 2023 deviceOutboundInterface=OutgoingMail deviceDirection=1 ESAMailFlowPolicy=RELAY suser=veuillez-ne-pas-repondre@example.org cs1Label=MailPolicy cs1=RestrictionEmetteur cs2Label=SenderCountry cs2=not enabled ESAMFVerdict=NO_MATCH act=DELIVERED cs4Label=ExternalMsgID cs4='<11111111111111111111111111111@ddddddd>' ESAMsgSize=111066 ESAOFVerdict=NOT_EVALUATED duser=jane.doe@example.org ESAHeloDomain=mail.example.org ESAHeloIP=10.0.0.0 cfp1Label=SBRSScore cfp1=not enabled sourceHostName=unknown ESASenderGroup=RELAYLISTTELEDEP sourceAddress=1.2.3.4 msg='\\=?utf-8?Q?For the meeting?\\='",
    "event": {
        "action": "delivered",
        "end": "2023-03-01T19:02:03Z",
        "severity": 5,
        "start": "2023-03-01T19:02:03Z"
    },
    "@timestamp": "2023-03-01T19:02:03Z",
    "cef": {},
    "cisco": {
        "esa": {
            "delivery": {
                "connection_id": "2222222"
            },
            "email": {
                "message_size": "111066"
            },
            "helo": {
                "domain": "mail.example.org",
                "ip": "10.0.0.0"
            },
            "injection": {
                "connection_id": "333333"
            },
            "protection": {
                "amp": {
                    "verdict": "NOT_EVALUATED"
                },
                "antivirus": {
                    "verdict": "NOT_EVALUATED"
                },
                "spam": {
                    "verdict": "NOT_EVALUATED"
                }
            },
            "sender_group": "RELAYLISTTELEDEP"
        }
    },
    "email": {
        "attachments": [
            {
                "file": {
                    "hash": {
                        "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
                    },
                    "name": "invoice.pdf"
                }
            }
        ],
        "from": {
            "address": [
                "veuillez-ne-pas-repondre@example.org"
            ]
        },
        "local_id": "11111111",
        "message_id": "11111111111111111111111111111@ddddddd",
        "subject": "\\=?utf-8?Q?For the meeting?\\=",
        "to": {
            "address": [
                "jane.doe@example.org"
            ]
        }
    },
    "host": {
        "hostname": "unknown",
        "name": "unknown"
    },
    "network": {
        "direction": "outbound"
    },
    "observer": {
        "type": "C390 Email Security Appliance",
        "vendor": "Cisco",
        "version": "14.2.1-015"
    },
    "related": {
        "hosts": [
            "unknown"
        ],
        "ip": [
            "1.2.3.4",
            "3.4.5.6"
        ]
    },
    "rule": {
        "name": "RestrictionEmetteur"
    },
    "server": {
        "ip": "3.4.5.6"
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    }
}
{
    "message": "CEF:0|Cisco|C390 Email Security Appliance|14.2.1-015|ESA_CONSOLIDATED_LOG_EVENT|Consolidated Log Event|5|deviceExternalId=254be28187994bc7a37f496ceac54edd ESAMID=11111111 ESAICID=333333 ESADCID=2222222 ESAAMPVerdict=LOW_RISK ESAASVerdict=NEGATIVE ESAAVVerdict=NOT_EVALUATED ESACFVerdict=MATCH endTime=Wed Mar  1 19:02:04 2023 ESADMARCVerdict=pass dvc=3.4.5.6 ESAAttachmentDetails={'invoice.pdf': {'AMP': {'Verdict': 'LOWRISK', 'fileHash': '01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b'}, 'BodyScanner': {}}} ESAFriendlyFrom=John Doe <john.doe@example.org> ESAGMVerdict=NEGATIVE startTime=Wed Mar  1 19:02:02 2023 deviceInboundInterface=IncomingMail deviceDirection=0 ESAMailFlowPolicy=ACCEPT suser=john.doe@example.org cs1Label=MailPolicy cs1=DEFAULT cs2Label=SenderCountry cs2=Netherlands ESAMFVerdict=NO_MATCH act=DELIVERED cs4Label=ExternalMsgID cs4='<44444444444444444444444444444444444444@77777777777777777777777777.EXAMPLE.COM>' ESAMsgSize=1197675 ESAOFVerdict=NEGATIVE duser=jane.doe@example.fr ESAHeloDomain=mail.example.org ESAHeloIP=10.0.0.0 cfp1Label=SBRSScore cfp1=3.5 ESASDRDomainAge=30 days (or greater) cs3Label=SDRThreatCategory cs3=N/A cs6Label=SDRRepScore cs6=Neutral ESASPFVerdict={'mailfrom': {'result': 'Pass', 'sender': 'john.doe@example.org'}, 'helo': {'result': 'Pass', 'sender': 'postmaster@example.org'}, 'pra': {'result': 'None', 'sender': 'john.doe@example.org'}} sourceHostName=outbound.example.com ESASenderGroup=UNKNOWNLIST sourceAddress=1.2.3.4 msg='Perso' ESAURLDetails={'https://tinyurl.es/tbdra': {'WbrsScore': 9.1999999999999993, 'ExpandedUrl': 'https://facebook.com/u/john.doe'}, 'www.twitter.com': {'WbrsScore': 0.0, 'AttachmentWithUrl': 'My document.pdf'}, 'https://tiktok.com': {'WbrsScore': 4.9000000000000004}}",
    "event": {
        "action": "delivered",
        "end": "2023-03-01T19:02:04Z",
        "severity": 5,
        "start": "2023-03-01T19:02:02Z"
    },
    "@timestamp": "2023-03-01T19:02:02Z",
    "cef": {},
    "cisco": {
        "esa": {
            "authentication": {
                "dmarc": {
                    "verdict": "pass"
                },
                "spf": {
                    "verdict": "{\"helo\": {\"result\": \"Pass\", \"sender\": \"postmaster@example.org\"}, \"mailfrom\": {\"result\": \"Pass\", \"sender\": \"john.doe@example.org\"}, \"pra\": {\"result\": \"None\", \"sender\": \"john.doe@example.org\"}}"
                }
            },
            "delivery": {
                "connection_id": "2222222"
            },
            "email": {
                "message_size": "1197675"
            },
            "helo": {
                "domain": "mail.example.org",
                "ip": "10.0.0.0"
            },
            "injection": {
                "connection_id": "333333"
            },
            "protection": {
                "amp": {
                    "verdict": "LOW_RISK"
                },
                "antivirus": {
                    "verdict": "NOT_EVALUATED"
                },
                "spam": {
                    "verdict": "NEGATIVE"
                }
            },
            "sender_group": "UNKNOWNLIST",
            "source": {
                "domain": {
                    "age": "30 days (or greater)"
                }
            },
            "url": [
                "https://facebook.com/u/john.doe",
                "https://tiktok.com",
                "www.twitter.com"
            ]
        }
    },
    "email": {
        "attachments": [
            {
                "file": {
                    "hash": {
                        "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
                    },
                    "name": "invoice.pdf"
                }
            }
        ],
        "from": {
            "address": [
                "john.doe@example.org"
            ]
        },
        "local_id": "11111111",
        "message_id": "44444444444444444444444444444444444444@77777777777777777777777777.EXAMPLE.COM",
        "subject": "Perso",
        "to": {
            "address": [
                "jane.doe@example.fr"
            ]
        }
    },
    "host": {
        "hostname": "outbound.example.com",
        "name": "outbound.example.com"
    },
    "network": {
        "direction": "inbound"
    },
    "observer": {
        "type": "C390 Email Security Appliance",
        "vendor": "Cisco",
        "version": "14.2.1-015"
    },
    "related": {
        "hosts": [
            "outbound.example.com"
        ],
        "ip": [
            "1.2.3.4",
            "3.4.5.6"
        ]
    },
    "rule": {
        "name": "DEFAULT"
    },
    "server": {
        "ip": "3.4.5.6"
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    }
}
{
    "message": "CEF:0|Cisco|C390 Email Security Appliance|14.2.1-015|ESA_CONSOLIDATED_LOG_EVENT|Consolidated Log Event|5|deviceExternalId=254be28187994bc7a37f496ceac54edd ESAMID=11111111 ESAICID=333333 ESADCID=2222222 ESAAMPVerdict=UNKNOWN ESAASVerdict=NEGATIVE ESAAVVerdict=NOT_EVALUATED ESACFVerdict=MATCH endTime=Wed Mar  1 19:02:05 2023 ESADKIMVerdict=pass ESADMARCVerdict=pass dvc=3.4.5.6 ESAAttachmentDetails={'unknown': {'AMP': {'Verdict': ['FILE UNKNOWN'], 'fileHash': ['87428fc522803d31065e7bce3cf03fe475096631e5e07bbd7a0fde60c4cf25c7']}}} ESAFriendlyFrom=John Doe <john.doe@example.org> ESAGMVerdict=NEGATIVE startTime=Wed Mar  1 19:02:02 2023 deviceInboundInterface=IncomingMail deviceDirection=0 ESAMailFlowPolicy=ACCEPT suser=john.doe@example.org cs1Label=MailPolicy cs1=DEFAULT cs2Label=SenderCountry cs2=United States ESAMFVerdict=NO_MATCH act=DELIVERED cs4Label=ExternalMsgID cs4='<111111111111111111111@mal.example.org>' ESAMsgSize=73748 ESAOFVerdict=NEGATIVE duser=jane.doe@example.org ESAHeloDomain=mail.example.org ESAHeloIP=10.0.0.0 cfp1Label=SBRSScore cfp1=3.5 ESASDRDomainAge=30 days (or greater) cs3Label=SDRThreatCategory cs3=N/A cs6Label=SDRRepScore cs6=Neutral ESASPFVerdict={'mailfrom': {'result': 'Pass', 'sender': 'john.doe@example.org'}, 'helo': {'result': 'Pass', 'sender': 'postmaster@example.org'}, 'pra': {'result': 'None', 'sender': 'no-reply@example.org'}} sourceHostName=outboun",
    "event": {
        "action": "delivered",
        "end": "2023-03-01T19:02:05Z",
        "severity": 5,
        "start": "2023-03-01T19:02:02Z"
    },
    "@timestamp": "2023-03-01T19:02:02Z",
    "cef": {},
    "cisco": {
        "esa": {
            "authentication": {
                "dkim": {
                    "verdict": "pass"
                },
                "dmarc": {
                    "verdict": "pass"
                },
                "spf": {
                    "verdict": "{\"helo\": {\"result\": \"Pass\", \"sender\": \"postmaster@example.org\"}, \"mailfrom\": {\"result\": \"Pass\", \"sender\": \"john.doe@example.org\"}, \"pra\": {\"result\": \"None\", \"sender\": \"no-reply@example.org\"}}"
                }
            },
            "delivery": {
                "connection_id": "2222222"
            },
            "email": {
                "message_size": "73748"
            },
            "helo": {
                "domain": "mail.example.org",
                "ip": "10.0.0.0"
            },
            "injection": {
                "connection_id": "333333"
            },
            "protection": {
                "amp": {
                    "verdict": "UNKNOWN"
                },
                "antivirus": {
                    "verdict": "NOT_EVALUATED"
                },
                "spam": {
                    "verdict": "NEGATIVE"
                }
            },
            "source": {
                "domain": {
                    "age": "30 days (or greater)"
                }
            }
        }
    },
    "email": {
        "attachments": [
            {
                "file": {
                    "hash": {
                        "sha256": "87428fc522803d31065e7bce3cf03fe475096631e5e07bbd7a0fde60c4cf25c7"
                    },
                    "name": "unknown"
                }
            }
        ],
        "from": {
            "address": [
                "john.doe@example.org"
            ]
        },
        "local_id": "11111111",
        "message_id": "111111111111111111111@mal.example.org",
        "to": {
            "address": [
                "jane.doe@example.org"
            ]
        }
    },
    "host": {
        "hostname": "outboun",
        "name": "outboun"
    },
    "network": {
        "direction": "inbound"
    },
    "observer": {
        "type": "C390 Email Security Appliance",
        "vendor": "Cisco",
        "version": "14.2.1-015"
    },
    "related": {
        "hosts": [
            "outboun"
        ],
        "ip": [
            "3.4.5.6"
        ]
    },
    "rule": {
        "name": "DEFAULT"
    },
    "server": {
        "ip": "3.4.5.6"
    }
}
{
    "message": "CEF:0|Cisco|C390 Email Security Appliance|14.2.1-015|ESA_CONSOLIDATED_LOG_EVENT|Consolidated Log Event|5|deviceExternalId=254be28187994bc7a37f496ceac54edd ESAMID=11111111 ESAICID=333333 ESAAMPVerdict=FA_PENDING ESAASVerdict=BULK_MAIL ESAAVVerdict=NOT_EVALUATED ESACFVerdict=MATCH endTime=Wed Mar  1 19:01:47 2023 ESADKIMVerdict=pass ESADMARCVerdict=Skipped dvc=3.4.5.6 ESAAttachmentDetails={'twitter.png': {'AMP': {'Verdict': 'FILE UNKNOWN', 'fileHash': '01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b'}, 'BodyScanner': {}}, 'appointement.ics': {'AMP': {'Verdict': 'FILE UNKNOWN', 'fileHash': '87428fc522803d31065e7bce3cf03fe475096631e5e07bbd7a0fde60c4cf25c7'}}, 'icon-linkedin.png': {'AMP': {'Verdict': 'FILE UNKNOWN', 'fileHash': 'a3a5e715f0cc574a73c3f9bebb6bc24f32ffd5b67b387244c2c909da779a1478'}, 'BodyScanner': {}}, 'fond-gris.png': {'AMP': {'Verdict': 'FILE UNKNOWN', 'fileHash': '8d74beec1be996322ad76813bafb92d40839895d6dd7ee808b17ca201eac98be'}, 'BodyScanner': {}}, 'bg-desktop-default-header.png': {'AMP': {'Verdict': 'FILE UNKNOWN', 'fileHash': '768c71d785bf6bbbf8c4d6af6582041f2659027140a962cd0c55b11eddfd5e3d'}, 'BodyScanner': {}}} ESAFriendlyFrom=John Doe <john.doe@example.org> ESAGMVerdict=POSITIVE startTime=Wed Mar  1 19:01:45 2023 deviceInboundInterface=IncomingMail deviceDirection=0 ESAMailFlowPolicy=ACCEPT suser=john.doe@example.org cs1Label=MailPolicy cs1=DEFAULT cs2Label=SenderCountry cs2=France ESAMFVerdict=NO_MATCH act=DQ ESAFinalActionDetails=Message held temporarily in Delay Quarantine cs4Label=ExternalMsgID cs4='<111111111111111111111@mal.example.org>' ESAMsgSize=174552 ESAOFVerdict=NEGATIVE duser=jane.doe@example.org ESAHeloDomain=mail.example.org ESAHeloIP=10.0.0.0 cfp1Label=SBRSScore cfp1=5.4 ESASDRDomainAge=30 days (or greater) cs3Label=SDRThreatCategory cs3=N/A cs6Label=SDRRepScore cs6=Neutral ESASPFVerdict={'mailfrom': {'result': 'Pass', 'sender': 'john.doe@example.org'}, 'helo': {'result': 'Pass', 'sender': 'postmaster@example.org'}, 'pra': {'result': 'None', 'sender': 'no-reply@example.org'}} sourceHostName=outbound.example.com ESASenderGroup=UNKNOWNLIST sourceAddress=1.2.3.4 msg='Validation of your request' ESAURLDetails={}",
    "event": {
        "action": "dq",
        "end": "2023-03-01T19:01:47Z",
        "severity": 5,
        "start": "2023-03-01T19:01:45Z"
    },
    "@timestamp": "2023-03-01T19:01:45Z",
    "cef": {},
    "cisco": {
        "esa": {
            "authentication": {
                "dkim": {
                    "verdict": "pass"
                },
                "dmarc": {
                    "verdict": "Skipped"
                },
                "spf": {
                    "verdict": "{\"helo\": {\"result\": \"Pass\", \"sender\": \"postmaster@example.org\"}, \"mailfrom\": {\"result\": \"Pass\", \"sender\": \"john.doe@example.org\"}, \"pra\": {\"result\": \"None\", \"sender\": \"no-reply@example.org\"}}"
                }
            },
            "email": {
                "message_size": "174552"
            },
            "event": {
                "action_details": "Message held temporarily in Delay Quarantine"
            },
            "helo": {
                "domain": "mail.example.org",
                "ip": "10.0.0.0"
            },
            "injection": {
                "connection_id": "333333"
            },
            "protection": {
                "amp": {
                    "verdict": "FA_PENDING"
                },
                "antivirus": {
                    "verdict": "NOT_EVALUATED"
                },
                "spam": {
                    "verdict": "BULK_MAIL"
                }
            },
            "sender_group": "UNKNOWNLIST",
            "source": {
                "domain": {
                    "age": "30 days (or greater)"
                }
            },
            "url": []
        }
    },
    "email": {
        "attachments": [
            {
                "file": {
                    "hash": {
                        "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
                    },
                    "name": "twitter.png"
                }
            },
            {
                "file": {
                    "hash": {
                        "sha256": "87428fc522803d31065e7bce3cf03fe475096631e5e07bbd7a0fde60c4cf25c7"
                    },
                    "name": "appointement.ics"
                }
            },
            {
                "file": {
                    "hash": {
                        "sha256": "a3a5e715f0cc574a73c3f9bebb6bc24f32ffd5b67b387244c2c909da779a1478"
                    },
                    "name": "icon-linkedin.png"
                }
            },
            {
                "file": {
                    "hash": {
                        "sha256": "8d74beec1be996322ad76813bafb92d40839895d6dd7ee808b17ca201eac98be"
                    },
                    "name": "fond-gris.png"
                }
            },
            {
                "file": {
                    "hash": {
                        "sha256": "768c71d785bf6bbbf8c4d6af6582041f2659027140a962cd0c55b11eddfd5e3d"
                    },
                    "name": "bg-desktop-default-header.png"
                }
            }
        ],
        "from": {
            "address": [
                "john.doe@example.org"
            ]
        },
        "local_id": "11111111",
        "message_id": "111111111111111111111@mal.example.org",
        "subject": "Validation of your request",
        "to": {
            "address": [
                "jane.doe@example.org"
            ]
        }
    },
    "host": {
        "hostname": "outbound.example.com",
        "name": "outbound.example.com"
    },
    "network": {
        "direction": "inbound"
    },
    "observer": {
        "type": "C390 Email Security Appliance",
        "vendor": "Cisco",
        "version": "14.2.1-015"
    },
    "related": {
        "hosts": [
            "outbound.example.com"
        ],
        "ip": [
            "1.2.3.4",
            "3.4.5.6"
        ]
    },
    "rule": {
        "name": "DEFAULT"
    },
    "server": {
        "ip": "3.4.5.6"
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    }
}
{
    "message": "CEF:0|Cisco|C390 Email Security Appliance|14.2.1-015|ESA_CONSOLIDATED_LOG_EVENT|Consolidated Log Event|5|deviceExternalId=254be28187994bc7a37f496ceac54edd ESAMID=11111111 ESADCID=2222222 ESAStatus=QUEUED",
    "event": {
        "severity": 5
    },
    "cef": {},
    "cisco": {
        "esa": {
            "delivery": {
                "connection_id": "2222222"
            },
            "status": "QUEUED"
        }
    },
    "email": {
        "local_id": "11111111"
    },
    "observer": {
        "type": "C390 Email Security Appliance",
        "vendor": "Cisco",
        "version": "14.2.1-015"
    }
}
{
    "message": "CEF:0|Cisco|C390 Email Security Appliance|14.2.1-015|ESA_CONSOLIDATED_LOG_EVENT|Consolidated Log Event|5|deviceExternalId=00F66XXXX-FCH2025V2LQ ESAMID=351452154 ESAICID=317589723 ESADCID=192175459 ESADLPVerdict=NOT EVALUATED ESAASVerdict=NOT_EVALUATED ESAAVVerdict=NOT_EVALUATED ESACFVerdict=MATCH endTime=Mon Jun 13 08:02:06 2023 ESADKIMVerdict=pass ESADMARCVerdict=pass dvc=192.168.128.137 ESAAttachmentDetails={'bob.png': {'AMP': {'Verdict': 'FILE UNKNOWN', 'fileHash': '2062932a5c017252038b001b14e1dfd09501742faeb7275da8e031eacfa963ed'}, 'BodyScanner': {}}, 'Signature Jean Dupont.png': {'AMP': {'Verdict': 'FILE UNKNOWN', 'fileHash': 'a0e121e017afed94380de0658e51f4bed14f6cffc3d7f2026f5c3cafcf8273f4'}, 'BodyScanner': {}}, 'FICHE.pdf': {'AMP': {'Verdict': 'LOWRISK', 'fileHash': 'e4b2d60cea9c09a0871d0f94fe9ca38010ef8e552f67e7cdec7489d2a1818354'}, 'BodyScanner': {}}} ESAFriendlyFrom=Marc Dupont <m.dupont@corp.fr> ESAGMVerdict=NEGATIVE startTime=Mon Jun 13 08:02:04 2023 deviceInboundInterface=IncomingMail deviceDirection=0 ESAMailFlowPolicy=ACCEPT suser=m.dupont@corp.fr cs1Label=MailPolicy cs1=DEFAULT cs2Label=SenderCountry cs2=Switzerland ESAMFVerdict=NO_MATCH act=DELIVERED cs4Label=ExternalMsgID cs4='<17f42d91-1908-aecb-adfd-a6e9c92e623e@corp.fr>' ESAMsgSize=418081 ESAOFVerdict=POSITIVE duser=evil@corp.fr ESAHeloDomain=ov-3bd8ca.ch2.telecom.com ESAHeloIP=192.168.10.244 cfp1Label=SBRSScore cfp1=None ESASDRDomainAge=30 days (or greater) cs3Label=SDRThreatCategory cs3=N/A cs6Label=SDRRepScore cs6=Neutral ESASPFVerdict={'mailfrom': {'result': 'Pass', 'sender': 'lol@evil.fr'}, 'helo': {'result': 'None', 'sender': 'postmaster@ov-3bd8ca.ch2.telecom.com'}, 'pra': {'result': 'None', 'sender': 'm.dupont@corp.fr'}} sourceHostName=ov-3bd8ca.ch2.telecom.com ESASenderGroup=SUSPECTLIST sourceAddress=192.168.1.244 msg='\\=?UTF-8?Q?N\\=c2\\=b0_CORP\\= \\=?UTF-8?Q?020?\\='",
    "event": {
        "action": "delivered",
        "end": "2023-06-13T08:02:06Z",
        "severity": 5,
        "start": "2023-06-13T08:02:04Z"
    },
    "@timestamp": "2023-06-13T08:02:04Z",
    "cef": {},
    "cisco": {
        "esa": {
            "authentication": {
                "dkim": {
                    "verdict": "pass"
                },
                "dmarc": {
                    "verdict": "pass"
                },
                "spf": {
                    "verdict": "{\"helo\": {\"result\": \"None\", \"sender\": \"postmaster@ov-3bd8ca.ch2.telecom.com\"}, \"mailfrom\": {\"result\": \"Pass\", \"sender\": \"lol@evil.fr\"}, \"pra\": {\"result\": \"None\", \"sender\": \"m.dupont@corp.fr\"}}"
                }
            },
            "delivery": {
                "connection_id": "192175459"
            },
            "email": {
                "message_size": "418081"
            },
            "helo": {
                "domain": "ov-3bd8ca.ch2.telecom.com",
                "ip": "192.168.10.244"
            },
            "injection": {
                "connection_id": "317589723"
            },
            "protection": {
                "antivirus": {
                    "verdict": "NOT_EVALUATED"
                },
                "dlp": {
                    "verdict": "NOT EVALUATED"
                },
                "spam": {
                    "verdict": "NOT_EVALUATED"
                }
            },
            "sender_group": "SUSPECTLIST",
            "source": {
                "domain": {
                    "age": "30 days (or greater)"
                }
            }
        }
    },
    "email": {
        "attachments": [
            {
                "file": {
                    "hash": {
                        "sha256": "2062932a5c017252038b001b14e1dfd09501742faeb7275da8e031eacfa963ed"
                    },
                    "name": "bob.png"
                }
            },
            {
                "file": {
                    "hash": {
                        "sha256": "a0e121e017afed94380de0658e51f4bed14f6cffc3d7f2026f5c3cafcf8273f4"
                    },
                    "name": "Signature Jean Dupont.png"
                }
            },
            {
                "file": {
                    "hash": {
                        "sha256": "e4b2d60cea9c09a0871d0f94fe9ca38010ef8e552f67e7cdec7489d2a1818354"
                    },
                    "name": "FICHE.pdf"
                }
            }
        ],
        "from": {
            "address": [
                "m.dupont@corp.fr"
            ]
        },
        "local_id": "351452154",
        "message_id": "17f42d91-1908-aecb-adfd-a6e9c92e623e@corp.fr",
        "subject": "\\=?UTF-8?Q?N\\=c2\\=b0_CORP\\= \\=?UTF-8?Q?020?\\=",
        "to": {
            "address": [
                "evil@corp.fr"
            ]
        }
    },
    "host": {
        "hostname": "ov-3bd8ca.ch2.telecom.com",
        "name": "ov-3bd8ca.ch2.telecom.com"
    },
    "network": {
        "direction": "inbound"
    },
    "observer": {
        "type": "C390 Email Security Appliance",
        "vendor": "Cisco",
        "version": "14.2.1-015"
    },
    "related": {
        "hosts": [
            "ov-3bd8ca.ch2.telecom.com"
        ],
        "ip": [
            "192.168.1.244",
            "192.168.128.137"
        ]
    },
    "rule": {
        "name": "DEFAULT"
    },
    "server": {
        "ip": "192.168.128.137"
    },
    "source": {
        "address": "192.168.1.244",
        "ip": "192.168.1.244"
    }
}

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.
cisco.esa.authentication.dkim.verdict keyword This field indicates the verdict assigned to a message by the ESA's DKIM authentication mechanism. DKIM is a protocol used to verify the integrity of an email message by checking a digital signature applied by the sender's domain.
cisco.esa.authentication.dmarc.verdict keyword This field indicates the verdict assigned to a message by the ESA's Domain-based Message Authentication, Reporting & Conformance (DMARC) mechanism. DMARC is a protocol used to verify the authenticity of email messages by checking various authentication mechanisms, such as Sender Policy Framework (SPF) and DomainKeys Identified Mail (DKIM).
cisco.esa.authentication.spf.verdict keyword This field indicates the verdict assigned to a message by the ESA's SPF authentication mechanism. SPF is a protocol used to verify that an email message was sent from an authorized IP address for the sender's domain.
cisco.esa.delivery.connection_id keyword
cisco.esa.email.message_size keyword This field represents the size of the email message
cisco.esa.event.action_details keyword This field contains the details about the action of the event
cisco.esa.helo.domain keyword This field indicates the domain name associated with the HELO (or EHLO) command used by the sending
cisco.esa.helo.ip ip This field indicates the IP address associated with the HELO (or EHLO) command used by the sending server during the SMTP handshake. The HELO command is used to identify the sending server to the receiving server, and the IP address can be used to help identify the geographic location of the sending server.
cisco.esa.injection.connection_id keyword This field is similar to the cisco.esa.connection_id field, but it specifically refers to the connection ID associated with an incoming message that is being injected into the ESA for processing.
cisco.esa.protection.amp.verdict keyword This field indicates the verdict assigned to a message by the ESA's Advanced Malware Protection (AMP). A verdict can be either clean (indicating that the message does not contain any known viruses or malware) or malicious (indicating that the message contains one or more viruses or malware).
cisco.esa.protection.antivirus.verdict keyword This field indicates the verdict assigned to a message by the ESA's antivirus protection mechanism. A verdict can be either clean (indicating that the message does not contain any known viruses or malware) or infected (indicating that the message contains one or more viruses or malware).
cisco.esa.protection.dlp.verdict keyword This field indicates the verdict assigned to a message by the ESA's data loss prevention (DLP) protection mechanism. DLP is a set of tools and techniques used to prevent sensitive or confidential data from being disclosed or leaked, and the verdict for a message can indicate whether it contains any such data.
cisco.esa.protection.spam.verdict keyword This field indicates the verdict assigned to a message by the ESA's spam protection mechanism. A verdict can be either spam (indicating that the message is likely unwanted or malicious) or not spam (indicating that the message is legitimate).
cisco.esa.sender_group keyword This field refers to the sender group assigned to a message by the ESA. A sender group is a way to categorize email senders based on various criteria, such as domain name, IP address, or other attributes. By assigning a sender group to a message, the ESA can apply different policies or filtering rules based on the characteristics of the sender.
cisco.esa.source.domain.age keyword This field indicates the age of the domain associated with the sender of a message. Older domains are generally considered more trustworthy than newer domains, so this field can be used as a factor in determining whether a message is legitimate or spam.
cisco.esa.status keyword
cisco.esa.url keyword the declaration of the cisco urls
destination.domain keyword The domain name of the destination.
destination.ip ip IP address of the destination.
destination.mac keyword MAC address of the destination.
destination.nat.ip ip Destination NAT ip
destination.nat.port long Destination NAT Port
destination.port long Port of the destination.
destination.user.id keyword Unique identifier of the user.
email.attachments array A list of objects describing the attachment files sent along with an email message
email.from.address array A list of source email
email.local_id keyword Unique identifier given by the source.
email.message_id wildcard Value from the Message-ID header.
email.subject keyword The subject of the email message.
email.to.address array A list of destination email
event.action keyword The action captured by the event.
event.end date event.end contains the date when the event ended or when the activity was last observed.
event.outcome keyword The outcome of the event. The lowest level categorization field in the hierarchy.
event.severity long Numeric severity of the event.
event.start date event.start contains the date when the event started or when the activity was first observed.
event.timezone keyword Event time zone.
file.inode keyword Inode representing the file in the filesystem.
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.
file.type keyword File type (file, dir, or symlink).
host.domain keyword Name of the directory the group is a member of.
host.hostname keyword Hostname of the host.
host.id keyword Unique host id.
host.name keyword Name of the host.
host.network.egress.bytes long The number of bytes sent on all network interfaces.
host.network.ingress.bytes long The number of bytes received on all network interfaces.
http.request.method keyword HTTP request method.
http.request.referrer keyword Referrer for this HTTP request.
log.syslog.facility.name keyword Syslog text-based facility of the event.
network.protocol keyword Application protocol name.
observer.egress.interface.name keyword Interface name
observer.ingress.interface.name keyword Interface name
observer.type keyword The type of the observer the data is coming from.
observer.vendor keyword Vendor name of the observer.
observer.version keyword Observer version.
process.name keyword Process name.
rule.name keyword Rule name
server.ip ip IP address of the server.
service.name keyword Name of the service.
source.domain keyword The domain name of the source.
source.ip ip IP address of the source.
source.mac keyword MAC address of the source.
source.nat.ip ip Source NAT ip
source.nat.port long Source NAT port
source.port long Port of the source.
url.domain keyword Domain of the url.
url.original wildcard Unmodified original url as seen in the event source.
user_agent.original keyword Unparsed user_agent string.

Configure

Prerequisites

An internal log concentrator is required to collect and forward events to Sekoia.io.

Enable Syslog forwarding

To enable log forwarding:

  1. Log in your Cisco appliance
  2. Go to System Administration > Log Subscriptions
  3. In Add Log Subscription, Select Consolidated Event Logs as the log type
  4. Select the fields that you want in the consolidated event logs
  5. In Retrieval Method, Check Syslog Push and fill the form with the ip address and the port of your log concentrator
  6. Submit and commit your changes

Create the intake

Go to the intake page and create a new intake from the format Cisco Email Security Appliance.

Forward logs to Sekoia.io

Please consult the Syslog Forwarding documentation to forward these logs to Sekoia.io.

Further Readings