-
Notifications
You must be signed in to change notification settings - Fork 232
Expand file tree
/
Copy pathlinked-against-hp-socket.yml
More file actions
32 lines (32 loc) · 1.16 KB
/
linked-against-hp-socket.yml
File metadata and controls
32 lines (32 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
rule:
meta:
name: linked against hp-socket
namespace: linking/static/hp-socket
authors:
- still@teamt5.org
scopes:
static: file
dynamic: file
att&ck:
- Command and Control::Non-Application Layer Protocol [T1095]
references:
- https://github.com/ldcsaa/HP-Socket/
examples:
- 4c46fdafceba8e450deb93cdb82a177e
features:
- or:
- substring: "HP-Socket for Linux v%d.%d.%d [BN:%02d]"
- 3 or more:
- substring: "global/helper.cpp"
- substring: "src/HttpServer.cpp"
- substring: "src/TcpServer.cpp"
- substring: "src/common/IODispatcher.cpp"
- substring: "src/common/Thread.cpp"
- substring: "/HP-Socket/Linux/"
# in theory the following should be present for Windows version; untested
- 3 or more:
- substring: "Client Send Fail [SOCK: %d, SEQ: %d]"
- substring: "(%Iu) Send OK -->"
- substring: "<%s#%d> OP: %d, CODE: %d (DATA: 0x%X, LEN: %d>"
- substring: "---------------> Client Worker Thread 0x%08X stoped <---------------"
- substring: "<C-CNNID: %Iu> OnSend() event should not return 'HR_ERROR' !!"