Community detections
sqlcmd.exe
2 community detection rules look for suspicious sqlcmd.exe command lines, most often for Data from Local System (T1005). WETNav has no switch-by-switch reference for it yet, so the explainer reads its arguments generically and checks them against these rules.
What defenders look for
- HighVeeamBackup Database Credentials Dump Via Sqlcmd.EXE
Detects dump of credentials in VeeamBackup dbo
T1005by frack113
- MediumVeeam Backup Database Suspicious Query
Detects potentially suspicious SQL queries using SQLCmd targeting the Veeam backup databases in order to steal information.
T1005by Nasreddine Bencherchali (Nextron Systems)
Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.
Questions
- Is sqlcmd.exe malicious?
- Not by itself. These rules flag specific ways of running it: 2 rules, 1 rated high or critical. VeeamBackup Database Credentials Dump Via Sqlcmd.EXE; Veeam Backup Database Suspicious Query. Judge a run by its command line, its parent process, the account and the host.
- What does sqlcmd.exe have to do with ATT&CK?
- The rules for it map to Data from Local System (T1005).
- How do I check a sqlcmd.exe command line?
- Paste it into the WETNav command explainer. It reads every argument, pulls out indicators and evaluates all 1,192 Sigma process creation rules in your browser, including these.