Sigma rule: Equation Group Indicators

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-4253c572c2a4, updated 2021-11-27T00:00:00.000Z.

Rule

Title
Equation Group Indicators
Status
test
Level
high
Author
Florian Roth (Nextron Systems)
Date
2017-04-09
Modified
2021-11-27
File
rules/linux/builtin/lnx_apt_equationgroup_lnx.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious shell commands used in various Equation Group scripts and tools

Log source

product
linux

Detection

keywords:
    # evolvingstrategy, elgingamble, estesfox
    - 'chown root*chmod 4777 '
    - 'cp /bin/sh .;chown'
    # tmpwatch
    - 'chmod 4777 /tmp/.scsi/dev/bin/gsh'
    - 'chown root:root /tmp/.scsi/dev/bin/'
    # estesfox
    - 'chown root:root x;'
    # ratload
    - '/bin/telnet locip locport < /dev/console | /bin/sh'
    - '/tmp/ratload'
    # ewok
    - 'ewok -t '
    # xspy
    - 'xspy -display '
    # elatedmonkey
    - 'cat > /dev/tcp/127.0.0.1/80 <<END'
    # ftshell
    - 'rm -f /current/tmp/ftshell.latest'
    # ghost
    - 'ghost_* -v '
    # morerats client
    - ' --wipe > /dev/null'
    # noclient
    - 'ping -c 2 *; grep * /proc/net/arp >/tmp/gx'
    - 'iptables * OUTPUT -p tcp -d 127.0.0.1 --tcp-flags RST RST -j DROP;'
    # auditcleaner
    - '> /var/log/audit/audit.log; rm -f .'
    - 'cp /var/log/audit/audit.log .tmp'
    # reverse shell
    - 'sh >/dev/tcp/* <&1 2>&1'
    # packrat
    - 'ncat -vv -l -p * <'
    - 'nc -vv -l -p * <'
    # empty bowl
    - '< /dev/console | uudecode && uncompress'
    - 'sendmail -osendmail;chmod +x sendmail'
    # echowrecker
    - '/usr/bin/wget -O /tmp/a http* && chmod 755 /tmp/cron'
    # dubmoat
    - 'chmod 666 /var/run/utmp~'
    # poptop
    - 'chmod 700 nscd crond'
    # abopscript
    - 'cp /etc/shadow /tmp/.'
    # ys
    - '</dev/console |uudecode > /dev/null 2>&1 && uncompress'
    # jacktelnet
    - 'chmod 700 jp&&netstat -an|grep'
    # others
    - 'uudecode > /dev/null 2>&1 && uncompress -f * && chmod 755'
    - 'chmod 700 crond'
    - 'wget http*; chmod +x /tmp/sendmail'
    - 'chmod 700 fp sendmail pt'
    - 'chmod 755 /usr/vmsys/bin/pipe'
    - 'chmod -R 755 /usr/vmsys'
    - 'chmod 755 $opbin/*tunnel'
    - 'chmod 700 sendmail'
    - 'chmod 0700 sendmail'
    - '/usr/bin/wget http*sendmail;chmod +x sendmail;'
    - '&& telnet * 2>&1 </dev/console'
condition: keywords

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • attack.g0020
  • attack.t1059.004

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/builtin/lnx_apt_equationgroup_lnx.yml

Sources and licences

  • SigmaHQ

    "Equation Group Indicators" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/builtin/lnx_apt_equationgroup_lnx.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Equation Group Indicators",
entity page, dataset version ref-4253c572c2a4, updated 2021-11-27T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/41e5c73d-9983-4b69-bd03-e13b67e9623c (accessed 2026-11-03).
Underlying source: SigmaHQ rule 41e5c73d-9983-4b69-bd03-e13b67e9623c, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.