@abtnode/router-provider 1.16.45 → 1.16.46-beta-20250703-050038-4ba2582f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/lib/nginx/includes/security/crs4/rules/REQUEST-901-INITIALIZATION.conf +42 -40
  2. package/lib/nginx/includes/security/crs4/rules/REQUEST-905-COMMON-EXCEPTIONS.conf +4 -4
  3. package/lib/nginx/includes/security/crs4/rules/REQUEST-911-METHOD-ENFORCEMENT.conf +12 -11
  4. package/lib/nginx/includes/security/crs4/rules/REQUEST-913-SCANNER-DETECTION.conf +12 -11
  5. package/lib/nginx/includes/security/crs4/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf +127 -148
  6. package/lib/nginx/includes/security/crs4/rules/REQUEST-921-PROTOCOL-ATTACK.conf +80 -35
  7. package/lib/nginx/includes/security/crs4/rules/REQUEST-922-MULTIPART-ATTACK.conf +12 -6
  8. package/lib/nginx/includes/security/crs4/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf +22 -17
  9. package/lib/nginx/includes/security/crs4/rules/REQUEST-931-APPLICATION-ATTACK-RFI.conf +20 -15
  10. package/lib/nginx/includes/security/crs4/rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf +254 -86
  11. package/lib/nginx/includes/security/crs4/rules/REQUEST-933-APPLICATION-ATTACK-PHP.conf +172 -65
  12. package/lib/nginx/includes/security/crs4/rules/REQUEST-934-APPLICATION-ATTACK-GENERIC.conf +65 -29
  13. package/lib/nginx/includes/security/crs4/rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf +114 -78
  14. package/lib/nginx/includes/security/crs4/rules/REQUEST-942-APPLICATION-ATTACK-SQLI.conf +182 -120
  15. package/lib/nginx/includes/security/crs4/rules/REQUEST-943-APPLICATION-ATTACK-SESSION-FIXATION.conf +19 -16
  16. package/lib/nginx/includes/security/crs4/rules/REQUEST-944-APPLICATION-ATTACK-JAVA.conf +48 -34
  17. package/lib/nginx/includes/security/crs4/rules/REQUEST-949-BLOCKING-EVALUATION.conf +30 -30
  18. package/lib/nginx/includes/security/crs4/rules/RESPONSE-950-DATA-LEAKAGES.conf +20 -15
  19. package/lib/nginx/includes/security/crs4/rules/RESPONSE-951-DATA-LEAKAGES-SQL.conf +47 -29
  20. package/lib/nginx/includes/security/crs4/rules/RESPONSE-952-DATA-LEAKAGES-JAVA.conf +15 -36
  21. package/lib/nginx/includes/security/crs4/rules/RESPONSE-953-DATA-LEAKAGES-PHP.conf +20 -15
  22. package/lib/nginx/includes/security/crs4/rules/RESPONSE-954-DATA-LEAKAGES-IIS.conf +22 -17
  23. package/lib/nginx/includes/security/crs4/rules/RESPONSE-955-WEB-SHELLS.conf +92 -43
  24. package/lib/nginx/includes/security/crs4/rules/RESPONSE-959-BLOCKING-EVALUATION.conf +30 -30
  25. package/lib/nginx/includes/security/crs4/rules/RESPONSE-980-CORRELATION.conf +23 -23
  26. package/lib/nginx/includes/security/crs4/rules/java-classes.data +11 -0
  27. package/lib/nginx/includes/security/crs4/rules/lfi-os-files.data +227 -15
  28. package/lib/nginx/includes/security/crs4/rules/php-function-names-933150.data +0 -7
  29. package/lib/nginx/includes/security/crs4/rules/restricted-files.data +250 -29
  30. package/lib/nginx/includes/security/crs4/rules/restricted-upload.data +200 -26
  31. package/lib/nginx/includes/security/crs4/rules/unix-shell-builtins.data +20 -0
  32. package/lib/nginx/includes/security/crs4/rules/unix-shell.data +39 -18
  33. package/lib/nginx/includes/security/crs4/rules/web-shells-asp.data +23 -0
  34. package/package.json +7 -7
@@ -0,0 +1,20 @@
1
+ # Unix Shell Builtins
2
+ alias
3
+ builtin
4
+ chdir
5
+ done
6
+ endif
7
+ endsw
8
+ esac
9
+ eval
10
+ export
11
+ fg
12
+ fi
13
+ foreach
14
+ function
15
+ history
16
+ hup
17
+ repeat
18
+ set
19
+ setenv
20
+ zmodload
@@ -41,7 +41,6 @@ bin/ab
41
41
  bin/addgroup
42
42
  bin/adduser
43
43
  bin/agetty
44
- bin/alias
45
44
  bin/alpine
46
45
  bin/ansible
47
46
  bin/apt
@@ -51,6 +50,8 @@ bin/ar
51
50
  bin/arch
52
51
  bin/aria2c
53
52
  bin/arj
53
+ bin/arjdisp
54
+ bin/arj-register
54
55
  bin/arp
