Skip to content

Commit bd84650

Browse files
committed
WIP socks
1 parent cb35ba0 commit bd84650

File tree

4 files changed

+58
-0
lines changed

4 files changed

+58
-0
lines changed
121 KB
Binary file not shown.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
requires:
2+
min-version: 8
3+
4+
args:
5+
- --set app-layer.protocols.socks.tcp.detection-ports.dp=9200
6+
7+
checks:
8+
- filter:
9+
count: 1
10+
match:
11+
event_type: socks
12+
socks.auth_methods.request[0]: "No authentication"
13+
socks.auth_methods.request[1]: "No authentication"
14+
socks.auth_methods.response: "No authentication"
15+
- filter:
16+
count: 1
17+
match:
18+
event_type: http
19+
http.url: "/stld/2ed742b9631a445a90864552c8b213a9?u=YWRtaW4%3D&p=VVNFUi1QQw%3D%3D&i=ODQuMTcuNDguMTgy&co=R2VybWFueSAoREUp&ci=RnJhbmtmdXJ0IGFtIE1haW4%3D&t=Y2hyaWJvdHM%3D"
20+
http.status: 200
21+
- filter:
22+
count: 1
23+
match:
24+
event_type: flow
25+
app_proto: http
26+
app_proto_orig: socks
85.3 KB
Binary file not shown.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
requires:
2+
min-version: 8
3+
4+
args:
5+
- -k none
6+
7+
checks:
8+
- filter:
9+
count: 1
10+
match:
11+
event_type: socks
12+
socks.auth_methods.request[0]: "No authentication"
13+
socks.auth_methods.request[1]: "GSSAPI"
14+
socks.auth_methods.request[2]: "Username/Password"
15+
socks.auth_methods.response: "Username/Password"
16+
- filter:
17+
count: 1
18+
match:
19+
event_type: socks
20+
socks.auth_userpass.user: proxyuser
21+
socks.auth_userpass.pass: securepassword
22+
- filter:
23+
count: 1
24+
match:
25+
event_type: tls
26+
tls.sni: suricata.io
27+
- filter:
28+
count: 1
29+
match:
30+
event_type: flow
31+
app_proto: tls
32+
app_proto_orig: socks

0 commit comments

Comments
 (0)