Detectionmediumtest

File Download Via Nscurl - MacOS

Detects the execution of the nscurl utility in order to download files.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Daniel CortezCreated Tue Jun 046d8a7cf1-8085-423b-b87d-7e880faabbdfmacos
Log Source
macOSProcess Creation
ProductmacOS← raw: macos
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        Image|endswith: '/nscurl'
        CommandLine|contains:
            - '--download '
            - '--download-directory '
            - '--output '
            - '-dir '
            - '-dl '
            - '-ld'
            - '-o '
    condition: selection
False Positives

Legitimate usage of nscurl by administrators and users.

Rule Metadata
Rule ID
6d8a7cf1-8085-423b-b87d-7e880faabbdf
Status
test
Level
medium
Type
Detection
Created
Tue Jun 04
Path
rules/macos/process_creation/proc_creation_macos_nscurl_usage.yml
Raw Tags
attack.defense-evasionattack.command-and-controlattack.t1105
View on GitHub