<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Veeam Backup — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/veeam-backup/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata — refreshed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 03 Jul 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/veeam-backup/feed.xml" rel="self" type="application/rss+xml"/><item><title>Potential Veeam Credential Access via SQL Commands</title><link>https://feed.craftedsignal.io/briefs/2024-07-veeam-credential-access/</link><pubDate>Wed, 03 Jul 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-07-veeam-credential-access/</guid><description>Attackers can leverage sqlcmd.exe or PowerShell commands like Invoke-Sqlcmd to access Veeam credentials stored in MSSQL databases, potentially targeting backups for destructive operations such as ransomware attacks.</description><content:encoded><![CDATA[<p>Attackers are increasingly targeting backup infrastructure to maximize the impact of ransomware and data exfiltration attacks. Veeam, a popular backup and disaster recovery solution, stores credentials for backup operations in MSSQL databases. An attacker who gains access to these databases may attempt to use tools like <code>sqlcmd.exe</code> or PowerShell commands (e.g., <code>Invoke-Sqlcmd</code>) to extract and decrypt these credentials. This tactic allows the attacker to compromise the backups themselves, preventing recovery and increasing pressure on the victim. This activity has been observed in real-world incidents, such as those involving the Diavol ransomware. Defenders should monitor for suspicious command-line activity targeting Veeam credentials within MSSQL environments.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial access to the target environment is gained through methods such as phishing or exploiting a vulnerability in a public-facing application.</li>
<li>The attacker performs reconnaissance to identify the location of the Veeam MSSQL database server.</li>
<li>The attacker obtains valid credentials or exploits a vulnerability to gain access to the Veeam MSSQL database server.</li>
<li>The attacker executes <code>sqlcmd.exe</code> or uses PowerShell commands (e.g., <code>Invoke-Sqlcmd</code>) to query the <code>[VeeamBackup].[dbo].[Credentials]</code> table.</li>
<li>The attacker retrieves the encrypted Veeam credentials from the database.</li>
<li>The attacker decrypts the Veeam credentials using custom scripts or tools, potentially leveraging the Veeam backup server itself.</li>
<li>The attacker uses the compromised Veeam credentials to access and delete or encrypt backup data.</li>
<li>The attacker deploys ransomware on the remaining systems, knowing that recovery from backups is now impossible.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful compromise of Veeam credentials can have devastating consequences. Attackers can encrypt or delete backup data, making recovery impossible and significantly increasing the impact of ransomware attacks. This can lead to prolonged downtime, data loss, financial losses, and reputational damage. Organizations relying on Veeam for backup and recovery should prioritize monitoring and securing their Veeam infrastructure to prevent credential access and backup compromise.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable Sysmon process creation logging to capture command-line activity, specifically <code>sqlcmd.exe</code> and PowerShell.</li>
<li>Deploy the Sigma rule &ldquo;Potential Veeam Credential Access Command&rdquo; to detect suspicious command executions targeting Veeam credentials in MSSQL databases.</li>
<li>Review and restrict access controls to the Veeam MSSQL database, ensuring only authorized personnel and services have access.</li>
<li>Monitor for unusual login activity and failed login attempts to the Veeam MSSQL database server.</li>
<li>Implement multi-factor authentication for all accounts with access to Veeam infrastructure.</li>
<li>Regularly audit Veeam backup configurations and logs to identify any unauthorized modifications or access attempts.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>veeam</category><category>credential-access</category><category>mssql</category><category>windows</category><category>ransomware</category></item><item><title>Veeam Backup Library Loaded by Unusual Process</title><link>https://feed.craftedsignal.io/briefs/2024-05-veeam-credential-access/</link><pubDate>Fri, 03 May 2024 14:22:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-05-veeam-credential-access/</guid><description>Detects potential credential decryption operations by PowerShell or unsigned processes using the Veeam.Backup.Common.dll library, indicating potential credential access attempts to target backups as part of destructive operations.</description><content:encoded><![CDATA[<p>This detection identifies potential credential compromise attempts targeting Veeam Backup software. Attackers may attempt to load the Veeam.Backup.Common.dll library through unauthorized processes, such as PowerShell or unsigned executables, to decrypt and misuse stored credentials. These credentials can then be used to target backups, potentially leading to destructive operations like ransomware attacks. The rule focuses on flagging untrusted or unsigned processes loading the Veeam library, providing an indicator of possible malicious activity. The detection logic specifically looks for scenarios where PowerShell or other unusual processes load the Veeam backup library, which deviates from typical administrative or backup-related operations. This activity warrants further investigation to determine if it&rsquo;s part of a credential access attempt.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to a Windows system through unspecified means.</li>
<li>The attacker uses PowerShell (powershell.exe, pwsh.exe, powershell_ise.exe) or another unsigned process to execute malicious commands.</li>
<li>The malicious process attempts to load the Veeam.Backup.Common.dll library.</li>
<li>The Veeam.Backup.Common.dll library is loaded into the process memory.</li>
<li>The attacker leverages the loaded library to decrypt stored Veeam credentials.</li>
<li>Using the decrypted credentials, the attacker gains access to Veeam backups.</li>
<li>The attacker may then encrypt, delete, or exfiltrate the backups, leading to data loss or ransomware attacks.</li>
<li>The attacker pivots to other systems using the compromised credentials, further expanding the attack.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows attackers to gain access to sensitive Veeam backup data. This can lead to data exfiltration, data encryption, or complete data loss. The impact includes potential ransomware attacks, significant business disruption, and financial losses due to recovery efforts and downtime. The compromise of Veeam backups can severely impact an organization&rsquo;s ability to recover from incidents, making it a critical target for attackers.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &ldquo;Veeam Backup Library Loaded by Unusual Process&rdquo; to your SIEM to detect suspicious DLL loads (rule.name).</li>
<li>Investigate any alerts generated by the Sigma rule, focusing on the process details and execution history to determine legitimacy (rule.description).</li>
<li>Enable process creation and library load logging to capture the necessary events for the Sigma rule to function correctly.</li>
<li>Review and enforce code signing policies to prevent unsigned processes from loading critical libraries like Veeam.Backup.Common.dll.</li>
<li>Implement multi-factor authentication for Veeam accounts to mitigate the impact of credential compromise.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>credential-access</category><category>veeam</category><category>powershell</category></item><item><title>Detecting Remote Windows Service Installation for Lateral Movement</title><link>https://feed.craftedsignal.io/briefs/2024-01-remote-service-install/</link><pubDate>Wed, 03 Jan 2024 14:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-remote-service-install/</guid><description>This rule detects a network logon followed by Windows service creation with the same LogonId on a Windows host, which could indicate lateral movement or persistence by adversaries.</description><content:encoded><![CDATA[<p>This detection rule identifies a potential lateral movement technique where an attacker establishes a network logon to a Windows system and subsequently installs a service using the same LogonId. This behavior is flagged as suspicious because it deviates from typical administrative practices and can indicate unauthorized access and persistence within the network. The rule is designed to filter out common legitimate services and administrative activities, focusing on anomalies that could signify malicious intent. This detection is crucial for defenders as it can uncover attackers attempting to move laterally and establish persistent access.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to a network via compromised credentials or exploiting a vulnerability.</li>
<li>The attacker performs network reconnaissance to identify target systems for lateral movement.</li>
<li>Using valid credentials or pass-the-hash techniques, the attacker authenticates to a remote Windows host over the network (e.g., SMB).</li>
<li>The attacker attempts to install a new service on the remote host, potentially using tools like <code>sc.exe</code> or PowerShell.</li>
<li>The service installation event is logged with a specific LogonId that matches the earlier network logon event, indicating a relationship between the two activities.</li>
<li>The newly installed service is configured to execute a malicious payload or establish a reverse shell.</li>
<li>The attacker uses the service to execute commands or deploy further malicious tools on the compromised host.</li>
<li>The attacker achieves persistence and lateral movement within the network, enabling further compromise and data exfiltration.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>A successful attack using this technique can lead to widespread compromise of systems within a network. Attackers can use the newly installed service to execute arbitrary code, install malware, or move laterally to other systems. This can result in data theft, system disruption, or ransomware deployment. The impact can be significant, potentially affecting numerous systems and causing substantial financial and reputational damage.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable Windows Security Event Logs with necessary auditing policies, specifically Audit Logon and Audit Security System Extension, to capture relevant logon and service installation events.</li>
<li>Deploy the provided Sigma rules to your SIEM to detect suspicious remote service installations based on matching LogonIds from network logons.</li>
<li>Investigate any alerts generated by the Sigma rules, focusing on unusual service file paths and user accounts.</li>
<li>Review the list of excluded service file paths in the Sigma rules and customize them based on your environment&rsquo;s known legitimate services.</li>
<li>Monitor network connections for suspicious SMB activity, particularly connections originating from unusual or untrusted sources.</li>
<li>Implement multi-factor authentication (MFA) to reduce the risk of credential theft and unauthorized network access.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>lateral-movement</category><category>persistence</category><category>windows</category></item></channel></rss>