-
Notifications
You must be signed in to change notification settings - Fork 431
Add New ASA Analytics #3794
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
Merged
+1,079
−80
Merged
Add New ASA Analytics #3794
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2e5b1c2
first batch
nasbench 9864d70
more updates
nasbench 0e448f3
Merge branch 'develop' into asa-analytics
nasbench 216ef46
update tags and filter
nasbench aeb5426
more fixes
nasbench 8a8b6d5
Update cisco_asa___reconnaissance_command_activity.yml
nasbench 40c9e0a
Update cisco_asa___reconnaissance_command_activity.yml
nasbench fd9fc9d
Update cisco_asa___reconnaissance_command_activity.yml
nasbench 4282548
Update cisco_asa___reconnaissance_command_activity.yml
nasbench abcbe27
Merge branch 'develop' into asa-analytics
nasbench 199dde8
update to production
nasbench 56c8b06
fixes and updates
nasbench 94cc955
update date and fix typos
nasbench 52d5be4
apply suggestion
nasbench f194736
Update cisco_asa___reconnaissance_command_activity.yml
nasbench b9018f1
Merge branch 'develop' into asa-analytics
patel-bhavin 141c037
add explicit message ids
nasbench d0d352f
Merge branch 'develop' into asa-analytics
patel-bhavin 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
There are no files selected for viewing
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
83 changes: 83 additions & 0 deletions
83
detections/application/cisco_asa___aaa_policy_tampering.yml
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,83 @@ | ||
| name: Cisco ASA - AAA Policy Tampering | ||
| id: 8f2c4e9a-5d3b-4c7e-9a1f-6e8d5b2c3a9f | ||
| version: 1 | ||
| date: '2025-11-18' | ||
| author: Nasreddine Bencherchali, Splunk | ||
| status: production | ||
| type: Anomaly | ||
| description: | | ||
| This analytic detects modifications to authentication and authorization (AAA) security policies on Cisco ASA devices via CLI or ASDM. | ||
| AAA policies control critical security mechanisms including authentication attempts, lockout thresholds, password policies, and access control settings that protect administrative access to network infrastructure. | ||
| Adversaries or malicious insiders may weaken authentication policies to facilitate brute force attacks, disable account lockouts to enable unlimited password attempts, reduce password complexity requirements, or modify authorization settings to elevate privileges and maintain persistent access. | ||
| The detection monitors for command execution events containing AAA-related commands such as `aaa authentication`, `aaa authorization`, or `aaa local authentication`, focusing on changes to authentication attempts, lockout policies, and access control configurations. | ||
| Investigate any unauthorized modifications to AAA policies, especially changes that weaken security posture (increasing max-fail attempts, disabling lockouts, reducing password requirements), and verify these changes against approved change management processes and security policies. | ||
| data_source: | ||
| - Cisco ASA Logs | ||
| search: | | ||
| `cisco_asa` | ||
| message_id IN (111008, 111010) | ||
| command IN ( | ||
| "aaa authentication*", | ||
| "aaa authorization*", | ||
| "aaa local authentication*", | ||
| "aaa-server*", | ||
| "no aaa*" | ||
| ) | ||
| | fillnull | ||
| | stats count | ||
| earliest(_time) as firstTime | ||
| latest(_time) as lastTime | ||
| values(user) as user | ||
| values(action) as action | ||
| values(message_id) as message_id | ||
| values(command) as command | ||
| values(src_ip) as src_ip | ||
| values(process_name) as process_name | ||
| by host | ||
| | `security_content_ctime(firstTime)` | ||
| | `security_content_ctime(lastTime)` | ||
| | `cisco_asa___aaa_policy_tampering_filter` | ||
| how_to_implement: | | ||
| This search requires Cisco ASA syslog data to be ingested into Splunk via the Cisco Security Cloud TA. | ||
| To ensure this detection works effectively, configure your ASA and FTD devices to generate and forward message ID 111008 and 111010. | ||
| If your logging level is set to 'Notifications' or higher, these messages should already be included, else we recommend setting an event list that keeps the severity level you are using and adds message IDs 111008 and 111010. | ||
| You can find specific instructions on how to set this up here : https://www.cisco.com/c/en/us/support/docs/security/pix-500-series-security-appliances/63884-config-asa-00.html. | ||
| You can also change the severity level of the above message id's to the syslog level you have currently enabled using the logging message syslog_id level severity_level command in global configuration mode. For more information, see Change the Severity Level of a Syslog Message : https://www.cisco.com/c/en/us/td/docs/security/asa/asa922/configuration/general/asa-922-general-config/monitor-syslog.html#ID-2121-000006da | ||
| known_false_positives: | | ||
| Legitimate AAA configuration modifications may occur during normal administrative activities such as implementing new security policies, adjusting lockout thresholds or troubleshooting authentication issues. These events should be verified and investigated. Consider filtering modifications performed by known administrative accounts where necessary. | ||
| references: | ||
| - https://www.cisco.com/c/en/us/td/docs/security/asa/asa-cli-reference/A-H/asa-command-ref-A-H/aa-ac-commands.html | ||
| drilldown_searches: | ||
| - name: View the detection results for $host$ | ||
| search: '%original_detection_search% | search host = $host$' | ||
| earliest_offset: $info_min_time$ | ||
| latest_offset: $info_max_time$ | ||
| - name: View risk events for the last 7 days for $host$ | ||
| search: '| from datamodel Risk.All_Risk | search normalized_risk_object IN ($host$) starthoursago=168 endhoursago=1 | stats count min(_time) as firstTime max(_time) as lastTime values(search_name) as "Search Name" values(risk_message) as "Risk Message" values(analyticstories) as "Analytic Stories" values(annotations._all) as "Annotations" values(annotations.mitre_attack.mitre_tactic) as "ATT&CK Tactics" by normalized_risk_object | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`' | ||
| earliest_offset: $info_min_time$ | ||
| latest_offset: $info_max_time$ | ||
| rba: | ||
| message: User $user$ executed command $command$ to modify AAA configuration on Cisco ASA host $host$. | ||
| risk_objects: | ||
| - field: host | ||
| type: system | ||
| score: 40 | ||
| threat_objects: | ||
| - field: command | ||
| type: process | ||
| tags: | ||
| analytic_story: | ||
| - Suspicious Cisco Adaptive Security Appliance Activity | ||
| asset_type: Network | ||
| mitre_attack_id: | ||
| - T1556.004 | ||
| product: | ||
| - Splunk Enterprise | ||
| - Splunk Enterprise Security | ||
| security_domain: network | ||
| tests: | ||
| - name: True Positive Test | ||
| attack_data: | ||
| - data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/cisco_asa/generic/cisco_asa_generic_logs.log | ||
| source: not_applicable | ||
| sourcetype: cisco:asa | ||
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
87 changes: 87 additions & 0 deletions
87
detections/application/cisco_asa___device_file_copy_activity.yml
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,87 @@ | ||
| name: Cisco ASA - Device File Copy Activity | ||
| id: 4d7e8f3a-9c2b-4e6f-8a1d-5b9c7e2f4a8c | ||
| version: 1 | ||
| date: '2025-11-18' | ||
| author: Nasreddine Bencherchali, Splunk | ||
| status: production | ||
| type: Anomaly | ||
| description: | | ||
| This analytic detects file copy activity on Cisco ASA devices via CLI or ASDM. | ||
| Adversaries may copy device files including configurations, logs, packet captures, or system files for reconnaissance, credential extraction, or data exfiltration. While legitimate file operations occur during backups and maintenance, unauthorized copies may indicate malicious activity. | ||
| The detection monitors for command execution events (message ID 111008 or 111010) containing copy commands targeting running-config, startup-config, packet capture files, or other system files from disk0:, flash:, system:, or capture: locations. | ||
| Investigate unexpected file copies, especially from non-administrative accounts, during unusual hours, or when combined with other suspicious activities. | ||
| data_source: | ||
| - Cisco ASA Logs | ||
| search: | | ||
| `cisco_asa` | ||
| message_id IN (111008, 111010) | ||
| command = "copy *" | ||
| command IN ( | ||
| "*running-config*", | ||
| "*startup-config*", | ||
| "*/pcap capture:*", | ||
| "* disk0:*", | ||
| "* flash:*", | ||
| "* system:*" | ||
| ) | ||
| | fillnull | ||
| | stats earliest(_time) as firstTime | ||
| latest(_time) as lastTime | ||
| values(user) as user | ||
| values(action) as action | ||
| values(message_id) as message_id | ||
| values(command) as command | ||
| values(src_ip) as src_ip | ||
| values(process_name) as process_name | ||
| by host | ||
| | `security_content_ctime(firstTime)` | ||
| | `security_content_ctime(lastTime)` | ||
| | `cisco_asa___device_file_copy_activity_filter` | ||
| how_to_implement: | | ||
| This search requires Cisco ASA syslog data to be ingested into Splunk via the Cisco Security Cloud TA. | ||
| To ensure this detection works effectively, configure your ASA and FTD devices to generate and forward message ID 111008 and 111010. | ||
| If your logging level is set to 'Notifications' or higher, these messages should already be included, else we recommend setting an event list that keeps the severity level you are using and adds message IDs 111008 and 111010. | ||
| You can find specific instructions on how to set this up here : https://www.cisco.com/c/en/us/support/docs/security/pix-500-series-security-appliances/63884-config-asa-00.html. | ||
| You can also change the severity level of the above message id's to the syslog level you have currently enabled using the logging message syslog_id level severity_level command in global configuration mode. For more information, see Change the Severity Level of a Syslog Message : https://www.cisco.com/c/en/us/td/docs/security/asa/asa922/configuration/general/asa-922-general-config/monitor-syslog.html#ID-2121-000006da | ||
| known_false_positives: | | ||
| Legitimate configuration exports may occur during normal administrative activities. These events should be verified and investigated. | ||
| references: | ||
| - https://blog.talosintelligence.com/arcanedoor-new-espionage-focused-campaign-found-targeting-perimeter-network-devices/ | ||
| drilldown_searches: | ||
| - name: View the detection results for $host$ | ||
| search: '%original_detection_search% | search host = $host$' | ||
| earliest_offset: $info_min_time$ | ||
| latest_offset: $info_max_time$ | ||
| - name: View risk events for the last 7 days for $host$ | ||
| search: '| from datamodel Risk.All_Risk | search normalized_risk_object IN ($host$) starthoursago=168 endhoursago=1 | stats count min(_time) as firstTime max(_time) as lastTime values(search_name) as "Search Name" values(risk_message) as "Risk Message" values(analyticstories) as "Analytic Stories" values(annotations._all) as "Annotations" values(annotations.mitre_attack.mitre_tactic) as "ATT&CK Tactics" by normalized_risk_object | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`' | ||
| earliest_offset: $info_min_time$ | ||
| latest_offset: $info_max_time$ | ||
| rba: | ||
| message: User $user$ executed command $command$ to export device configuration from Cisco ASA host $host$. | ||
| risk_objects: | ||
| - field: host | ||
| type: system | ||
| score: 50 | ||
| threat_objects: | ||
| - field: src_ip | ||
| type: ip_address | ||
| - field: command | ||
| type: process | ||
| tags: | ||
| analytic_story: | ||
| - Suspicious Cisco Adaptive Security Appliance Activity | ||
| - ArcaneDoor | ||
| asset_type: Network | ||
| mitre_attack_id: | ||
| - T1005 | ||
| - T1530 | ||
| product: | ||
| - Splunk Enterprise | ||
| - Splunk Enterprise Security | ||
| security_domain: network | ||
| tests: | ||
| - name: True Positive Test | ||
| attack_data: | ||
| - data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/cisco_asa/generic/cisco_asa_generic_logs.log | ||
| source: not_applicable | ||
| sourcetype: cisco:asa |
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.