liveBook · Manning

Living off the land

As explained in Grokking Web Application Security

Living off the land is an attack technique that relies on legitimate processes and locally available services instead of introducing conspicuous tools.

Living off the land is an attack technique that uses existing processes and locally accessible services instead of introducing conspicuous tools. By mimicking normal activity, attackers make compromised servers harder to detect. section 1.2

A quieter compromise

An attacker who controls a server may use its existing processes and local services while running cryptocurrency mining, sending phishing emails, or generating fraudulent page views. The activity can resemble legitimate server behavior rather than an obvious intrusion. section 1.2

Look for activity that does not fit the server’s normal baseline:

How Grokking Web Application Security covers it

How deep it goes
Defines the evasion approach and names detection signals, but does not detail its operational implementation.
Examples
Uses cryptocurrency mining, phishing emails, click fraud, suspicious files, unusual network activity, and resource spikes as examples.
What you can do after
Diagnose potential compromise by comparing network, filesystem, and resource-use activity against expected behavior.
How it connects
Connects compromised servers with bots, cryptocurrency mining, phishing emails, click fraud, and resource monitoring.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking Web Application Security. The section links point to the parts of the book it draws on.