Trap Signals Usage

The trap command allows programs and shells to specify commands that will be executed upon receiving interrupt signals.

id:3ecbba23-0d1e-4870-8b9e-016b423aebee
categories:enrich
confidence:low
os:macos, linux
created:7/26/2019
updated:7/26/2019

MITRE ATT&CK™ Mapping

tactics:Execution, Persistence
techniques:T1154 Trap

Query

process where subtype.create and
  process_name == "trap" and command_line == "* signals*"

Contributors