Possible Linux Process Code Injection Through DD Utility (via process_creation)

This rule detects the injection of code by overwriting the memory map of a Linux process using the "dd" Linux command.

SigmamediumLinuxv1
sigma
title: Possible Linux Process Code Injection Through DD Utility (via process_creation)
id: dbcd8530-021d-5363-a37e-cf9071766708
status: stable
description: This rule detects the injection of code by overwriting the memory map of a Linux process using the "dd" Linux command.
references:
    - https://attack.mitre.org/techniques/T1055/009/
    - https://www.aon.com/cyber-solutions/aon_cyber_labs/linux-based-inter-process-code-injection-without-ptrace2/
    - https://github.com/AonCyberLabs/Cexigua/blob/34d338620afae4c6335ba8d8d499e1d7d3d5d7b5/overwrite.sh
author: Huntrule Team
date: 2026-05-01
tags:
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1055.009
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith: '/dd'
        CommandLine|contains|all:
            - 'of='
            - '/proc/'
            - '/mem'
    condition: selection
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

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