Detection rules for SonicWall Data sources. Every rule contains its MITRE ATT&CK mapping, an impact rating, and details on what it identifies.
This category lists 10 detection rules.
| Rule | Category | Technique | Impact (C/I/A) |
|---|---|---|---|
| SonicWall Anti-Spyware Detection | Discovery | T1082 - System Information Discovery | C:3 / I:2 / A:1 |
| SonicWall Botnet Activity Detected | Command and Control | T1071 - Application Layer Protocol | C:3 / I:3 / A:2 |
| SonicWall Capture ATP Malicious Verdict | Execution | T1204 - User Execution | C:3 / I:3 / A:2 |
| SonicWall Capture Client Threat Detection | Defense Evasion, Privilege Escalation | T1055 - Process Injection | C:3 / I:3 / A:2 |
| SonicWall Encrypted Threats Detection | Command and Control | T1573 - Encrypted Channel | C:3 / I:3 / A:2 |
| SonicWall Gateway Anti-Virus Detection | Command and Control | T1105 - Ingress Tool Transfer | C:3 / I:3 / A:2 |
| SonicWall Intrusion Prevention System Alert | Initial Access | T1190 - Exploit Public-Facing Application | C:3 / I:3 / A:3 |
| SonicWall Management Interface Authentication Failures | Credential Access | T1110 - Brute Force | C:3 / I:2 / A:1 |
| SonicWall SSL VPN Authentication Failures | Credential Access | T1133 - External Remote Services | C:3 / I:2 / A:1 |
| SonicWall Zero-Day Threat Detection | Initial Access | T1190 - Exploit Public-Facing Application | C:3 / I:3 / A:3 |
Rule Example
Below is an example of a rule definition for SonicWall Anti-Spyware Detection (view in repository):
# Rule version v1.0.0
dataTypes:
- firewall-sonicwall
name: SonicWall Anti-Spyware Detection
impact:
confidentiality: 3
integrity: 2
availability: 1
category: Discovery
technique: "T1082 - System Information Discovery"
adversary: origin
references:
- https://www.sonicwall.com/techdocs/pdf/sonicos-6-5-4-log-events-reference-guide.pdf
- https://attack.mitre.org/techniques/T1082/
description: |
Detects when SonicWall Anti-Spyware service identifies and blocks spyware, adware, or other potentially unwanted programs (PUPs) that may be attempting to collect sensitive information or establish persistence on the network.
Next Steps:
- Review the detected spyware category and priority level
- Investigate the source IP address for other malicious activities
- Check if the blocked spyware represents a targeted attack or widespread infection
- Verify that Anti-Spyware policies are properly configured and up-to-date
- Consider quarantining the affected host if multiple spyware detections occur
- Review network traffic patterns from the source to identify potential data exfiltration
where: |
(exists("log.spycat") ||
contains("log.message", "spyware") ||
contains("log.message", "Anti-Spyware") ||
contains("log.eventName", "Anti-Spyware") ||
contains("log.category", "Anti-Spyware") ||
(exists("log.spypri") && !equals("log.spypri", "0"))) &&
(equals("action", "blocked") || equals("log.fw_action", "drop"))
afterEvents:
- indexPattern: v1-7-22-log-firewall-sonicwall-*
with:
- field: origin.ip
operator: filter_term
value: '{{.origin.ip}}'
within: now-1h
count: 3
deduplicateBy:
- adversary.ip
- target.host
Rule Details
SonicWall Anti-Spyware Detection
Identifies instances where the SonicWall Anti-Spyware service recognizes and prevents spyware, adware, or other potentially unwanted programs (PUPs) that could be trying to gather sensitive data or maintain a foothold on the network.
Category: Discovery
Technique: T1082 - System Information Discovery
Impact: C:3 / I:2 / A:1
Rule file: anti_spyware_detection.yml
Reference: https://www.sonicwall.com/techdocs/pdf/sonicos-6-5-4-log-events-reference-guide.pdf
Reference: https://attack.mitre.org/techniques/T1082/
SonicWall Botnet Activity Detected
Identifies possible botnet command and control (C2) traffic or activity from an infected host as flagged by SonicWall's botnet filter. This covers suspicious outbound connections, HTML infection chains, or recognized botnet signatures.
Category: Command and Control
Technique: T1071 - Application Layer Protocol
Impact: C:3 / I:3 / A:2
Rule file: botnet_detection.yml
Reference: https://attack.mitre.org/techniques/T1071/
SonicWall Capture ATP Malicious Verdict
Detects when SonicWall Capture ATP (Advanced Threat Protection) determines that a file is malicious following sandbox analysis. This points to an attempted malware delivery or execution that the ATP service stopped.
Category: Execution
Technique: T1204 - User Execution
Impact: C:3 / I:3 / A:2
Rule file: capture_atp_verdicts.yml
Reference: https://www.sonicwall.com/support/knowledge-base/capture-atp-overview/170503785055490
Reference: https://attack.mitre.org/techniques/T1204/
SonicWall Capture Client Threat Detection
Identifies threats detected by SonicWall Capture Client, such as advanced malware, zero-day exploits, and sophisticated attack methods. Capture Client delivers advanced threat protection using sandboxing and behavioral analysis.
Category: Defense Evasion, Privilege Escalation
Technique: T1055 - Process Injection
Impact: C:3 / I:3 / A:2
Rule file: capture_client_threats.yml
Reference: https://www.sonicwall.com/techdocs/pdf/sonicos-6-5-4-log-events-reference-guide.pdf
Reference: https://attack.mitre.org/techniques/T1055/
SonicWall Encrypted Threats Detection
Detects threats concealed in encrypted traffic that SonicWall DPI-SSL (Deep Packet Inspection of SSL/TLS) identifies, including malware, exploits, and attempts to exfiltrate data over encrypted channels. This rule flags when SonicWall's advanced threat protection has found malicious activity inside encrypted communications.
Category: Command and Control
Technique: T1573 - Encrypted Channel
Impact: C:3 / I:3 / A:2
Rule file: encrypted_threats_detection.yml
Reference: https://www.sonicwall.com/solutions/advanced-threats/encrypted-threats/
Reference: https://attack.mitre.org/techniques/T1573/
SonicWall Gateway Anti-Virus Detection
Identifies when SonicWall Gateway Anti-Virus (GAV) detects and blocks malicious content. This suggests possible malware trying to enter the network via web traffic, email attachments, or file downloads. The Gateway Anti-Virus service inspects HTTP, HTTPS, FTP, and SMTP traffic in real time to find and stop malware from crossing the network perimeter.
Category: Command and Control
Technique: T1105 - Ingress Tool Transfer
Impact: C:3 / I:3 / A:2
Rule file: gateway_antivirus_detection.yml
Reference: https://www.sonicwall.com/techdocs/pdf/sonicos-6-5-4-log-events-reference-guide.pdf
Reference: https://attack.mitre.org/techniques/T1105/
SonicWall Intrusion Prevention System Alert
Detects when SonicWall IPS recognizes and blocks intrusion attempts, such as buffer overflows, SQL injection, cross-site scripting, and other network-based attacks that target vulnerabilities. This rule fires when the SonicWall firewall's Intrusion Prevention System finds malicious traffic patterns or known attack signatures.
Category: Initial Access
Technique: T1190 - Exploit Public-Facing Application
Impact: C:3 / I:3 / A:3
Rule file: intrusion_prevention_alert.yml
Reference: https://www.sonicwall.com/techdocs/pdf/sonicos-6-5-4-log-events-reference-guide.pdf
Reference: https://attack.mitre.org/techniques/T1190/
SonicWall Management Interface Authentication Failures
Identifies repeated failed authentication attempts against the SonicWall management interface, which may indicate brute force attacks on administrative credentials.
Category: Credential Access
Technique: T1110 - Brute Force
Impact: C:3 / I:2 / A:1
Rule file: sonicwall_admin_auth_failures.yml
Reference: https://www.sonicwall.com/techdocs/pdf/sonicos-6-5-4-log-events-reference-guide.pdf
Reference: https://attack.mitre.org/techniques/T1110/
SonicWall SSL VPN Authentication Failures
Detects repeated SSL VPN authentication failures originating from the same source IP on SonicWall firewalls, suggesting brute force or credential stuffing attacks against remote access services.
Category: Credential Access
Technique: T1133 - External Remote Services
Impact: C:3 / I:2 / A:1
Rule file: sonicwall_vpn_failures.yml
Reference: https://www.sonicwall.com/techdocs/pdf/sonicos-6-5-4-log-events-reference-guide.pdf
Reference: https://attack.mitre.org/techniques/T1133/
SonicWall Zero-Day Threat Detection
Detects zero-day threats and unknown malware that the SonicWall Capture ATP service identifies, including sandbox detonations and RTDMI (Real-Time Deep Memory Inspection) alerts. This rule triggers when the SonicWall firewall finds previously unknown threats via advanced analysis techniques.
Category: Initial Access
Technique: T1190 - Exploit Public-Facing Application
Impact: C:3 / I:3 / A:3
Rule file: zero_day_threat_detection.yml
Reference: https://attack.mitre.org/techniques/T1190/