Sigma rule: Axios NPM Compromise Indicators - macOS

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-9f0bc25a2204, updated 2026-04-01T00:00:00.000Z.

Rule

Title
Axios NPM Compromise Indicators - macOS
Status
experimental
Level
high
Author
Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2026-04-01
File
rules-emerging-threats/2026/Malware/Axios-NPM-Compromise/proc_creation_macos_axios_npm_compromise_indicators.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the macOS-specific execution chain of the plain-crypto-js malicious npm dependency in Axios NPM Package, including AppleScript execution via osascript, payload download, permission modification, execution, and cleanup.

Log source

product
macos
category
process_creation

Detection

selection_osascript:
    CommandLine|contains|all:
        - 'nohup '
        - 'osascript '
        - '/tmp/6202033'
selection_curl_download:
    CommandLine|contains|all:
        - 'curl '
        - 'packages.npm.org/product'
        - '/Library/Caches/com.apple.act.mond'
selection_cleanup:
    CommandLine|contains|all:
        - 'rm '
        - '-rf '
        - '/tmp/6202033'
condition: 1 of selection_*

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.initial-access
  • attack.t1195.002
  • attack.execution
  • attack.command-and-control
  • attack.t1059.002
  • attack.t1059.004
  • attack.t1105
  • detection.emerging-threats

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2026/Malware/Axios-NPM-Compromise/proc_creation_macos_axios_npm_compromise_indicators.yml

Sources and licences

  • SigmaHQ

    "Axios NPM Compromise Indicators - macOS" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2026/Malware/Axios-NPM-Compromise/proc_creation_macos_axios_npm_compromise_indicators.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Axios NPM Compromise Indicators - macOS",
entity page, dataset version ref-9f0bc25a2204, updated 2026-04-01T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a09ee860-31b3-4586-8a68-0ebd74ce0e5f (accessed 2026-11-03).
Underlying source: SigmaHQ rule a09ee860-31b3-4586-8a68-0ebd74ce0e5f, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.