55
56
  bin/as
56
57
  bin/ascii-xfr
@@ -75,7 +76,6 @@ bin/bridge
75
76
  bin/bsdcat
76
77
  bin/bsdiff
77
78
  bin/bsdtar
78
- bin/builtin
79
79
  bin/bundler
80
80
  bin/bunzip2
81
81
  bin/busctl
@@ -95,14 +95,15 @@ bin/bzless
95
95
  bin/bzmore
96
96
  bin/bzz
97
97
  bin/c89
98
+ bin/c89-gcc
98
99
  bin/c99
100
+ bin/c99-gcc
99
101
  bin/cancel
100
102
  bin/capsh
101
103
  bin/cat
102
104
  bin/cc
103
105
  bin/certbot
104
106
  bin/chattr
105
- bin/chdir
106
107
  bin/check_by_ssh
107
108
  bin/check_cups
108
109
  bin/check_log
@@ -111,6 +112,7 @@ bin/check_raid
111
112
  bin/check_ssl_cert
112
113
  bin/check_statusfile
113
114
  bin/chef
115
+ bin/chef-
114
116
  bin/chflags
115
117
  bin/chgrp
116
118
  bin/chmod
@@ -124,6 +126,7 @@ bin/clang
124
126
  bin/clang++
125
127
  bin/cmp
126
128
  bin/cobc
129
+ bin/cobcrun
127
130
  bin/column
128
131
  bin/comm
129
132
  bin/command
@@ -162,9 +165,9 @@ bin/dmsetup
162
165
  bin/dnf
163
166
  bin/doas
164
167
  bin/docker
165
- bin/done
166
168
  bin/dosbox
167
169
  bin/dpkg
170
+ bin/dpkg-
168
171
  bin/du
169
172
  bin/dvips
170
173
  bin/e2fsck
@@ -175,28 +178,25 @@ bin/ed
175
178
  bin/efax
176
179
  bin/egrep
177
180
  bin/emacs
178
- bin/endif
179
- bin/endsw
180
181
  bin/env
181
182
  bin/env-update
182
183
  bin/eqn
183
184
  bin/es
184
- bin/esac
185
185
  bin/esh
186
- bin/eval
187
186
  bin/ex
188
187
  bin/exec
189
188
  bin/exiftool
190
189
  bin/expand
191
190
  bin/expect
192
- bin/export
193
191
  bin/expr
194
192
  bin/facter
195
193
  bin/fc
194
+ bin/fdfind
195
+ bin/fdisk
196
+ bin/fdmount
197
+ bin/fdumount
196
198
  bin/fetch
197
- bin/fg
198
199
  bin/fgrep
199
- bin/fi
200
200
  bin/file
201
201
  bin/filetest
202
202
  bin/find
@@ -205,12 +205,11 @@ bin/fish
205
205
  bin/flock
206
206
  bin/fmt
207
207
  bin/fold
208
- bin/foreach
209
208
  bin/fping
209
+ bin/fping6
210
210
  bin/ftp
211
211
  bin/ftpstats
212
212
  bin/ftpwho
213
- bin/function
214
213
  bin/gawk
215
214
  bin/gcc
216
215
  bin/gcore
@@ -223,13 +222,16 @@ bin/HEAD
223
222
  bin/POST
224
223
  bin/getfacl
225
224
  bin/ghc
225
+ bin/ghc-
226
226
  bin/ghci
227
+ bin/ghci-
227
228
  bin/gimp
228
229
  bin/ginsh
229
230
  bin/git
230
231
  bin/go
231
232
  bin/gpg
232
233
  bin/grc
234
+ bin/grcat
233
235
  bin/grep
234
236
  bin/groupmod
235
237
  bin/gtester
@@ -242,14 +244,12 @@ bin/hd
242
244
  bin/head
243
245
  bin/hexdump
244
246
  bin/highlight
245
- bin/history
246
247
  bin/hostid
247
248
  bin/hostname
248
249
  bin/hping3
249
250
  bin/htdigest
250
251
  bin/htop
251
252
  bin/htpasswd
252
- bin/hup
253
253
  bin/iconv
254
254
  bin/id
255
255
  bin/ifconfig
@@ -259,6 +259,9 @@ bin/ionice
259
259
  bin/ip
260
260
  bin/ip6tables
261
261
  bin/ipconfig
262
+ bin/ippeveprinter
263
+ bin/ippfind
264
+ bin/ipptool
262
265
  bin/iptables
263
266
  bin/irb
264
267
  bin/ispell
@@ -400,6 +403,9 @@ bin/paste
400
403
  bin/patch
401
404
  bin/pax
402
405
  bin/pdb
406
+ bin/pdb2mb
407
+ bin/pdb3
408
+ bin/pdb3.
403
409
  bin/pdflatex
404
410
  bin/pdftex
405
411
  bin/pdksh
@@ -457,10 +463,10 @@ bin/rc
457
463
  bin/rcp
458
464
  bin/readelf
