When Varonis detects ransomware behavior, it automatically runs a script to log the compromised account out of its machine and locks the account to stop the spread immediately, containing the damage before it can affect entire file servers or department shares.