| name | T1036.004_masquerade-task-or-service |
| description | Adversaries may attempt to manipulate the name of a task or service to make it appear legitimate or benign. |
| category | configuration |
| version | 18.1 |
| author | cyberstrike-official |
| tags | ["mitre-attack","enterprise","t1036.004","defense-evasion","linux","macos","windows","sub-technique"] |
| technique_id | T1036.004 |
| tactic | defense-evasion |
| all_tactics | ["defense-evasion"] |
| platforms | ["Linux","macOS","Windows"] |
| mitre_url | https://attack.mitre.org/techniques/T1036/004 |
| tech_stack | ["linux","macos","windows"] |
| cwe_ids | ["CWE-693"] |
| chains_with | ["T1036","T1036.001","T1036.002","T1036.003","T1036.005","T1036.006","T1036.007","T1036.008","T1036.009","T1036.010","T1036.011","T1036.012"] |
| prerequisites | ["T1036"] |
| severity_boost | {"T1036":"Chain with T1036 for deeper attack path","T1036.001":"Chain with T1036.001 for deeper attack path","T1036.002":"Chain with T1036.002 for deeper attack path"} |
T1036.004 Masquerade Task or Service
Sub-technique of: T1036
High-Level Description
Adversaries may attempt to manipulate the name of a task or service to make it appear legitimate or benign. Tasks/services executed by the Task Scheduler or systemd will typically be given a name and/or description. Windows services will have a service name as well as a display name. Many benign tasks and services exist that have commonly associated names. Adversaries may give tasks or services names that are similar or identical to those of legitimate ones.
Tasks or services contain other fields, such as a description, that adversaries may attempt to make appear legitimate.
Kill Chain Phase
Platforms: Linux, macOS, Windows
What to Check
How to Test
Atomic Red Team Tests
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Atomic Test 1: Creating W32Time similar named service using schtasks
Creating W32Time similar named service (win32times) using schtasks just like threat actor dubbed "Operation Wocao"
Supported Platforms: windows
Elevation Required: Yes
schtasks /create /ru system /sc daily /tr "cmd /c powershell.exe -ep bypass -file c:\T1036.004_NonExistingScript.ps1" /tn win32times /f
schtasks /query /tn win32times
Atomic Test 2: Creating W32Time similar named service using sc
Creating W32Time similar named service (win32times) using sc just like threat actor dubbed "Operation Wocao"
Supported Platforms: windows
Elevation Required: Yes
sc create win32times binPath= "cmd /c start c:\T1036.004_NonExistingScript.ps1"
sc qc win32times