Skip to content

Commit b8d8686

Browse files
committed
WIP socks
1 parent cb35ba0 commit b8d8686

File tree

4 files changed

+73
-0
lines changed

4 files changed

+73
-0
lines changed
121 KB
Binary file not shown.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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: socks
19+
socks.connect.domain: "eternityms33k74r7iuuxfda4sqsiei3o3lbtr5cpalf6f4skszpruad.onion"
20+
socks.connect.port: 80
21+
socks.connect.response: "Success"
22+
- filter:
23+
count: 1
24+
match:
25+
event_type: http
26+
http.url: "/stld/2ed742b9631a445a90864552c8b213a9?u=YWRtaW4%3D&p=VVNFUi1QQw%3D%3D&i=ODQuMTcuNDguMTgy&co=R2VybWFueSAoREUp&ci=RnJhbmtmdXJ0IGFtIE1haW4%3D&t=Y2hyaWJvdHM%3D"
27+
http.status: 200
28+
- filter:
29+
count: 1
30+
match:
31+
event_type: flow
32+
app_proto: http
33+
app_proto_orig: socks
85.3 KB
Binary file not shown.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
socks.auth_userpass.response: "Success"
23+
- filter:
24+
count: 1
25+
match:
26+
event_type: socks
27+
socks.connect.ipv4: 35.212.0.44
28+
socks.connect.port: 443
29+
socks.connect.response: "Success"
30+
- filter:
31+
count: 1
32+
match:
33+
event_type: tls
34+
tls.sni: suricata.io
35+
- filter:
36+
count: 1
37+
match:
38+
event_type: flow
39+
app_proto: tls
40+
app_proto_orig: socks

0 commit comments

Comments
 (0)