LOGBOOK

HELP

Quiz Entry - updated: 2026.11.26

The rule "GPL ATTACK_RESPONSE id check returned root" (SID 2100498) is used to test the IDS. What string triggers it, and why is that string a sign of compromise?

It matches uid=0(root) anywhere in a packet; that string is what the Unix id command prints for root, so seeing it in network traffic suggests someone ran id on a remote machine and got root.

The rule is:

alert ip any any -> any any (msg:"GPL ATTACK_RESPONSE id check returned root";
  content:"uid=0|28|root|29|"; classtype:bad-unknown; sid:2100498; rev:7;)

The content uid=0|28|root|29| mixes text and hex: |28| is ( and |29| is ), so the pattern is uid=0(root).

Why it matters: after exploiting a server, attackers typically type id first to check what privileges they got. If the output uid=0(root) gid=0(root)… travels back over the network, an attacker likely has a root shell on a remote box. It is called an attack response rule because it detects the victim's answer, not the attack itself.

In the lab, curl http://services.islab.ls.eee.intern/ fetches a page that contains this string on purpose, so the alert proves the whole chain works: capture, rules, alert, Filebeat, Elasticsearch, Kibana.

Go deeper:

From Quiz: ISLAB / Network Security Monitoring | Updated: Nov 26, 2026