EXPLORE
← Back to Explore
sigmamediumHunting

Nohup Execution

Detects usage of nohup which could be leveraged by an attacker to keep a process running or break out from restricted environments

MITRE ATT&CK

execution

Detection Query

selection:
  Image|endswith: /nohup
condition: selection

Author

Christopher Peacock @SecurePeacock, SCYTHE @scythe_io

Created

2022-06-06

Data Sources

linuxProcess Creation Events

Platforms

linux

Tags

attack.executionattack.t1059.004
Raw Content
title: Nohup Execution
id: e4ffe466-6ff8-48d4-94bd-e32d1a6061e2
status: test
description: Detects usage of nohup which could be leveraged by an attacker to keep a process running or break out from restricted environments
references:
    - https://gtfobins.github.io/gtfobins/nohup/
    - https://en.wikipedia.org/wiki/Nohup
    - https://www.computerhope.com/unix/unohup.htm
author: 'Christopher Peacock @SecurePeacock, SCYTHE @scythe_io'
date: 2022-06-06
tags:
    - attack.execution
    - attack.t1059.004
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith: '/nohup'
    condition: selection
falsepositives:
    - Administrators or installed processes that leverage nohup
level: medium