Sigma rule: Kapeka Backdoor Scheduled Task Creation
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-b16144e5357c, updated 2024-07-03T00:00:00.000Z.
Rule
- Title
- Kapeka Backdoor Scheduled Task Creation
- Status
- test
- Level
- high
- Author
- Swachchhanda Shrawan Poudel
- Date
- 2024-07-03
- File
- rules-emerging-threats/2024/Malware/kapeka/win_security_malware_kapeka_backdoor_scheduled_task_creation.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects Kapeka backdoor scheduled task creation based on attributes such as paths, commands line flags, etc.
Log source
- product
- windows
- service
- security
- definition
- Requirements: The Advanced Audit Policy setting Object Access > Audit Other Object Access Events has to be configured to trigger this detection.
Detection
selection_eid:
EventID: 4698
selection_paths:
TaskContent|contains:
- ':\ProgramData\'
- '\AppData\Local\'
selection_command:
TaskContent|contains|all:
- 'rundll32'
- '.wll'
- '#1'
selection_taskname:
TaskContent|contains:
- 'OneDrive' # The scheduled task was called “OneDrive” instead of “Sens Api” in some cases
- 'Sens Api'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.privilege-escalation
- attack.persistence
- attack.t1053.005
- detection.emerging-threats
MITRE ATT&CK ids this rule names
Related rules
References
- https://learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4698
- https://labs.withsecure.com/publications/kapeka
- https://app.any.run/tasks/1efb3ed4-cc0f-4690-a0ed-24516809bc72/
- https://www.virustotal.com/gui/file/bd07fb1e9b4768e7202de6cc454c78c6891270af02085c51fce5539db1386c3f/behavior
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/2024/Malware/kapeka/win_security_malware_kapeka_backdoor_scheduled_task_creation.yml
Sources and licences
SigmaHQ
"Kapeka Backdoor Scheduled Task Creation" by Swachchhanda Shrawan Poudel (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2024/Malware/kapeka/win_security_malware_kapeka_backdoor_scheduled_task_creation.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Kapeka Backdoor Scheduled Task Creation",
entity page, dataset version ref-b16144e5357c, updated 2024-07-03T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/6c130acd-0adb-4545-bcc4-2e85d0883c9a (accessed 2026-11-03).
Underlying source: SigmaHQ rule 6c130acd-0adb-4545-bcc4-2e85d0883c9a, 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.