Query: rule covering Detects suspicious shell commands used in various Equation Group scripts and tools
Matching passage: Sigma rule: Detects suspicious shell commands used in various Equation Group scripts and tools. Logsource: linux. Rule: title: Equation Group Indicators id: 41e5c73d-9983-4b69-bd03-e13b67e9623c status: test description: Detects suspicious shell commands used in various Equation Group scripts and tools references: - https://medium.com/@shadowbrokerss/dont-forget-your-base-867d304a94b1 author: Florian Roth (Nextron Systems) date: 2017-04-09 modified: 2021-11-27 tags: - attack.execution - attack.g0020 - attack.t1059.004 logsource: product: linux detection: keywords: - 'chown root*chmod 4777 ' - cp /bin/sh .;chown - chmod 4777 /tmp/.scsi/dev/bin/gsh - chown root:root /tmp/.scsi/dev/bin/ - chown root:root x; - /bin/telnet locip locport < /dev/console | /bin/sh - /tmp/ratload - 'ewok -t ' - 'xspy -display ' - cat > /dev/tcp/127.0.0.1/80 <<END - rm -f /current/tmp/ftshell.latest - 'ghost_* -v ' - ' --wipe > /dev/null' - ping -c 2 *; grep * /proc/net/arp >/tmp/gx - iptables * OUTPUT -p tcp -d 127.0.0.1 --tcp-flags RST RST -j DROP; - '> /var/log/audit/audit.log; rm -f .' - cp /var/log/audit/audit.log .tmp - sh >/dev/tcp/* <&1 2>&1 - ncat -vv -l -p * < - nc -vv -l -p * < - < /dev/console | uudecode && uncompress - sendmail -osendmail;chmod +x sendmail - /usr/bin/wget -O /tmp/a http* && chmod 755 /tmp/cron - chmod 666 /var/run/utmp~ - chmod 700 nscd crond - cp /etc/shadow /tmp/. - </dev/console |uudecode > /dev/null 2>&1 && uncompress - chmod 700 jp&&netstat -an|grep - 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 falsepositives: - Unknown level: high
Near-miss passage: Sigma rule: An adversary may use legitimate desktop support and remote access software, such as Team Viewer, Go2Assist, LogMein, Amm. Logsource: windows / process_creation. Rule: title: Remote Access Tool - ScreenConnect Execution id: 57bff678-25d1-4d6c-8211-8ca106d12053 status: test description: 'An adversary may use legitimate desktop support and remote access software, such as Team Viewer, Go2Assist, LogMein, AmmyyAdmin, etc, to establish an interactive command and control channel to target systems within networks. These services are commonly used as legitimate technical support software, and may be allowed by application control within a target environment. Remote access tools like VNC, Ammyy, and Teamviewer are used frequently when compared with other legitimate software commonly used by adversaries. (Citation: Symantec Living off the Land) ' references: - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1219/T1219.md#atomic-test-5---screenconnect-application-download-and-install-on-windows author: frack113 date: 2022-02-13 modified: 2023-03-05 tags: - attack.command-and-control - attack.t1219.002 logsource: category: process_creation product: windows detection: selection: - Description: ScreenConnect Service - Product: ScreenConnect - Company: ScreenConnect Software condition: selection falsepositives: - Legitimate usage of the tool level: medium