{"id":"92a974db-ab84-457f-9ec0-55db83d7a825","title":"Potential AMSI Bypass Using NULL Bits","description":"Detects usage of special strings/null bits in order to potentially bypass AMSI functionalities","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-01-04","modified":"2023-05-09","tags":["attack.defense-impairment","attack.t1685"],"technique_ids":["T1685"],"logsource":{"product":"windows","category":"process_creation"},"falsepositives":["Unknown"],"references":["https://github.com/r00t-3xp10it/hacking-material-books/blob/43cb1e1932c16ff1f58b755bc9ab6b096046853f/obfuscation/simple_obfuscation.md#amsi-bypass-using-null-bits-satoshi"],"source_path":"rules/windows/process_creation/proc_creation_win_powershell_amsi_null_bits_bypass.yml","source_sha256":"489dceaf494b8b183e29cae4eabc3d28adc919bb8ae1db28613dbafa8161f653","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_powershell_amsi_null_bits_bypass.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential AMSI Bypass Using NULL Bits\nid: 92a974db-ab84-457f-9ec0-55db83d7a825\nrelated:\n    - id: fa2559c8-1197-471d-9cdd-05a0273d4522\n      type: similar\nstatus: test\ndescription: Detects usage of special strings/null bits in order to potentially bypass AMSI functionalities\nreferences:\n    - https://github.com/r00t-3xp10it/hacking-material-books/blob/43cb1e1932c16ff1f58b755bc9ab6b096046853f/obfuscation/simple_obfuscation.md#amsi-bypass-using-null-bits-satoshi\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-01-04\nmodified: 2023-05-09\ntags:\n    - attack.defense-impairment\n    - attack.t1685\nlogsource:\n    product: windows\n    category: process_creation\ndetection:\n    selection:\n        CommandLine|contains:\n            - \"if(0){{{0}}}' -f $(0 -as [char]) +\"\n            - \"#<NULL>\"\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1685","id":"T1685","name":"Disable or Modify Tools","page":"techniques/enterprise/T1685/"}],"data_path":"data/detection-rules/92a974db-ab84-457f-9ec0-55db83d7a825.json","kind":"sigma"}
