{"id":"97dbf6e2-e436-44d8-abee-4261b24d3e41","title":"Microsoft IIS Connection Strings Decryption","description":"Detects use of aspnet_regiis to decrypt Microsoft IIS connection strings. An attacker with Microsoft IIS web server access via a webshell or alike can decrypt and dump any hardcoded connection strings, such as the MSSQL service account password using aspnet_regiis command.","author":"Tim Rauch, Elastic (idea)","status":"test","level":"high","date":"2022-09-28","modified":"2022-12-30","tags":["attack.credential-access","attack.t1003"],"technique_ids":["T1003"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://www.elastic.co/guide/en/security/current/microsoft-iis-connection-strings-decryption.html"],"source_path":"rules/windows/process_creation/proc_creation_win_iis_connection_strings_decryption.yml","source_sha256":"3b8eebfa541aab0fd8f4875f8472b5d39a9ef1a7e7b7eef8b7e0cd32d2765518","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_iis_connection_strings_decryption.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Microsoft IIS Connection Strings Decryption\nid: 97dbf6e2-e436-44d8-abee-4261b24d3e41\nstatus: test\ndescription: Detects use of aspnet_regiis to decrypt Microsoft IIS connection strings. An attacker with Microsoft IIS web server access via a webshell or alike can decrypt and dump any hardcoded connection strings, such as the MSSQL service account password using aspnet_regiis command.\nreferences:\n    - https://www.elastic.co/guide/en/security/current/microsoft-iis-connection-strings-decryption.html\nauthor: Tim Rauch, Elastic (idea)\ndate: 2022-09-28\nmodified: 2022-12-30\ntags:\n    - attack.credential-access\n    - attack.t1003\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_name:\n        - Image|endswith: '\\aspnet_regiis.exe'\n        - OriginalFileName: 'aspnet_regiis.exe'\n    selection_args:\n        CommandLine|contains|all:\n            - 'connectionStrings'\n            - ' -pdf'\n    condition: all of selection*\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1003","id":"T1003","name":"OS Credential Dumping","page":"techniques/enterprise/T1003/"}],"data_path":"data/detection-rules/97dbf6e2-e436-44d8-abee-4261b24d3e41.json","kind":"sigma"}
