Linux grep file discovery targeting GobRAT-specific filenames

Alerts on grep executions on Linux whose arguments contain specific malware-related file names for discovery.

FreeReviewedSigma · High · v2
Product
linux
Category
process_creation
Author
Joseliyo Sanchez, @Joseliyo_Jstnk (SigmaHQ), DRL 1.1
Published
2023-06-02
Updated
2026-07-31

ATT&CK techniques

Discovery
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule identifies Linux process executions of /grep where the command line contains filenames associated with potential GobRAT activity (apached, frpc, sshd.sh, zone.arm). Attackers often use grep to quickly enumerate or confirm the presence of specific files during staging and discovery. The detection relies on process creation telemetry, specifically the executed image path ending in /grep and matching substrings within the command line.

Related detections9 linkedT1082 — drag to rearrange
Suspicious System Profiler Hardware Enumeration (via process_creation)
Suspicious Hardware Inventory Discovery via WMIC Device Class Queries (via process_creation)
Suspicious macOS Hardware Identifier Reconnaissance via ioreg (via process_creation)
Suspicious Encoded PowerShell Host Reconnaissance via Get-ComputerInfo via ps_script
Suspicious Host Recon via ConvertFrom-Csv and ConvertTo-Json
Suspicious Java Process Spawning Reconnaissance Commands via Cleo MFT (via process_creation)
Suspicious Reconnaissance Commands Spawned by Samsung MagicINFO Server
Suspicious macOS Download History Query via sqlite3
Suspicious Security Policy Export via SecEdit (via process_creation)
Linux grep file discovery targeting GobRAT-specific filenames
Pivot detection · T1082 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.