{"id":"b1bd3a59-c1fd-4860-9f40-4dd161a7d1f5","title":"HackTool - HandleKatz Duplicating LSASS Handle","description":"Detects HandleKatz opening LSASS to duplicate its handle to later dump the memory without opening any new handles","author":"Bhabesh Raj (rule), @thefLinkk","status":"test","level":"high","date":"2022-06-27","modified":"2023-11-28","tags":["attack.execution","attack.t1106","attack.t1003.001","attack.credential-access"],"technique_ids":["T1003.001","T1106"],"logsource":{"category":"process_access","product":"windows"},"falsepositives":["Unknown"],"references":["https://github.com/codewhitesec/HandleKatz"],"source_path":"rules/windows/process_access/proc_access_win_hktl_handlekatz_lsass_access.yml","source_sha256":"5e96053298094d530d817fb66b49622d5ac3e11412045485c98b9767f8939349","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_access/proc_access_win_hktl_handlekatz_lsass_access.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: HackTool - HandleKatz Duplicating LSASS Handle\nid: b1bd3a59-c1fd-4860-9f40-4dd161a7d1f5\nstatus: test\ndescription: Detects HandleKatz opening LSASS to duplicate its handle to later dump the memory without opening any new handles\nreferences:\n    - https://github.com/codewhitesec/HandleKatz\nauthor: Bhabesh Raj (rule), @thefLinkk\ndate: 2022-06-27\nmodified: 2023-11-28\ntags:\n    - attack.execution\n    - attack.t1106\n    - attack.t1003.001\n    - attack.credential-access\nlogsource:\n    category: process_access\n    product: windows\ndetection:\n    selection:\n        TargetImage|endswith: '\\lsass.exe' # Theoretically, can be any benign process holding handle to LSASS\n        GrantedAccess: '0x1440' # Only PROCESS_DUP_HANDLE, PROCESS_QUERY_LIMITED_INFORMATION, PROCESS_QUERY_INFORMATION\n        # Example: C:\\Windows\\SYSTEM32\\ntdll.dll+9d234\\|UNKNOWN(00000000001C119B)\n        CallTrace|startswith: 'C:\\Windows\\System32\\ntdll.dll+'\n        CallTrace|contains: '|UNKNOWN('\n        CallTrace|endswith: ')'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1003.001","id":"T1003.001","name":"LSASS Memory","page":"techniques/enterprise/T1003.001/"},{"key":"enterprise/T1106","id":"T1106","name":"Native API","page":"techniques/enterprise/T1106/"}],"data_path":"data/detection-rules/b1bd3a59-c1fd-4860-9f40-4dd161a7d1f5.json","kind":"sigma"}
