{"id":"8ae51330-899c-4641-8125-e39f2e07da72","title":"DNS TXT Answer with Possible Execution Strings","description":"Detects strings used in command execution in DNS TXT Answer","author":"Markus Neis","status":"test","level":"high","date":"2018-08-08","modified":"2021-11-27","tags":["attack.command-and-control","attack.t1071.004"],"technique_ids":["T1071.004"],"logsource":{"category":"dns"},"falsepositives":["Unknown"],"references":["https://twitter.com/stvemillertime/status/1024707932447854592","https://github.com/samratashok/nishang/blob/414ee1104526d7057f9adaeee196d91ae447283e/Backdoors/DNS_TXT_Pwnage.ps1"],"source_path":"rules/network/dns/net_dns_susp_txt_exec_strings.yml","source_sha256":"9a5e44aa6e074e7d681b52060dbe465b3ecaec828587f8c19c1a11387e91c120","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/network/dns/net_dns_susp_txt_exec_strings.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: DNS TXT Answer with Possible Execution Strings\nid: 8ae51330-899c-4641-8125-e39f2e07da72\nstatus: test\ndescription: Detects strings used in command execution in DNS TXT Answer\nreferences:\n    - https://twitter.com/stvemillertime/status/1024707932447854592\n    - https://github.com/samratashok/nishang/blob/414ee1104526d7057f9adaeee196d91ae447283e/Backdoors/DNS_TXT_Pwnage.ps1\nauthor: Markus Neis\ndate: 2018-08-08\nmodified: 2021-11-27\ntags:\n    - attack.command-and-control\n    - attack.t1071.004\nlogsource:\n    category: dns\ndetection:\n    selection:\n        record_type: 'TXT'\n        answer|contains:\n            - 'IEX'\n            - 'Invoke-Expression'\n            - 'cmd.exe'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1071.004","id":"T1071.004","name":"DNS","page":"techniques/enterprise/T1071.004/"}],"data_path":"data/detection-rules/8ae51330-899c-4641-8125-e39f2e07da72.json","kind":"sigma"}
