Executables Or Script Creation In Temp Path
The following analytic identifies the creation of executables or scripts in temporary file paths on Windows systems. It leverages the Endpoint.Filesystem data set to detect files with specific extensions (e.g., .exe,…
Description
The following analytic identifies the creation of executables or scripts in temporary file paths on Windows systems. It leverages the Endpoint.Filesystem data set to detect files with specific extensions (e.g., .exe, .dll, .ps1) created in temporary directories (e.g., \windows\Temp\, \AppData\Local\Temp\). This activity can be significant as adversaries often use these paths to evade detection and maintain persistence. If confirmed malicious, this behavior could allow attackers to execute unauthorized code, escalate privileges, or persist within the environment, posing a significant security threat.
Detection logic
Detection requirements
- Platform
- ContainersESXiLinuxmacOSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- sysmon_eventid_11
Known benign triggers
- Executable creation and certain script extensions in temporary paths can very common in certain environments and legitimate use cases. It is important to review and filter these events based on your organization''s normal activity and policies.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| thedfirreport.com/2020/04/20/sqlserver-or-the-miner-in-the-basement/ | 20from 2 sources |
| twitter.com/pr0xylife/status/1590394227758104576 | 6 |
| www.microsoft.com/en-us/security/blog/2023/05/24/volt-typhoon-targets-us-critical-infrastructure-with-living-off-the-land-techniques/ | 20 |
| www.microsoft.com/security/blog/2022/01/15/destructive-malware-targeting-ukrainian-organizations/ | 27from 2 sources |
From the source
- At source
- Open at source
- Upstream identifier
- e0422b71-2c05-4f32-8754-01fb415f49c9
- Tagged by the source as
- AcidPourAgentTeslaAmadeyAPT37 Rustonotto and FadeStealerAsyncRATAxios Supply Chain Post CompromiseAzorultBlackByte RansomwareBrute Ratel C4Chaos RansomwareChina-Nexus Threat ActivityCISA AA23-347ACrypto StealerDarkCrystal RATDarkGate MalwareData DestructionDerusbiDouble Zero DestructorGraceful Wipe Out AttackHandala WiperHermetic WiperIcedIDIndustroyer2Interlock RatLockBit RansomwareLokibotMeduza StealerMoonPeakNjRATPhantom StealerPlugXPromptFluxPromptLockQakbotRedLine StealerRemcosRhysida RansomwareRoguePlanetSalat StealerSalt TyphoonSesameOpSnake KeyloggerSnappyBeeSwift SlicerTrickbotValleyRATVidar StealerVIP KeyloggerVoid ManticoreVolt TyphoonWarzone RATWhisperGateWinDealer RATXML Runner LoaderXMRigEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1