Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance: Nextcloud whitelist update #1216

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .index.json
Original file line number Diff line number Diff line change
Expand Up @@ -8901,7 +8901,7 @@
"crowdsecurity/nextcloud-whitelist": {
"path": "parsers/s02-enrich/crowdsecurity/nextcloud-whitelist.yaml",
"stage": "s02-enrich",
"version": "1.1",
"version": "1.2",
"versions": {
"0.1": {
"digest": "7685c823a398a711b76afea742ebeb2637ac55c829eafba841b63504b1e2228e",
Expand Down Expand Up @@ -8946,10 +8946,14 @@
"1.1": {
"digest": "cb057942be9f210cdd433dd81f930fb8c6fbf661f80311261d56c8193d122de8",
"deprecated": false
},
"1.2": {
"digest": "0d272fbbff26282cd2dce279d52beb47d12f5e83889f3b9de354010f43184781",
"deprecated": false
}
},
"long_description": "IyMgTmV4dGNsb3VkIHdoaXRlbGlzdAoKIyMjIENvbnRhY3RzIGFwcApDb250YWN0cyBoYXMgYW4gaXNzdWUgd2l0aCBleGNlc3NpdmUgNDA0IHJlc3BvbnNlIGNvZGVzIHdoZW4gYSB1c2VyIGltYWdlIGlzIG1pc3NpbmcKW1Vwc3RyZWFtIGlzc3VlXShodHRwczovL2dpdGh1Yi5jb20vbmV4dGNsb3VkL2NvbnRhY3RzL2lzc3Vlcy8zMDIxKQoKLS0tCiMjIyBQaG90b3MgYXBwCk9uIGZpcnN0IGxvYWQgdGhlIHBob3RvcyBhcHAgY2FsbHMgYSBwcmV2aWV3IGVuZHBvaW50LCBob3dldmVyLCBpZiBpdCBmYWlscyB0byBsb2FkIGl0IHdpbGwgdHJpZ2dlciBodHRwLXByb2JpbmcKC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BpbiB0cmFzaCBiaW4KICAgLSBldnQuTWV0YS5odHRwX3N0YXR1cyA9PSAnNDA0JyAmJiBldnQuTWV0YS5odHRwX3ZlcmIgPT0gJ0dFVCcgJiYgZXZ0Lk1ldGEuaHR0cF9wYXRoIG1hdGNoZXMgJ1xcL2FwcHNcXC9maWxlc1xcL2FwaVxcL3YxXFwvdGh1bWJuYWlsXFwvKFxcZCspLyhcXGQrKScKICAgLSBldnQuTWV0YS5odHRwX3N0YXR1cyA9PSAnNDA0JyAmJiBldnQuTWV0YS5odHRwX3ZlcmIgPT0gJ0dFVCcgJiYgZXZ0Lk1ldGEuaHR0cF9wYXRoIGNvbnRhaW5zICcvYXBwcy9ib29rbWFya3MvYm9va21hcmsnICYmIChldnQuTWV0YS5odHRwX3BhdGggZW5kc1dpdGggJ2Zhdmljb24nIHx8IGV2dC5NZXRhLmh0dHBfcGF0aCBlbmRzV2l0aCAnaW1hZ2UnKSAjV2hlbiBsb2FkaW5nIE5DIGJvb2ttYXJrczogc29tZSBlbnRyaWVzIG1pZ2h0IGhhdmUgbm8gZmF2aWNvbiBvciBubyBpbWFnZQogICAtIGV2dC5NZXRhLmh0dHBfc3RhdHVzID09ICc0MDQnICYmIGV2dC5NZXRhLmh0dHBfdmVyYiA9PSAnR0VUJyAmJiBldnQuTWV0YS5odHRwX3BhdGggY29udGFpbnMgJy9hcHBzL2Jvb2ttYXJrcy9mb2xkZXInICYmIGV2dC5NZXRhLmh0dHBfcGF0aCBlbmRzV2l0aCAncHVibGljdG9rZW4nICNXaGVuIGxvYWRpbmcgTkMgYm9va21hcmtzOiBwcml2YXRlIGZvbGRlcnMgaGF2ZSBubyBwdWJsaWN0b2tlbgo=",
"description": "Whitelist events from nextcloud",
"author": "crowdsecurity",
"labels": null
Expand Down
2 changes: 1 addition & 1 deletion parsers/s02-enrich/crowdsecurity/nextcloud-whitelist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ whitelist:
- evt.Meta.http_status == '404' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path contains '/apps/photos/api/v1/preview' && evt.Parsed.http_args contains 'x' && evt.Parsed.http_args contains 'y' #Photo app loads all previews as small panes, but can 404
- evt.Meta.http_status == '404' && evt.Meta.http_verb == 'GET' && evt.Parsed.request contains '/core/preview' && evt.Parsed.http_args contains 'x=' && evt.Parsed.http_args contains 'y=' && evt.Parsed.http_args contains 'fileId=' #File preview often 404s while searching
- evt.Meta.http_status in ['404', '200'] && evt.Meta.http_verb in ['PROPFIND', 'GET'] && evt.Meta.http_path matches '^/remote.php/(web)?dav/' #Uploading new files via WebDAV always produces a 404
- evt.Meta.http_status == '404' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path contains '/apps/mail/api/avatars/url/' #When loading mail contacts the avatars may get 404
- evt.Meta.http_status == '404' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path matches '/apps/mail/api/avatars/(url|image)/' #When loading mail contacts the avatars may get 404
- evt.Meta.http_status == '200' && evt.Parsed.static_ressource == 'false' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path contains '/apps/photos/api/v1/preview' && evt.Parsed.http_args contains '&x=' && evt.Parsed.http_args contains '&y=' && evt.Parsed.http_args contains 'etag=' #When loading multiple images inside Nextcloud Photos, HTTP Crawl non statics is triggered since the images look like dynamic assets.
- evt.Meta.http_status == '404' && evt.Meta.http_verb == 'GET' && evt.Parsed.request == '/ocs/v2.php/apps/text/workspace' && evt.Parsed.http_args contains 'path=%2F' #When opening folders in Nextcloud Files that don't contain a readme.md 404 error is thrown
- evt.Meta.http_status == '404' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path contains '/apps/files_trashbin/preview' && evt.Parsed.http_args contains 'fileId=' # 404 error thrown when preview is missing for files in trash bin
Expand Down
Loading