-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Osquery] Add kibana/osquery-pack-asset (#299)
* [Osquery] Add osquery_pack_asset to kibana assets * add changelog
- Loading branch information
1 parent
20cb225
commit f0dc2f4
Showing
3 changed files
with
147 additions
and
0 deletions.
There are no files selected for viewing
135 changes: 135 additions & 0 deletions
135
test/packages/good/kibana/osquery_pack_asset/good-osquery-pack-asset-1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
{ | ||
"attributes": { | ||
"name": "vuln-management", | ||
"version": 1, | ||
"queries": [ | ||
{ | ||
"id": "kernel_info", | ||
"interval": 86400, | ||
"query": "select * from kernel_info;", | ||
"version": "1.4.5" | ||
}, | ||
{ | ||
"id": "os_version", | ||
"interval": 86400, | ||
"query": "select * from os_version;", | ||
"version": "1.4.5" | ||
}, | ||
{ | ||
"id": "kextstat", | ||
"interval": 86400, | ||
"platform": "darwin", | ||
"query": "select * from kernel_extensions;", | ||
"version": "1.4.5" | ||
}, | ||
{ | ||
"id": "kernel_modules", | ||
"interval": 86400, | ||
"platform": "linux", | ||
"query": "select * from kernel_modules;", | ||
"version": "1.4.5" | ||
}, | ||
{ | ||
"id": "installed_applications", | ||
"interval": 86400, | ||
"platform": "darwin", | ||
"query": "select * from apps;", | ||
"version": "1.4.5" | ||
}, | ||
{ | ||
"id": "browser_plugins", | ||
"interval": 86400, | ||
"platform": "darwin", | ||
"query": "select browser_plugins.* from users join browser_plugins using (uid);", | ||
"version": "1.6.1" | ||
}, | ||
{ | ||
"id": "safari_extensions", | ||
"interval": 86400, | ||
"platform": "darwin", | ||
"query": "select safari_extensions.* from users join safari_extensions using (uid);", | ||
"version": "1.6.1" | ||
}, | ||
{ | ||
"id": "opera_extensions", | ||
"interval": 86400, | ||
"platform": "darwin,linux", | ||
"query": "select opera_extensions.* from users join opera_extensions using (uid);", | ||
"version": "1.6.1" | ||
}, | ||
{ | ||
"id": "chrome_extensions", | ||
"interval": 86400, | ||
"query": "select chrome_extensions.* from users join chrome_extensions using (uid);", | ||
"version": "1.6.1" | ||
}, | ||
{ | ||
"id": "firefox_addons", | ||
"interval": 86400, | ||
"platform": "darwin,linux", | ||
"query": "select firefox_addons.* from users join firefox_addons using (uid);", | ||
"version": "1.6.1" | ||
}, | ||
{ | ||
"id": "homebrew_packages", | ||
"interval": 86400, | ||
"platform": "darwin", | ||
"query": "select * from homebrew_packages;", | ||
"version": "1.4.5" | ||
}, | ||
{ | ||
"id": "package_receipts", | ||
"interval": 86400, | ||
"platform": "darwin", | ||
"query": "select * from package_receipts;", | ||
"version": "1.4.5" | ||
}, | ||
{ | ||
"id": "deb_packages", | ||
"interval": 86400, | ||
"platform": "linux", | ||
"query": "select * from deb_packages;", | ||
"version": "1.4.5" | ||
}, | ||
{ | ||
"id": "apt_sources", | ||
"interval": 86400, | ||
"platform": "linux", | ||
"query": "select * from apt_sources;", | ||
"version": "1.4.5" | ||
}, | ||
{ | ||
"id": "portage_packages", | ||
"interval": 86400, | ||
"platform": "linux", | ||
"query": "select * from portage_packages;", | ||
"version": "2.0.0" | ||
}, | ||
{ | ||
"id": "rpm_packages", | ||
"interval": 86400, | ||
"platform": "linux", | ||
"query": "select * from rpm_packages;", | ||
"version": "1.4.5" | ||
}, | ||
{ | ||
"id": "unauthenticated_sparkle_feeds", | ||
"interval": 86400, | ||
"platform": "darwin", | ||
"query": "select feeds.*, p2.value as sparkle_version from (select a.name as app_name, a.path as app_path, a.bundle_identifier as bundle_id, p.value as feed_url from (select name, path, bundle_identifier from apps) a, plist p where p.path = a.path || '/Contents/Info.plist' and p.key = 'SUFeedURL' and feed_url like 'http://%') feeds left outer join plist p2 on p2.path = app_path || '/Contents/Frameworks/Sparkle.framework/Resources/Info.plist' where (p2.key = 'CFBundleShortVersionString' OR coalesce(p2.key, '') = '');", | ||
"version": "1.4.5" | ||
}, | ||
{ | ||
"id": "backdoored_python_packages", | ||
"interval": 86400, | ||
"platform": "darwin,linux", | ||
"query": "select name as package_name, version as package_version, path as package_path from python_packages where package_name = 'acqusition' or package_name = 'apidev-coop' or package_name = 'bzip' or package_name = 'crypt' or package_name = 'django-server' or package_name = 'pwd' or package_name = 'setup-tools' or package_name = 'telnet' or package_name = 'urlib3' or package_name = 'urllib';", | ||
"version": "1.4.5" | ||
} | ||
] | ||
}, | ||
"coreMigrationVersion": "8.2.0", | ||
"id": "good-osquery-pack-asset-1", | ||
"references": [], | ||
"type": "osquery-pack-asset" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters