BlogsModalRuntime Abuse Detection

Runtime Abuse Detection

Runtime Abuse Detection

1
posts
2024

Modal has implemented a syscall-based program analysis component called `seccheck` within its serverless container runtime. This system leverages gVisor's syscall interception capabilities to monitor and detect cryptomining activities by analyzing syscall patterns. The `seccheck` component identifies suspicious syscall sequences, such as specific file access patterns or network connections associated with mining pools, and can automatically disable offending Functions, ban users, and prevent further abuse. This enhances Modal's defenses against resource abuse and ensures GPU availability for legitimate users.

2024

How to catch crypto miners using syscall signatures

6/6/2024

Introduced `seccheck`, a syscall-based program analysis component integrated into Modal's runtime. This system utilizes gVisor's efficient syscall interception to monitor container execution. It analyzes syscall traces, specifically focusing on patterns indicative of cryptomining, such as `execve` calls to suspicious binaries or network connections to known mining pools. When a match is found, `seccheck` emits a security event that leads to the immediate termination of the Function and potential user banning. The implementation prioritizes low runtime overhead, avoiding the performance penalties of traditional `strace`.