{"id":"ba592c6d-6888-43c3-b8c6-689b8fe47337","title":"Linux Base64 Encoded Pipe to Shell","description":"Detects suspicious process command line that uses base64 encoded input for execution with a shell","author":"pH-T (Nextron Systems)","status":"test","level":"medium","date":"2022-07-26","modified":"2023-06-16","tags":["attack.stealth","attack.t1140"],"technique_ids":["T1140"],"logsource":{"product":"linux","category":"process_creation"},"falsepositives":["Legitimate administration activities"],"references":["https://github.com/arget13/DDexec","https://www.mandiant.com/resources/blog/barracuda-esg-exploited-globally"],"source_path":"rules/linux/process_creation/proc_creation_lnx_base64_execution.yml","source_sha256":"db0b1d5baeeaf03db7f79595ab28cf3db17f1b50a083af8f37b2595a498a18b4","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/process_creation/proc_creation_lnx_base64_execution.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Linux Base64 Encoded Pipe to Shell\nid: ba592c6d-6888-43c3-b8c6-689b8fe47337\nstatus: test\ndescription: Detects suspicious process command line that uses base64 encoded input for execution with a shell\nreferences:\n    - https://github.com/arget13/DDexec\n    - https://www.mandiant.com/resources/blog/barracuda-esg-exploited-globally\nauthor: pH-T (Nextron Systems)\ndate: 2022-07-26\nmodified: 2023-06-16\ntags:\n    - attack.stealth\n    - attack.t1140\nlogsource:\n    product: linux\n    category: process_creation\ndetection:\n    selection_base64:\n        CommandLine|contains: 'base64 '\n    selection_exec:\n        - CommandLine|contains:\n              - '| bash '\n              - '| sh '\n              - '|bash '\n              - '|sh '\n        - CommandLine|endswith:\n              - ' |sh'\n              - '| bash'\n              - '| sh'\n              - '|bash'\n    condition: all of selection_*\nfalsepositives:\n    - Legitimate administration activities\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1140","id":"T1140","name":"Deobfuscate/Decode Files or Information","page":"techniques/enterprise/T1140/"}],"data_path":"data/detection-rules/ba592c6d-6888-43c3-b8c6-689b8fe47337.json","kind":"sigma"}
