DDoS木马-Tsunami家族样本分析

<title></title>
DD
o
S
¨NBSP;
-
T
sun
a
m
i
li
nux
DD
o
S
IRC
DD
o
S
T
sun
a
m
i
DD
o
S
2013
使
⼿
TCP
U
DP
DNS
h
ttps
://
gi
t
h
u
b
.
c
om
/
S
o
ldie
/
COLE
-
O
-
b
otn
e
ts
/
bl
o
b
/
aec
534
acbf
9789451
f
009129
efaa
1
ec
760973
e
2
e
/
V
i
rus
P
ack
/
f
34
c
5
c
27
b
.
c
3.1
ELF
haid
r
ag
on
2022-11-06
14:48
3.2

A
T
i
m
e
PPID
ID
B
IRC
C
352
i
p
376
m
ac
433
/
usr
/
dic
t
/
wor
d
s
422
367
PRI
V
MSG
i
r
c
访
/
usr
/
bi
n
/
xx
h
SSH
dd
os
PING
PONG
JOIN
KICK
NICK
3.3
DD
o
S
T
sun
a
m
i
ACK FLOOD
P
a
n
S
Y
N FLOOD
D
os
U
DP FLOOD
U
n
k
nown
SPOOFS
IP
DISABLE
ENABLE
GET
ur
l
c
pu
i
686
x
86
线
80
V
ERSION
B
Y
EB
Y
EALL
dd
os
IRC
i
r
c
CHGSER
V
H
el
p
NICK
GETSPOOFS
ENABLE
DD
o
S
3.4.
3.4.1
 CC
IRC
器地址
T
sun
a
m
i
CC
3.4.2
线
V
i
rus
T
ot
al
15
ha
s
h
s
3.5
3.5.1
mum
a
ELF
ELF
3.5.2
/
t
e
mp
/.
ss
h
样本未
使
访
id
3.5.3
线
2
7
间间隔
so
cke
t
so
cke
t
b
u
ffe
r
3.5.4
3.5.4.1
352
i
p
n
ick
i
p
IP
i
p
i
p
3.5.4.1
376
422
线
3.5.4.3
433
n
ick
3.5.4.4
PRI
V
MSG
r
e
pons
e
DDOS
T
sun
a
m
i
P
a
n
D
os
U
n
K
nown
DDOS
3.5.5
DDOS
3.5.5.1
ACK
-
P
U
SH
ACK
-
P
U
SH
TCP
-
ack
3.5.5.2
S
Y
N
S
Y
N
TCP
⼿
S
Y
N
TCP
S
Y
N
S
Y
N
-
ACK
ACK
S
Y
N
-
ACK
ACK
syn
syn
3.5.5.3
U
DP
U
DP
U
DP
1500
u
d
p
3.5.5.3
0
x
2400
4.1
IOC
F
ile
MD
5
cf
6
cb
25624874424
af
47011
a
7
dd
131
b
4
F
ile
SHA
1
1
d
0
d
2
de
612
c
473
fc
4
c
75
ed
5
d
61952
f
8
e
4
ad
7384
c
F
ile
SHA
256
6
f
14
afb
14
e
198
fc
36
ff
839
b
09077
edb
2
fb
5
a
55
dc
9
c
29
c
9
edcd
590
75
d
48255332
H
ost
pwn
.
pwn
d
ns
.
pw
i
p
168.235.95.104
4.2
Y
a
r
a
rule muma_unpack {
   meta:
      description = "Tsunami:RAT&DDOS_BOT"
      muma_unpack_hash1 = "4410b1cd507926071378c0c470fa98aff12ed4b59ec00766fef8847c72397c26"
      muma_hash1 = "6f14afb14e198fc36ff839b09077edb2fb5a55dc9c29c9edcd59075d48255332"
   strings:
      $x1 = "NOTICE %s :PAN  = An advanced syn flooder that will kill most network drivers" fullword ascii
      $x2 = "NOTICE %s :SH = Executes a command" fullword ascii
      $x3 = "NOTICE %s :GET = Downloads a file off the web and saves it onto the hd" fullword ascii
      $x4 = "NOTICE %s :UDP = A udp flooder" fullword ascii
      $x5 = "NOTICE %s :UNKNOWN = Another non-spoof udp flooder" fullword ascii
      $s6 = "NOTICE %s :TSUNAMI  = Special packeter that wont be blocked by most firewalls" fullword ascii
      $s7 = "NOTICE %s :PAN   " fullword ascii
      $s8 = "NOTICE %s :UDP   " fullword ascii
      $s9 = "User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-3 i686)" fullword ascii
      $s10 = "src/process/execve.c" fullword ascii
      $s11 = "NOTICE %s :UNKNOWN" fullword ascii
      $s12 = "NOTICE %s :TSUNAMI" fullword ascii
      $s13 = "NOTICE %s :IRC  = Sends this command to the server" fullword ascii
      $s14 = "src/process/posix_spawn_file_actions_adddup2.c" fullword ascii
      $s15 = "src/process/posix_spawn_file_actions_destroy.c" fullword ascii
      $s16 = "src/process/posix_spawn_file_actions_init.c" fullword ascii
      $s17 = "NOTICE %s :Spoofs: %d.%d.%d.%d - %d.%d.%d.%d" fullword ascii
      $s18 = "NOTICE %s :Password too long! > 254" fullword ascii
      $s19 = "NOTICE %s :Password correct." fullword ascii
      $s20 = "src/process/posix_spawn.c" fullword ascii
      $y1 = "gent.Mozilla/4.75" fullword ascii
      $y2 = "PROT_EXEC|PROT_WRITE failed." fullword ascii
      $y3 = "Id: UPX 3.95 Copyright (C) 1996-2018 the UPX Team. All Rights Reserved. $" fullword ascii
      $y4 = "NOTICE %s :Unable to comply." fullword ascii
      $y5 = "Q USERID" fullword ascii
      $y6 = "ooo.User" fullword ascii
      $y7 = "KILL  " fullword ascii
      $y8 = "no- wi&-FbZ" fullword ascii
      $y9 = "" fullword ascii
      $y10 = ",7V{ -" fullword ascii
      $y11 = "? -[Bo&" fullword ascii
      $y12 = "O9/JHTTP/1.0" fullword ascii
      $y13 = "liheek" fullword ascii
      $y14 = "assifyl" fullword ascii
      $y15 = "DEH_FRAME_" fullword ascii
      $y16 = "%HTF%3" fullword ascii
      $y17 = "toupbr" fullword ascii
      $y18 = "%DKz%H" fullword ascii
      $y19 = "uvbful" fullword ascii
      $y20 = "1-2%S " fullword ascii

   condition:
( uint16(0) == 0x457f and filesize < 2000KB and ( 1 of (x*) and 4 of (s*) ) ) or
( uint16(0) == 0x457f and filesize < 600KB and ( 8 of (y*) ) ) or 
( all of them )
}
posted @ 2022-11-06 15:13  syscallwww  阅读(107)  评论(0编辑  收藏  举报