cloudflare.bat

cloudflare.bat

Source: YouTube · John Hammond · published Feb 10, 2025 · 43:31

Malware Analysis
No ratings yet Log in to rate
Transcript Available
Description

The video analyzes a malicious Windows batch script named "cloudflare dobat" that acts as a multi-stage malware payload, ultimately dropping a Remote Access Trojan (RAT) called Xorm. The script uses obfuscation and variable manipulation to evade detection, with stages involving PowerShell and .NET assemblies to bypass security mechanisms like AMSI and disable network access to security solutions. The final payload, Xorm, establishes a C2 connection to an IP address (45.88.186.152) and includes capabilities for keylogging, command execution, and anti-analysis techniques.

Key Takeaways:
• The "cloudflare dobat" batch script obfuscates its code using random variables and delayed expansion to evade detection 0:40-1:30.
• The script invokes a PowerShell stage 2 that decrypts and decompresses payloads, using AES-CBC encryption and base64 encoding to hide malicious content 1:30-2:50.
• Payload 1 is an AMSI bypass that disables Windows Defender's antimalware scanning by patching memory and functions 2:50-3:25.
• Payload 2 disables access to security vendors (e.g., Norton, Bitdefender) by modifying the hosts file and disables system restore and EDR via registry and scheduled tasks 3:25-4:30.
• The malware ultimately drops a stage 4 Xorm RAT, which connects to C2 at 45.88.186.152 on port 4782 and performs keylogging and command execution 4:30-5:30.

The attack chain begins with a fake "Cloudflare" capture popup, which triggers the malware after a user opens the Run dialog, demonstrating a sophisticated social engineering and post-exploitation strategy.

Sources:

  • 0:40 Discussion of batch script obfuscation and variable patterns.

Generate CPE Credits

Generate a professional CPE document from this video's transcript.

Estimated credit: 0.5 CPE hours

Estimate uses the video runtime (1 hour ≈ 1 CPE, rounded to the nearest 0.5, minimum 0.5, maximum 2.0). The final amount can be lower after review, never higher.

Topic: Malware Analysis. Commonly maps to: Security Operations, Security Architecture and Engineering. Exact CISSP domains are assigned during generation.

CISSP Domain Mapping
Learning Objectives
Self-Assessment Questions
PDF Export Ready

Free account. One generation at a time, with a daily limit.

CPEBuddy is independent and not affiliated with or endorsed by ISC2, ISACA, or any certification body. Exports are formatted for common CPE submissions; acceptance is at your certification body's discretion.

Watch on YouTube

Transcript Preview

First 800 characters of the transcript

so I received this email with the subject line Mau analysis and it reads hello I've watched a lot of you videos a while ago I program as a hobby and came across your page with the cyber security and loved it I just did something not so smart a fake capture popped up and asked M to open the Run dialog box paste and press enter I was moving too fast and didn't realize noticed a weird file on my computer afterwards will you pleas have a look and they include the code at the bottom of the email and now we can open it up and see what it's doing now I am inside of a Windows 11 virtual machine and I have the file contents that they shared inside of this file called cloudflare dobat they explained later in the email this was the name of the file so we can open it up in a text ler of our choice I'l…