ctianalyst.com

Interview question

An endpoint alert shows that a scheduled task was created which launches a PowerShell one-liner from a user's AppData directory. Map this to MITRE ATT&CK.

A mapping question with a deliberate trap: the evidence is ambiguous, and the correct answer includes saying so rather than committing to a single technique ID.

What a strong answer covers

Expert answer

Two techniques are in play. The scheduled task maps to T1053 Scheduled Task/Job, specifically T1053.005 Scheduled Task on Windows. The PowerShell invocation maps to T1059 Command and Scripting Interpreter, specifically T1059.001 PowerShell.

The tactic assignment is genuinely uncertain, and saying so is part of the answer. T1053 appears under Persistence, Execution and Privilege Escalation. Which applies depends on what the adversary was trying to achieve, and I cannot tell that from a task creation event alone. If it runs at logon to re-establish access, that is Persistence. If it is a one-shot execution vehicle, that is Execution. If it runs as SYSTEM when the creating user could not, that is Privilege Escalation.

I would also be explicit that this is an observation, not a finding. Plenty of legitimate software creates scheduled tasks that call PowerShell — updaters, endpoint management agents, backup tools. The location under AppData raises the prior somewhat because user-writable paths are a common choice for tooling that cannot write to Program Files, but it is not decisive on its own.

To disambiguate I would want: the full command line including any encoded or obfuscated arguments, the parent process that created the task, the task author and the account context it runs under, whether any dropped file is signed, what the script actually does, and whether the host generated outbound network activity in the following minutes.

I would not attach a family or an actor to this. There is nothing here that supports it.

Mistakes that cost candidates points

Try answering it

You have read the answer, which is the easy part. Answer it in your own words and get graded against this same rubric, with the follow-up probe an interviewer would ask next.

Go deeper

Related questions