Detection rules › Sigma

Tomcat WebServer Logs Deleted

Status
test
Severity
medium
Log source
product windows, category file_delete
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the deletion of tomcat WebServer logs which may indicate an attempt to destroy forensic evidence

MITRE ATT&CK coverage

TacticTechniques
StealthT1070 Indicator Removal

Event coverage

Rule body yaml

title: Tomcat WebServer Logs Deleted
id: 270185ff-5f50-4d6d-a27f-24c3b8c9fef8
status: test
description: Detects the deletion of tomcat WebServer logs which may indicate an attempt to destroy forensic evidence
references:
    - Internal Research
    - https://linuxhint.com/view-tomcat-logs-windows/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-02-16
tags:
    - attack.stealth
    - attack.t1070
logsource:
    category: file_delete
    product: windows
detection:
    selection:
        TargetFilename|contains|all:
            - '\Tomcat'
            - '\logs\'
        TargetFilename|contains:
            - 'catalina.'
            - '_access_log.'
            - 'localhost.'
    condition: selection
falsepositives:
    - During uninstallation of the tomcat server
    - During log rotation
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|contains|all:
        - '\Tomcat'
        - '\logs\'
    TargetFilename|contains:
        - 'catalina.'
        - '_access_log.'
        - 'localhost.'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
TargetFilenamematch
  • \Tomcat corpus 2 (sigma 2)
  • \logs\
  • _access_log.
  • catalina.
  • localhost.