Detection: Windows Rename System Utilities Aspnet compiler exe LOLBAS in Non Standard Path
Description
The following analytic identifies Aspnet_Compiler.exe which is a native living off the land binary or script (LOLBAS) within the Windows operating system that may be abused by adversaries by moving it to a new directory. The list of binaries was derived from the https://lolbas-project.github.io site. The specific default filepath for the Aspnet_compiler.exe should be in "C:\Windows\Microsoft.NET\Framework".
Annotations
No annotations available.
Implementation
To successfully implement this search, you must be ingesting logs with the process name, command-line arguments, and parent processes from your endpoints. Collect endpoint data such as Sysmon or Windows Events 4688.
Known False Positives
False positives may be present and filtering may be required. Certain utilities will run from non-standard paths based on the third-party application in use.
Associated Analytic Story
Risk Based Analytics (RBA)
Risk Message | Risk Score | Impact | Confidence |
---|---|---|---|
A system process $process_name$ with path $process_path$ spawn in non-default folder path on host $dest_device_id$ | 14 | 20 | 70 |
References
-
https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1036.003/T1036.003.yaml
-
https://lolbas-project.github.io/lolbas/Binaries/Aspnet_Compiler/
Version: 5