mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
76 lines
2.9 KiB
YAML
76 lines
2.9 KiB
YAML
name: Disabling Firewall with Netsh
|
|
id: 6860a62c-9203-11eb-9e05-acde48001122
|
|
version: 2
|
|
date: '2021-03-31'
|
|
author: Teoderick Contreras, Splunk
|
|
type: Anomaly
|
|
datamodel:
|
|
- Endpoint
|
|
description: This search is to identifies suspicious firewall disabling using netsh
|
|
application. this technique is commonly seen in malware that tries to communicate
|
|
or download its component or other payload to its C2 server.
|
|
search: '| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time)
|
|
as lastTime from datamodel=Endpoint.Processes where `process_netsh` Processes.process=
|
|
"*firewall*" (Processes.process= "*off*" OR Processes.process= "*disable*") by
|
|
Processes.dest Processes.user Processes.parent_process Processes.process_name Processes.original_file_name
|
|
Processes.process Processes.process_id Processes.parent_process_id | `drop_dm_object_name(Processes)`
|
|
| `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)` | `disabling_firewall_with_netsh_filter`'
|
|
how_to_implement: To successfully implement this search you need to be ingesting information
|
|
on process that include the name of the process responsible for the changes from
|
|
your endpoints into the `Endpoint` datamodel in the `Processes` node. In addition,
|
|
confirm the latest CIM App 4.20 or higher is installed and the latest TA for the
|
|
endpoint product.
|
|
known_false_positives: admin may disable firewall during testing or fixing network
|
|
problem.
|
|
references:
|
|
- https://tccontre.blogspot.com/2020/01/remcos-rat-evading-windows-defender-av.html
|
|
tags:
|
|
analytic_story:
|
|
- Windows Defense Evasion Tactics
|
|
confidence: 50
|
|
context:
|
|
- Source:Endpoint
|
|
- Stage:Defense Evasion
|
|
dataset:
|
|
- https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1562.001/win_app_defender_disabling/windows-security.log
|
|
- https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1562.001/win_app_defender_disabling/windows-system.log
|
|
- https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1562.001/win_app_defender_disabling/windows-sysmon.log
|
|
impact: 50
|
|
kill_chain_phases:
|
|
- Exploitation
|
|
message: The Windows Firewall was disabled on $dest$ by $user$.
|
|
mitre_attack_id:
|
|
- T1562.001
|
|
- T1562
|
|
observable:
|
|
- name: user
|
|
type: User
|
|
role:
|
|
- Victim
|
|
- name: dest
|
|
type: Hostname
|
|
role:
|
|
- Victim
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
required_fields:
|
|
- _time
|
|
- Processes.dest
|
|
- Processes.user
|
|
- Processes.parent_process_name
|
|
- Processes.parent_process
|
|
- Processes.original_file_name
|
|
- Processes.process_name
|
|
- Processes.process
|
|
- Processes.process_id
|
|
- Processes.parent_process_path
|
|
- Processes.process_path
|
|
- Processes.parent_process_id
|
|
risk_score: 25
|
|
security_domain: endpoint
|
|
supported_tas:
|
|
- Splunk_TA_microsoft_sysmon
|
|
asset_type: Endpoint
|