Windows Scheduled Task Process Creating autoit3.exe for nslookup TXT Queries (OilRig)
Alerts when scheduled task and Service.exe processes launch autoit3.exe that runs nslookup TXT queries from a temp staging path.
- Product
- windows
- Category
- process_creation
- Author
- Florian Roth (Nextron Systems), Markus Neis, Jonhnathan Ribeiro, Daniil Yugoslavskiy, oscd.community (SigmaHQ), DRL 1.1
- Published
- 2018-03-23
- Updated
- 2026-07-31
ATT&CK techniques
Execution → C2Recon
Resource Dev
Initial Access
Execution
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
Exfiltration
Impact
What it detects
This rule flags Windows process activity consistent with automated execution via a scheduled task that runs local\microsoft\Taskbar\autoit3.exe. The pattern includes task-related command lines, execution from \\Windows\\Temp\\DB\\, and a child process invoking nslookup.exe with "-q=TXT". Attackers may use this combination to stage tooling and perform DNS-based communications or checks, relying on process creation telemetry with command line and parent process details.
Reporting behind it
Changelog
v5- v5Candidate ingested via manual entry.2026-07-31
- v4Candidate ingested via manual entry.2026-07-31
- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: Windows Scheduled Task Process Creating autoit3.exe for nslookup TXT Queries (OilRig)
id: 5d6da43e-f6cb-437e-9fca-bfb18c9e5aec
related:
- id: 53ba33fd-3a50-4468-a5ef-c583635cfa92
type: similar
- id: c0580559-a6bd-4ef6-b9b7-83703d98b561
type: similar
- id: 7bdf2a7c-3acc-4091-9581-0a77dad1c5b5
type: similar
- id: ce6e34ca-966d-41c9-8d93-5b06c8b97a06
type: derived
status: test
description: This rule flags Windows process activity consistent with automated execution via a scheduled task that runs local\microsoft\Taskbar\autoit3.exe. The pattern includes task-related command lines, execution from \\Windows\\Temp\\DB\\, and a child process invoking nslookup.exe with "-q=TXT". Attackers may use this combination to stage tooling and perform DNS-based communications or checks, relying on process creation telemetry with command line and parent process details.
references:
- https://web.archive.org/web/20180402134442/https://nyotron.com/wp-content/uploads/2018/03/Nyotron-OilRig-Malware-Report-March-2018C.pdf
- https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2018/TA/OilRig/proc_creation_win_apt_oilrig_mar18.yml
author: Florian Roth (Nextron Systems), Markus Neis, Jonhnathan Ribeiro, Daniil Yugoslavskiy, oscd.community, Huntrule Team
date: 2018-03-23
modified: 2023-03-08
tags:
- attack.privilege-escalation
- attack.execution
- attack.persistence
- attack.defense-impairment
- attack.g0049
- attack.t1053.005
- attack.s0111
- attack.t1543.003
- attack.t1112
- attack.command-and-control
- attack.t1071.004
- detection.emerging-threats
logsource:
category: process_creation
product: windows
detection:
selection_schtasks:
CommandLine|contains|all:
- SC Scheduled Scan
- \microsoft\Taskbar\autoit3.exe
selection_temp:
Image|contains: \Windows\Temp\DB\
Image|endswith: .exe
selection_service:
Image: C:\Windows\system32\Service.exe
CommandLine|contains:
- i
- u
selection_autoit:
ParentImage|endswith: \local\microsoft\Taskbar\autoit3.exe
CommandLine|contains|all:
- nslookup.exe
- -q=TXT
condition: 1 of selection_*
falsepositives:
- Unlikely
level: critical
license: DRL-1.1