Detectionmediumtest

File Download Via Nscurl - MacOS

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

Open in Detection LabConvert ruleBuild Package
Daniel CortezCreated 2024-06-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
2024-06-04
Path
rules/macos/process_creation/proc_creation_macos_nscurl_usage.yml
Raw Tags
attack.command-and-controlattack.t1105
View on GitHub