Analysis
-
max time kernel
0s -
max time network
159s -
platform
debian-9_armhf -
resource
debian9-armhf-20221111-en -
resource tags
arch:armhfimage:debian9-armhf-20221111-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem -
submitted
27-11-2022 12:57
Static task
static1
Behavioral task
behavioral1
Sample
xiang/1.sh
Resource
ubuntu1804-amd64-en-20211208
Behavioral task
behavioral2
Sample
xiang/1.sh
Resource
debian9-armhf-20221111-en
Behavioral task
behavioral3
Sample
xiang/1.sh
Resource
debian9-mipsbe-en-20211208
Behavioral task
behavioral4
Sample
xiang/1.sh
Resource
debian9-mipsel-20221111-en
Behavioral task
behavioral5
Sample
xiang/go.sh
Resource
win7-20220812-en
Behavioral task
behavioral6
Sample
xiang/go.sh
Resource
win10v2004-20220812-en
Behavioral task
behavioral7
Sample
xiang/ss
Resource
ubuntu1804-amd64-en-20211208
Behavioral task
behavioral8
Sample
xiang/ssh-scan
Resource
ubuntu1804-amd64-20221111-en
General
-
Target
xiang/1.sh
-
Size
404B
-
MD5
fa4f1798d03844cc950c5c0ff1ed71a7
-
SHA1
7b7bb83c614603989d91a77ac0405d4000a0fa75
-
SHA256
a5b0146024e8974f15f29c835f5d2d272a199846fa04963bb05d7e0bd14620ff
-
SHA512
e94e75ade995e3ed08e1fcff6a830dbb28e512091d72af14bbf19ae6b6a33381130bda2c9b38050e61fc9dcf82e25ba06fb8d8f15edd4edeb1a7c1a675a8139e
Malware Config
Signatures
-
Reads runtime system information 3 IoCs
Reads data from /proc virtual filesystem.
description ioc Process /proc/filesystems /proc/filesystems mkdir /proc/filesystems /proc/filesystems ls /proc/filesystems /proc/filesystems ls -
Writes file to tmp directory 16 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process /tmp/exploit /tmp/exploit rm /tmp/ccWXIm51.s /tmp/ccWXIm51.s gcc /tmp/ccFy6enC.o /tmp/ccFy6enC.o as /tmp/ccymv7E8.c /tmp/ccymv7E8.c collect2 /tmp/exploit /tmp/exploit rm /tmp/ccFy6enC.o /tmp/ccFy6enC.o gcc /tmp/ccqE8mL5.ld /tmp/ccqE8mL5.ld collect2 /tmp/ccGOCGh4.le /tmp/ccGOCGh4.le collect2 /tmp/exploit /tmp/exploit ld /tmp/ccFy6enC.o /tmp/ccFy6enC.o ld /tmp/xiang/1.sh /tmp/xiang/1.sh 1.sh /tmp/exploit/target /tmp/exploit/target 1.sh /tmp/ccWXIm51.s /tmp/ccWXIm51.s cc1 /tmp/cc6JxRzt.res /tmp/cc6JxRzt.res gcc /tmp/ccWXIm51.s /tmp/ccWXIm51.s as /tmp/ccaW4De7.o /tmp/ccaW4De7.o collect2
Processes
-
/tmp/xiang/1.sh/tmp/xiang/1.sh1⤵
- Writes file to tmp directory
PID:367 -
/bin/rmrm -r -f /tmp/exploit2⤵
- Writes file to tmp directory
PID:368
-
-
/bin/mkdirmkdir /tmp/exploit2⤵
- Reads runtime system information
PID:369
-
-
/bin/lnln /bin/ping /tmp/exploit/target2⤵PID:370
-
-
/bin/lsls -l /proc/367/fd/32⤵
- Reads runtime system information
PID:374
-
-
/bin/rmrm -rf /tmp/exploit2⤵
- Writes file to tmp directory
PID:377
-
-
/bin/lsls -l /proc/367/fd/32⤵
- Reads runtime system information
PID:379
-
-
/bin/catcat2⤵PID:380
-
-
/usr/bin/gccgcc -w -fPIC -shared -o /tmp/exploit program.c2⤵
- Writes file to tmp directory
PID:381
-
-
/usr/lib/gcc/arm-linux-gnueabihf/6/cc1/usr/lib/gcc/arm-linux-gnueabihf/6/cc1 -quiet -imultilib . -imultiarch arm-linux-gnueabihf program.c -quiet -dumpbase program.c "-march=armv7-a" "-mfloat-abi=hard" "-mfpu=vfpv3-d16" -mthumb "-mtls-dialect=gnu" -auxbase program -w -fPIC -o /tmp/ccWXIm51.s1⤵
- Writes file to tmp directory
PID:382
-
/usr/local/sbin/asas -W "-march=armv7-a" "-mfloat-abi=hard" "-mfpu=vfpv3-d16" "-meabi=5" -o /tmp/ccFy6enC.o /tmp/ccWXIm51.s1⤵PID:383
-
/usr/local/bin/asas -W "-march=armv7-a" "-mfloat-abi=hard" "-mfpu=vfpv3-d16" "-meabi=5" -o /tmp/ccFy6enC.o /tmp/ccWXIm51.s1⤵PID:383
-
/usr/sbin/asas -W "-march=armv7-a" "-mfloat-abi=hard" "-mfpu=vfpv3-d16" "-meabi=5" -o /tmp/ccFy6enC.o /tmp/ccWXIm51.s1⤵PID:383
-
/usr/bin/asas -W "-march=armv7-a" "-mfloat-abi=hard" "-mfpu=vfpv3-d16" "-meabi=5" -o /tmp/ccFy6enC.o /tmp/ccWXIm51.s1⤵
- Writes file to tmp directory
PID:383
-
/usr/lib/gcc/arm-linux-gnueabihf/6/collect2/usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so "-plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper" "-plugin-opt=-fresolution=/tmp/cc6JxRzt.res" "-plugin-opt=-pass-through=-lgcc" "-plugin-opt=-pass-through=-lgcc_s" "-plugin-opt=-pass-through=-lc" "-plugin-opt=-pass-through=-lgcc" "-plugin-opt=-pass-through=-lgcc_s" "--sysroot=/" --build-id --eh-frame-hdr -shared -X "--hash-style=gnu" -m armelf_linux_eabi -o /tmp/exploit /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbeginS.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf /tmp/ccFy6enC.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/6/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o1⤵
- Writes file to tmp directory
PID:384
-
/usr/bin/ld/usr/bin/ld -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so "-plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper" "-plugin-opt=-fresolution=/tmp/cc6JxRzt.res" "-plugin-opt=-pass-through=-lgcc" "-plugin-opt=-pass-through=-lgcc_s" "-plugin-opt=-pass-through=-lc" "-plugin-opt=-pass-through=-lgcc" "-plugin-opt=-pass-through=-lgcc_s" "--sysroot=/" --build-id --eh-frame-hdr -shared -X "--hash-style=gnu" -m armelf_linux_eabi -o /tmp/exploit /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbeginS.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf /tmp/ccFy6enC.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/6/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o1⤵
- Writes file to tmp directory
PID:385
-
/proc/self/fd/3/proc/self/fd/31⤵PID:367