GRASP -- Graph-Based Anomaly Detection Through Self-Supervised Classification
GRASP is a self-supervised, graph-based provenance intrusion detection system that masks and reconstructs process executable information to identify anomalies without relying on predefined thresholds, thereby achieving robust detection of both known and unknown Advanced Persistent Threats.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine your computer is a bustling city. In this city, there are millions of daily activities: people (processes) opening doors, reading maps, writing letters, and talking to neighbors. Usually, these activities follow a predictable rhythm. But sometimes, a spy (an attacker) sneaks in. The tricky part is that the spy doesn't bring a new, scary-looking weapon; instead, they use the city's own legitimate tools—like a public library book or a standard delivery truck—to commit crimes. This is called "Living off the Land."
Traditional security guards (old detection systems) try to spot these spies by setting up rigid rules. They say, "If a truck drives faster than 50 mph, stop it!" or "If a person opens more than 10 doors in a minute, sound the alarm!" The problem is that spies are smart. They drive at 49 mph, or they open exactly 10 doors. If the rules are too strict, they miss the spy. If the rules are too loose, they scream "Fire!" every time a real person opens a door, causing the guards to ignore the real danger (this is called "alert fatigue").
Enter GRASP: The Intuitive City Watchman
The paper introduces a new system called GRASP (Graph-based Anomaly detection through Self-supervised classification). Instead of using rigid speed limits or door-counting rules, GRASP acts like a highly intuitive neighborhood watchman who knows exactly how every tool in the city should be used based on who is holding it and who they are talking to.
Here is how it works, broken down into simple concepts:
1. The "Two-Step" Neighborhood Rule
GRASP doesn't just look at a single person (a process); it looks at their two-step neighborhood.
- Step 1: Who are they talking to right now? (e.g., A "Web Browser" process reading a file).
- Step 2: Who are those people talking to? (e.g., That file was just written by a "System Update" process).
By looking at this web of connections, GRASP builds a mental map of how things usually interact. It learns that a "Web Browser" usually talks to "Image Files," but it rarely talks to "System Configuration Files."
2. The "Blindfold" Training Game
To learn this map, GRASP plays a game of "Guess Who?" during its training phase.
- Imagine you show the watchman a scene: A person is holding a tool, reading a file, and talking to a neighbor.
- The Trick: You put a blindfold over the tool (the "executable"). You hide what the tool actually is.
- The Task: The watchman must guess, "Based on the file they are reading and the neighbor they are talking to, what tool is this person holding?"
- If the person is reading a config file and talking to a system process, the watchman learns to guess "System Config Tool." If they guess "Web Browser," they get it wrong.
The system does this millions of times. It learns the "personality" of every tool based on its surroundings.
3. Catching the Spy (Anomaly Detection)
Once the training is done, the watchman goes on patrol.
- A process comes along doing something weird.
- The watchman looks at the surroundings and asks, "What tool is this?"
- If the surroundings suggest it should be a "Calculator," but the tool is actually a "Hidden Script," the watchman says, "Wait a minute! This doesn't make sense!"
- Because the tool's behavior doesn't match the "story" told by its neighbors, GRASP flags it as suspicious.
Why is this better than the old guards?
- No Rigid Rules (No Thresholds): Old systems need a "magic number" (like "more than 50 alarms"). GRASP doesn't need this. It just knows when something feels "off." This means it doesn't miss spies just because they stayed just under the limit.
- It Catches the "Unknowns": If a spy brings in a brand-new, never-before-seen tool, GRASP sees it immediately because it has no "neighborhood story" for it. It flags it as "Unknown," which is a huge red flag.
- It's Stable: The paper shows that other systems (like ORTHRUS and VELOX) are like weather vanes; if you change the wind slightly (change the data or the settings), their results swing wildly. GRASP is like a lighthouse; it gives a consistent, reliable signal every time.
The Trade-off: More Noise, Better Safety
The paper admits that GRASP raises more alarms than the old systems.
- Old System: "I see 5 suspicious things. I will only report 1 to avoid bothering the boss." (Risk: The boss misses the real attack).
- GRASP: "I see 500 suspicious things. Here is the list. You, the human analyst, pick the ones that matter."
The authors argue this is actually better. It's better to have a list of 500 things to check than to have a system that confidently says "Everything is fine" while the city burns. In their tests, GRASP found 100% of the documented attacks in most datasets, whereas the other systems missed many.
The "Android" Problem
The paper notes one exception: On Android devices (the Clearscope dataset), the system struggled. Why? Because in that specific "city," one tool does almost everything, and the neighborhood looks the same for everyone. It's like a city where everyone wears the exact same uniform and talks to the exact same person; it's hard to tell who is the spy. GRASP couldn't learn the "personality" of the tools there. But for Linux and Windows systems, it worked brilliantly.
Summary
GRASP is a security system that learns by playing a guessing game with its own data. Instead of setting strict rules, it learns the "social circle" of every computer program. When a program starts hanging out with the wrong crowd or using the wrong tools for the situation, GRASP raises the alarm. It might sound the alarm more often than older systems, but it ensures that no spy slips through the cracks.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.