Barracuda RMM versions prior to 2025.2.2 contain a privilege escalation vulnerability that allows local attackers to gain SYSTEM-level privileges by exploiting overly permissive filesystem ACLs on the C:\Windows\Automation directory. Attackers can modify existing automation content or place attacker-controlled files in this directory, which are then executed under the NT AUTHORITY\SYSTEM account during routine automation cycles, typically succeeding within the next execution cycle.
Barracuda RMM versions before 2025.2.2 contain a critical privilege escalation vulnerability (CVE-2026-22676) allowing local attackers to achieve SYSTEM-level access through insecure filesystem permissions on the C:\Windows\Automation directory. Attackers can inject malicious automation scripts that execute with NT AUTHORITY\SYSTEM privileges during routine cycles. This vulnerability poses significant risk to Saudi organizations relying on RMM solutions for IT infrastructure management, particularly in banking, government, and energy sectors where system compromise could lead to lateral movement and data exfiltration.
IMMEDIATE ACTIONS:
1. Identify all systems running Barracuda RMM versions prior to 2025.2.2 across your organization
2. Restrict local access to affected systems to authorized personnel only
3. Implement network segmentation to isolate RMM-managed systems from sensitive networks
4. Monitor C:\Windows\Automation directory for unauthorized file modifications using file integrity monitoring (FIM) tools
5. Review access control lists (ACLs) on C:\Windows\Automation and restrict write permissions to SYSTEM and RMM service accounts only
PATCHING GUIDANCE:
1. Upgrade Barracuda RMM to version 2025.2.2 or later immediately when available
2. Test patches in non-production environment before deployment
3. Schedule patching during maintenance windows to minimize operational impact
COMPENSATING CONTROLS (until patch available):
1. Implement strict filesystem ACL hardening: Remove write permissions for Users, Authenticated Users, and other non-system accounts from C:\Windows\Automation
2. Deploy application whitelisting on RMM-managed systems to prevent unauthorized script execution
3. Enable Windows Event Viewer logging for process creation (Event ID 4688) and file system changes
4. Implement privileged access management (PAM) solutions to monitor and control SYSTEM-level process execution
5. Use Windows Defender for Endpoint or equivalent EDR solution with behavioral analysis enabled
DETECTION RULES:
1. Monitor for file creation/modification events in C:\Windows\Automation directory with non-SYSTEM accounts
2. Alert on execution of scripts from C:\Windows\Automation directory outside of scheduled automation cycles
3. Track process creation events where parent process is RMM automation service and child process is suspicious (cmd.exe, powershell.exe, etc.)
4. Monitor for ACL modifications on C:\Windows\Automation directory
5. Implement SIEM rules to correlate local logon events followed by file modifications in automation directories
الإجراءات الفورية:
1. تحديد جميع الأنظمة التي تقوم بتشغيل إصدارات Barracuda RMM السابقة للإصدار 2025.2.2 عبر مؤسستك
2. تقييد الوصول المحلي إلى الأنظمة المتأثرة للموظفين المصرح لهم فقط
3. تنفيذ تقسيم الشبكة لعزل الأنظمة المدارة بواسطة RMM عن الشبكات الحساسة
4. مراقبة دليل C:\Windows\Automation للتعديلات غير المصرح بها باستخدام أدوات مراقبة سلامة الملفات (FIM)
5. مراجعة قوائم التحكم في الوصول (ACLs) على C:\Windows\Automation وتقييد أذونات الكتابة لحسابات SYSTEM وخدمة RMM فقط
إرشادات التصحيح:
1. ترقية Barracuda RMM إلى الإصدار 2025.2.2 أو أحدث فوراً عند توفره
2. اختبار التصحيحات في بيئة غير الإنتاج قبل النشر
3. جدولة التصحيحات خلال نوافذ الصيانة لتقليل التأثير التشغيلي
الضوابط البديلة (حتى توفر التصحيح):
1. تنفيذ تصلب ACL نظام الملفات الصارم: إزالة أذونات الكتابة للمستخدمين والمستخدمين المصرح لهم والحسابات الأخرى غير النظام من C:\Windows\Automation
2. نشر قائمة التطبيقات المسموح بها على الأنظمة المدارة بواسطة RMM لمنع تنفيذ السكريبتات غير المصرح بها
3. تفعيل تسجيل Windows Event Viewer لإنشاء العمليات (معرف الحدث 4688) والتغييرات في نظام الملفات
4. تنفيذ حلول إدارة الوصول المميز (PAM) لمراقبة والتحكم في تنفيذ العمليات على مستوى SYSTEM
5. استخدام Windows Defender for Endpoint أو حل EDR معادل مع تفعيل التحليل السلوكي
قواعد الكشف:
1. مراقبة أحداث إنشاء/تعديل الملفات في دليل C:\Windows\Automation باستخدام حسابات غير SYSTEM
2. التنبيه على تنفيذ السكريبتات من دليل C:\Windows\Automation خارج دورات الأتمتة المجدولة
3. تتبع أحداث إنشاء العمليات حيث تكون العملية الأصلية خدمة أتمتة RMM والعملية الفرعية مريبة (cmd.exe، powershell.exe، إلخ)
4. مراقبة تعديلات ACL على دليل C:\Windows\Automation
5. تنفيذ قواعد SIEM لربط أحداث تسجيل الدخول المحلي متبوعة بتعديلات الملفات في أدلة الأتمتة