459
465
  bin/realpath
466
+ bin/reboot
460
467
  bin/red
461
468
  bin/redcarpet
462
469
  bin/rename
463
- bin/repeat
464
470
  bin/replace
465
471
  bin/restic
466
472
  bin/rev
@@ -476,6 +482,7 @@ bin/rpmdb
476
482
  bin/rpmquery
477
483
  bin/rpmverify
478
484
  bin/rsync
485
+ bin/rsync-ssl
479
486
  bin/ruby
480
487
  bin/run-mailcap
481
488
  bin/run-parts
@@ -490,9 +497,7 @@ bin/sdiff
490
497
  bin/sed
491
498
  bin/sendmail
492
499
  bin/service
493
- bin/set
494
500
  bin/setarch
495
- bin/setenv
496
501
  bin/setfacl
497
502
  bin/setsid
498
503
  bin/sftp
@@ -522,7 +527,22 @@ bin/strace
522
527
  bin/strings
523
528
  bin/su
524
529
  bin/sudo
530
+ bin/sudoedit
531
+ bin/sudoreplay
532
+ bin/sudo-rs
533
+ bin/sudo_
525
534
  bin/svn
535
+ bin/svnadmin
536
+ bin/svnauthz
537
+ bin/svnbench
538
+ bin/svndumpfilter
539
+ bin/svnfsfs
540
+ bin/svnlook
541
+ bin/svnmucc
542
+ bin/svnrdump
543
+ bin/svnserve
544
+ bin/svnsync
545
+ bin/svnversion
526
546
  bin/sysctl
527
547
  bin/systemctl
528
548
  bin/systemd-resolve
@@ -585,6 +605,7 @@ bin/vimdiff
585
605
  bin/vipw
586
606
  bin/virsh
587
607
  bin/visudo
608
+ bin/visudo-rs
588
609
  bin/volatility
589
610
  bin/w
590
611
  bin/w3m
@@ -0,0 +1,23 @@
1
+ # This list contains patterns of various web shells, backdoors and similar
2
+ # software written in ASP language. There is no way how to automatically update
3
+ # this list, so it must be done by hand. Here is a recommended way how to add
4
+ # new malicious software:
5
+ # 1.) As patterns are matched against RESPONSE_BODY, you need to run a malicious
6
+ # software (ideally in an isolated environment) and catch the output.
7
+ # 2.) In the output, search for static pattern unique enough to match only
8
+ # the software in question and to not do any FPs. The best pick is usually
9
+ # a part of HTML code with software name.
10
+ # 3.) Include software name and URL (if available) in the comment above
11
+ # the pattern.
12
+ #
13
+ # Data comes from multiple places of which some doesn't work anymore. Few are
14
+ # listed below:
15
+ # - https://www.localroot.net/
16
+ # - Google search (keywords like webshells, asp backdoor and similar)
17
+
18
+ # Akmal archtte id ASPX shell
19
+ <title>Webshell Akmal archtte id</title>
20
+ # ASPYDrv shell
21
+ <html><title>ASPYDrvsInfo</title>
22
+ # RHTOOLS shell
23
+ <html><head><title>RHTOOLS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/router-provider",
3
- "version": "1.16.45",
3
+ "version": "1.16.46-beta-20250703-050038-4ba2582f",
4
4
  "description": "Routing engine implementations for abt node",
5
5
  "author": "polunzh <polunzh@gmail.com>",
6
6
  "homepage": "https://github.com/ArcBlock/blocklet-server#readme",
@@ -32,11 +32,11 @@
32
32
  "url": "https://github.com/ArcBlock/blocklet-server/issues"
33
33
  },
34
34
  "dependencies": {
35
- "@abtnode/constant": "1.16.45",
36
- "@abtnode/db-cache": "1.16.45",
37
- "@abtnode/logger": "1.16.45",
38
- "@abtnode/router-templates": "1.16.45",
39
- "@abtnode/util": "1.16.45",
35
+ "@abtnode/constant": "1.16.46-beta-20250703-050038-4ba2582f",
36
+ "@abtnode/db-cache": "1.16.46-beta-20250703-050038-4ba2582f",
37
+ "@abtnode/logger": "1.16.46-beta-20250703-050038-4ba2582f",
38
+ "@abtnode/router-templates": "1.16.46-beta-20250703-050038-4ba2582f",
39
+ "@abtnode/util": "1.16.46-beta-20250703-050038-4ba2582f",
40
40
  "@arcblock/http-proxy": "^1.19.1",
41
41
  "@arcblock/is-valid-domain": "^1.0.5",
42
42
  "@ocap/util": "^1.20.14",
@@ -62,5 +62,5 @@
62
62
  "bluebird": "^3.7.2",
63
63
  "fs-extra": "^11.2.0"
64
64
  },
65
- "gitHead": "8e981926c6dd0fc612d5bf716ab6c638791aa5f3"
65
+ "gitHead": "8d7838277e51ecabae489db51937f6deb51e015f"
66
66
  }