Suspicious File Creation via Pkg Install Script
Detects when an installer package executes a pre or post install script that immediately copies a file to suspicious locations on the filesystem. This activity is not common and usually indicates a malicious package…
Description
Detects when an installer package executes a pre or post install script that immediately copies a file to suspicious locations on the filesystem. This activity is not common and usually indicates a malicious package attempting to install persistence or establish a working directory for malware.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source category
- event_index
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 |
|---|---|
| objective-see.org/blog/blog_0x51.html | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 1955e925-6679-4535-9c1b-28ebf369f35f
- Tagged by the source as
- Data Source: Elastic DefendDomain: EndpointNoise: LowOS: macOSPerformance: NormalPlatform: macOSProfile: RecommendedResources: Investigation GuideRule Type: Event Correlation (EQL)Tactic: PersistenceThreat: Script-Based ExecutionUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 3