{"id":"ff301988-c231-4bd0-834c-ac9d73b86586","title":"PowerShell Console History Logs Deleted","description":"Detects the deletion of the PowerShell console History logs which may indicate an attempt to destroy forensic evidence","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-02-15","modified":"","tags":["attack.stealth","attack.t1070"],"technique_ids":["T1070"],"logsource":{"category":"file_delete","product":"windows"},"falsepositives":["Unknown"],"references":["Internal Research"],"source_path":"rules/windows/file/file_delete/file_delete_win_delete_powershell_command_history.yml","source_sha256":"2c7e456cc445692dbe8db202389d217727f55bd3d574e8f35c61892ef5f21ae3","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/file/file_delete/file_delete_win_delete_powershell_command_history.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: PowerShell Console History Logs Deleted\nid: ff301988-c231-4bd0-834c-ac9d73b86586\nstatus: test\ndescription: Detects the deletion of the PowerShell console History logs which may indicate an attempt to destroy forensic evidence\nreferences:\n    - Internal Research\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-02-15\ntags:\n    - attack.stealth\n    - attack.t1070\nlogsource:\n    category: file_delete\n    product: windows\ndetection:\n    selection:\n        TargetFilename|endswith: '\\PSReadLine\\ConsoleHost_history.txt'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1070","id":"T1070","name":"Indicator Removal","page":"techniques/enterprise/T1070/"}],"data_path":"data/detection-rules/ff301988-c231-4bd0-834c-ac9d73b86586.json","kind":"sigma"}
