Sigma rule: Lace Tempest PowerShell Evidence Eraser

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-578d4329a97a, updated 2023-11-09T00:00:00.000Z.

Rule

Title
Lace Tempest PowerShell Evidence Eraser
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2023-11-09
File
rules-emerging-threats/2023/TA/Lace-Tempest/posh_ps_apt_lace_tempest_eraser_script.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a PowerShell script used by Lace Tempest APT to erase evidence from victim servers by exploiting CVE-2023-47246 as reported by SysAid Team

Log source

product
windows
category
ps_script
definition
Requirements: Script Block Logging must be enabled

Detection

selection:
    ScriptBlockText|contains|all:
        - 'cleanLL'
        - 'usersfiles.war'
        - 'Remove-Item -Path "$tomcat_dir'
        - 'SysAidServer'
        - 'sleep '
        - 'while(1)'
condition: selection

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.execution
  • attack.t1059.001
  • detection.emerging-threats

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2023/TA/Lace-Tempest/posh_ps_apt_lace_tempest_eraser_script.yml

Sources and licences

  • SigmaHQ

    "Lace Tempest PowerShell Evidence Eraser" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2023/TA/Lace-Tempest/posh_ps_apt_lace_tempest_eraser_script.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Lace Tempest PowerShell Evidence Eraser",
entity page, dataset version ref-578d4329a97a, updated 2023-11-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b377ddab-502d-4519-9e8c-5590033d2d70 (accessed 2026-11-03).
Underlying source: SigmaHQ rule b377ddab-502d-4519-9e8c-5590033d2d70, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.