{"id":"508a9374-ad52-4789-b568-fc358def2c65","title":"Suspicious History File Operations","description":"Detects commandline operations on shell history files","author":"Mikhail Larin, oscd.community","status":"test","level":"medium","date":"2020-10-17","modified":"2021-11-27","tags":["attack.credential-access","attack.t1552.003"],"technique_ids":["T1552.003"],"logsource":{"product":"macos","category":"process_creation"},"falsepositives":["Legitimate administrative activity","Legitimate software, cleaning hist file"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1552.003/T1552.003.md"],"source_path":"rules/macos/process_creation/proc_creation_macos_susp_histfile_operations.yml","source_sha256":"45bc904445f08d8c9eaaf22fe75f76a4fa5cd7ea2afe8e2784e2f50b9fc75dba","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/macos/process_creation/proc_creation_macos_susp_histfile_operations.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious History File Operations\nid: 508a9374-ad52-4789-b568-fc358def2c65\nstatus: test\ndescription: Detects commandline operations on shell history files\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1552.003/T1552.003.md\nauthor: 'Mikhail Larin, oscd.community'\ndate: 2020-10-17\nmodified: 2021-11-27\ntags:\n    - attack.credential-access\n    - attack.t1552.003\nlogsource:\n    product: macos\n    category: process_creation\ndetection:\n    selection:\n        CommandLine|contains:\n            - '.bash_history'\n            - '.zsh_history'\n            - '.zhistory'\n            - '.history'\n            - '.sh_history'\n            - 'fish_history'\n    condition: selection\nfalsepositives:\n    - Legitimate administrative activity\n    - Legitimate software, cleaning hist file\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1552.003","id":"T1552.003","name":"Shell History","page":"techniques/enterprise/T1552.003/"}],"data_path":"data/detection-rules/508a9374-ad52-4789-b568-fc358def2c65.json","kind":"sigma"}
