{"id":"4e2ed651-1906-4a59-a78a-18220fca1b22","title":"PUA - NirCmd Execution","description":"Detects the use of NirCmd tool for command execution, which could be the result of legitimate administrative activity","author":"Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-01-24","modified":"2023-02-13","tags":["attack.execution","attack.t1569.002","attack.s0029"],"technique_ids":["T1569.002"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate use by administrators"],"references":["https://www.nirsoft.net/utils/nircmd.html","https://www.winhelponline.com/blog/run-program-as-system-localsystem-account-windows/","https://www.nirsoft.net/utils/nircmd2.html#using"],"source_path":"rules/windows/process_creation/proc_creation_win_pua_nircmd.yml","source_sha256":"aadb9a08f00cd985332bfe2a7f03f4b2a75db79a2e62737d0432ace839de6ea1","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_pua_nircmd.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: PUA - NirCmd Execution\nid: 4e2ed651-1906-4a59-a78a-18220fca1b22\nstatus: test\ndescription: Detects the use of NirCmd tool for command execution, which could be the result of legitimate administrative activity\nreferences:\n    - https://www.nirsoft.net/utils/nircmd.html\n    - https://www.winhelponline.com/blog/run-program-as-system-localsystem-account-windows/\n    - https://www.nirsoft.net/utils/nircmd2.html#using\nauthor: Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-01-24\nmodified: 2023-02-13\ntags:\n    - attack.execution\n    - attack.t1569.002\n    - attack.s0029\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_org:\n        - Image|endswith: '\\NirCmd.exe'\n        - OriginalFileName: 'NirCmd.exe'\n    selection_cmd:\n        CommandLine|contains:\n            - ' execmd '\n            - '.exe script '\n            - '.exe shexec '\n            - ' runinteractive '\n    combo_exec:\n        CommandLine|contains:\n            - ' exec '\n            - ' exec2 '\n    combo_exec_params:\n        CommandLine|contains:\n            - ' show '\n            - ' hide '\n    condition: 1 of selection_* or all of combo_*\nfalsepositives:\n    - Legitimate use by administrators\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1569.002","id":"T1569.002","name":"Service Execution","page":"techniques/enterprise/T1569.002/"}],"data_path":"data/detection-rules/4e2ed651-1906-4a59-a78a-18220fca1b22.json","kind":"sigma"}
