-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Cisco Secure Endpoint - AlertEvent ASIM Parser #13741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Steve1145
wants to merge
7
commits into
Azure:master
Choose a base branch
from
Steve1145:bluevoyant/asim/alert
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+610
−6
Open
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2c16122
Cisco Secure Endpoint - AlertEvent ASIM Parser
Steve1145 1aabad2
Correct parser exclusions
SpeedyFireCyclone 74e5aad
Merge branch 'master' into pr/13741
v-maheshbh 4262fc8
Microsoft comments - updates
Steve1145 f21ae51
adding sample data
Steve1145 a4dbbc7
corrected sample data formats
Steve1145 508fbad
address requested changes
Steve1145 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
Parsers/ASimAlertEvent/CHANGELOG/ASimAlertEventCiscoSecureEndpoint.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Changelog for ASimAlertEventCiscoSecureEndpoint.yaml | ||
|
|
||
| ## Version 0.1.0 | ||
|
|
||
| - (2026-03-04) Cisco Secure Endpoint - AlertEvent ASIM Parser - [PR #13741](https://github.com/Azure/Azure-Sentinel/pull/13741) | ||
5 changes: 5 additions & 0 deletions
5
Parsers/ASimAlertEvent/CHANGELOG/vimAlertEventCiscoSecureEndpoint.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Changelog for vimAlertEventCiscoSecureEndpoint.yaml | ||
|
|
||
| ## Version 0.1.0 | ||
|
|
||
| - (2026-03-04) Cisco Secure Endpoint - AlertEvent ASIM Parser - [PR #13741](https://github.com/Azure/Azure-Sentinel/pull/13741) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
221 changes: 221 additions & 0 deletions
221
Parsers/ASimAlertEvent/Parsers/ASimAlertEventCiscoSecureEndpoint.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,221 @@ | ||
| Parser: | ||
| Title: Alert Event ASIM parser for Cisco Secure Endpoint | ||
| Version: '0.1.0' | ||
| LastUpdated: Mar 04, 2026 | ||
| Product: | ||
| Name: Cisco Secure Endpoint | ||
| Normalization: | ||
| Schema: AlertEvent | ||
| Version: '0.1' | ||
| References: | ||
| - Title: ASIM Alert Schema | ||
| Link: https://aka.ms/ASimAlertEventDoc | ||
| - Title: ASIM | ||
| Link: https://aka.ms/AboutASIM | ||
| - Title: Developer | ||
| Link: https://www.bluevoyant.com/ | ||
| Description: | | ||
| This ASIM parser supports normalizing the Cisco Secure Endpoint logs (via Codeless Connector Framework) to the ASIM Alert normalized schema. | ||
| ParserName: ASimAlertEventCiscoSecureEndpoint | ||
| EquivalentBuiltInParser: | ||
Steve1145 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ParserParams: | ||
| - Name: disabled | ||
| Type: bool | ||
| Default: false | ||
| - Name: pack | ||
| Type: bool | ||
| Default: false | ||
| ParserQuery: | | ||
| let CiscoSEParser = ( | ||
| disabled: bool=false, | ||
| pack: bool=false | ||
| ) | ||
| { | ||
| CiscoSecureEndpointEventsV2_CL | ||
| | where not(disabled) | ||
| | where isnotempty(Severity) //Filter in only security events and not operational logs | ||
| | extend | ||
| EventUid = tostring(Id), | ||
| EventOriginalType = tostring(EventTypeId) | ||
| | project-rename | ||
| EventOriginalSeverity = Severity, | ||
| EventEndTime = Date, | ||
| EventReportUrl = ComputerLinksTrajectory, | ||
| AlertName = EventType | ||
| | extend | ||
| EventMessage = coalesce(CloudIocDescription, CloudIocShortDescription, BpDataName, Detection), | ||
| EventProductVersion = coalesce(BpDataDetailsEngVer, 'Cloud'), | ||
| EventStartTime = unixtime_seconds_todatetime(Timestamp), | ||
| EventOriginalUid = coalesce(BpDataId, DetectionId, dynamic(null)), | ||
| EventSeverity = case( | ||
| EventOriginalSeverity in ('Critical', 'High'), 'High', | ||
| EventOriginalSeverity == 'Medium', 'Medium', | ||
| EventOriginalSeverity == 'Low', 'Low', | ||
| 'Informational' | ||
| ), | ||
| DvcOriginalAction = coalesce(FileParentDisposition, dynamic(null)), | ||
| DvcId = coalesce(BpDataDeviceOsMachineUuid, ComputerConnectorGuid), | ||
| DvcOs = coalesce(strcat(BpDataDeviceOsName, ' ', BpDataDeviceOsEdition), dynamic(null)), | ||
| DvcOsVersion = coalesce(BpDataDeviceOsBuild, dynamic(null)), | ||
| DvcDescription = coalesce(BpDataDeviceHwInfoVendorName, dynamic(null)), | ||
| RuleName = coalesce(Detection, BpDataDetection, dynamic(null)), | ||
| ThreatId = coalesce(BpDataDetection, dynamic(null)), | ||
| Hostname = coalesce(ComputerHostname, Hostname), | ||
| DvcIdType = 'Other', | ||
| DvcIpAddr = extract_json('$[0].ip', ComputerNetworkAddresses), | ||
| DvcMacAddr = extract_json('$[0].mac', ComputerNetworkAddresses) | ||
| | invoke _ASIM_ResolveDvcFQDN("Hostname") | ||
| | project-away Hostname | ||
| | mv-apply _a = parse_json(BpDataDetailsMatchedActivityEvents) on ( | ||
| extend | ||
| DvcDomain = coalesce(tostring(_a.['process:start'].user.domain), tostring(_a.['telemetry:api_invoke'].user.domain)), | ||
| Username = coalesce(tostring(_a.['process:start'].user.name), tostring(_a.['telemetry:api_invoke'].user.name)), | ||
| UserId = coalesce(tostring(_a.['process:start'].user.sid), tostring(_a.['telemetry:api_invoke'].user.sid)), | ||
| FileName = coalesce(tostring(_a.['process:start'].app.original_file_name), tostring(_a.['telemetry:api_invoke'].app.original_file_name)), | ||
| FilePath = coalesce(tostring(_a.['process:start'].app.path), tostring(_a.['telemetry:api_invoke'].app.path)), | ||
| ParentFileName = coalesce(tostring(_a.['process:start'].parent_app.original_file_name), tostring(_a.['telemetry:api_invoke'].parent_app.original_file_name)), | ||
| ParentFilePath = coalesce(tostring(_a.['process:start'].parent_app.path), tostring(_a.['telemetry:api_invoke'].parent_app.path)), | ||
| ProcessCommandLine = coalesce(tostring(_a.['process:start'].cmd_line), tostring(_a.['telemetry:api_invoke'].cmd_line)), | ||
| FileSHA256 = coalesce(tostring(_a.['process:start'].app.sha256), tostring(_a.['telemetry:api_invoke'].app.sha256)), | ||
| FileSize = tolong(coalesce(tostring(_a.['process:start'].app.size), tostring(_a.['telemetry:api_invoke'].app.size))), | ||
| ParentFileSHA256 = coalesce(tostring(_a.['process:start'].parent_app.sha256), tostring(_a.['telemetry:api_invoke'].parent_app.sha256)), | ||
| ProcessId = coalesce(tostring(_a.['process:start'].pid), tostring(_a.['telemetry:api_invoke'].pid)), | ||
| ParentProcessId = coalesce(tostring(_a.['process:start'].parent_pid), tostring(_a.['telemetry:api_invoke'].parent_pid)) | ||
| | project-away _a | ||
| | project DvcDomain, Username, UserId, FileName, FilePath, ParentFileName, ParentFilePath, ProcessCommandLine, FileSHA256, FileSize, ParentFileSHA256, ProcessId, ParentProcessId | ||
| ) | ||
| | extend | ||
| BpDataObservablesFile = parse_json(BpDataObservablesFile), | ||
| FileName = coalesce(FileFileName, FileName, dynamic(null)), | ||
| FilePath = coalesce(FileFilePath, FilePath, dynamic(null)), | ||
| ProcessCommandLine = coalesce(ProcessCommandLine, CommandLineArguments, dynamic(null)), | ||
| UserIdType = iff(isnotempty(UserId), 'Other', dynamic(null)), | ||
| DvcAction = case( | ||
| DvcOriginalAction == 'Clean', 'Allow', | ||
| DvcOriginalAction == 'Unknown', 'Unknown', | ||
| 'Unknown' | ||
| ), | ||
| Username = coalesce(IsolationUser, ComputerUser, Username) | ||
| | extend | ||
| FileSHA1 = coalesce(FileIdentitySha1, BpDataObservablesFile.[0].sha1, dynamic(null)),//orginal file always first item in array | ||
| FileSHA256 = coalesce(FileIdentitySha256, BpDataObservablesFile.[0].sha256, dynamic(null)), | ||
| FileMD5 = coalesce(FileIdentityMd5, BpDataObservablesFile.[0].md5, dynamic(null)), | ||
| ParentFileSHA1 = coalesce(FileParentIdentityMd5, BpDataObservablesFile.[1].sha1, dynamic(null)),//parent file always first item in array | ||
| ParentFileSHA256 = coalesce(FileParentIdentityMd5, BpDataObservablesFile.[1].sha256, dynamic(null)), | ||
| ParentFileMD5 = coalesce(FileParentIdentityMd5, BpDataObservablesFile.[1].md5, dynamic(null)), | ||
| UsernameType = iff(isnotempty(Username), 'Simple', dynamic(null)) | ||
| | mv-apply _t = parse_json(Techniques) on ( | ||
| extend Technique = iff(isnotempty(_t), strcat('(',tostring(_t),')'), dynamic(null)) | ||
| | summarize AttackTechniques = strcat_array(make_set(Technique), ', ') | ||
| ) | ||
| | mv-apply _t = parse_json(Tactics) to typeof(string) on ( | ||
| extend Tactic = iff( | ||
| isnotempty(_t), | ||
| replace_strings( | ||
| _t, | ||
| dynamic(['TA0043', 'TA0042', 'TA0001', 'TA0002', 'TA0003', 'TA0004', 'TA0005', 'TA0006', 'TA0007', 'TA0008', 'TA0009', 'TA0011', 'TA0010', 'TA0040']), | ||
| dynamic(['Reconnaissance (TA0043)', 'Resource Development (TA0042)', 'Initial Access (TA0001)', 'Execution (TA0002)', 'Persistence (TA0003)', 'Privilege Escalation (TA0004)', 'Defense Evasion (TA0005)', 'Credential Access (TA0006)', 'Discovery (TA0007)', 'Lateral Movement (TA0008)','Collection (TA0009)', 'Command and Control (TA0011)', 'Exfiltration (TA0010)', 'Impact (TA0040)']) | ||
| ), | ||
| '' | ||
| ) | ||
| | summarize AttackTactics = strcat_array(make_set(Tactic), ', ') | ||
| ) | ||
| | extend | ||
| EventProduct = 'Secure Endpoint', | ||
| EventVendor = 'Cisco', | ||
| EventSchema = 'AlertEvent', | ||
| EventSchemaVersion = '0.1', | ||
| EventType = 'Alert', | ||
| EventSubType = 'Threat', | ||
| EventCount = int(1), | ||
| IndicatorType = 'File' | ||
| | extend AdditionalFields = iff ( | ||
| pack, | ||
| bag_pack( | ||
| 'ComputerExternalIp', ComputerExternalIp, | ||
| 'ComputerActive', ComputerActive, | ||
| 'ComputerNetworkAddresses', ComputerNetworkAddresses, | ||
| 'CloudIocShortDescription', CloudIocShortDescription, | ||
| 'BpDataRemediated', BpDataRemediated, | ||
| 'BpDataSilent', BpDataSilent, | ||
| 'BpDataType', BpDataType, | ||
| 'BpDataDetailsActions', BpDataDetailsActions, | ||
| 'BpDataDetailsSigId', BpDataDetailsSigId, | ||
| 'BpDataDetailsSigRev', BpDataDetailsSigRev, | ||
| 'BpDataDetailsSigSetVersion', BpDataDetailsSigSetVersion, | ||
| 'BpDataNormalizedObservablesAll', BpDataNormalizedObservablesAll, | ||
| 'BpDataDetailsMatchedActivityEvents', BpDataDetailsMatchedActivityEvents //full raw | ||
| ), | ||
| dynamic([]) | ||
| ) | ||
| | extend | ||
| AlertId = EventUid, | ||
| AlertDescription = EventMessage, | ||
| Rule = RuleName, | ||
| Hostname = DvcHostname, | ||
| IpAddr = DvcIpAddr, | ||
| User = Username | ||
| | project | ||
| EventUid, | ||
| EventOriginalType, | ||
| EventOriginalSeverity, | ||
| EventEndTime, | ||
| EventReportUrl, | ||
| AlertName, | ||
| EventMessage, | ||
| EventProductVersion, | ||
| EventStartTime, | ||
| EventOriginalUid, | ||
| EventSeverity, | ||
| DvcOriginalAction, | ||
| DvcId, | ||
| DvcOs, | ||
| DvcOsVersion, | ||
| DvcDescription, | ||
| RuleName, | ||
| ThreatId, | ||
| Hostname, | ||
| DvcIdType, | ||
| DvcIpAddr, | ||
| DvcMacAddr, | ||
| DvcDomain, | ||
| Username, | ||
| UserId, | ||
| FileName, | ||
| FilePath, | ||
| ParentFileName, | ||
| ParentFilePath, | ||
| ProcessCommandLine, | ||
| FileSHA256, | ||
| FileSize, | ||
| ParentFileSHA256, | ||
| ProcessId, | ||
| ParentProcessId, | ||
| UserIdType, | ||
| DvcAction, | ||
| FileSHA1, | ||
| FileMD5, | ||
| ParentFileSHA1, | ||
| ParentFileMD5, | ||
| UsernameType, | ||
| AttackTechniques, | ||
| AttackTactics, | ||
| EventProduct, | ||
| EventVendor, | ||
| EventSchema, | ||
| EventSchemaVersion, | ||
| EventType, | ||
| EventSubType, | ||
| EventCount, | ||
| IndicatorType, | ||
| AdditionalFields, | ||
| AlertId, | ||
| AlertDescription, | ||
| Rule, | ||
| IpAddr, | ||
| User | ||
| }; | ||
| CiscoSEParser( | ||
| disabled = disabled, | ||
| pack = pack | ||
| ) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.