Shady Chrome Extension Author
osquery
Highlight potentially shady chrome extensions from documented spam authors
Description
ODK (osquery-defense-kit) is unique in that the queries are designed to be used as part of a production detection & response pipeline. The detection queries are formulated to return zero rows during normal expected behavior, so that they may be configured to generate alerts when rows are returned.
Query
-- Highlight potentially shady chrome extensions from documented spam authors
--
-- references:
-- * arstechnica.com/security/2025/01/googles-chrome-web-store-has-a-serious-spam-problem-promoting-shady-extensions
--
-- false positives:
-- * Legitimate extensions from the documented authors
--
-- tags: persistent seldom browser
SELECT
name,profile,
AS 'descr',
chrome_extensions.description AS persists,
persistent CONCAT (
"https://chromewebstore.google.com/detail/extension/",
identifier
AS ext_url,
)
author,
chrome_extensions.path,AS in_config,
referenced file.ctime,
file.btime,
file.mtime,
AS in_store,
from_webstore TRIM(CAST(permissions AS text)) AS perms,
AS 'enabled',
state CONCAT (
from_webstore,',',
author,',',
name,',',
identifier
AS exception_key,
) hash.sha256
FROM
usersCROSS JOIN chrome_extensions USING (uid)
LEFT JOIN file ON chrome_extensions.path = file.path
LEFT JOIN hash ON chrome_extensions.path = hash.path
WHERE
= 1
state AND (
(LIKE '%BigMData%'
author OR author LIKE '%BroCode LTD%'
OR author LIKE '%Chrome Extension Hub%'
OR author LIKE '%ExtensionsBox%'
OR author LIKE '%Free Business Apps%'
OR author LIKE '%Infwiz%'
OR author LIKE '%Karbon Project LP%'
OR author LIKE '%Kodice LLC%'
OR author LIKE '%Lazytech%'
OR author LIKE '%NioMaker%'
OR author LIKE '%PDF Toolbox cluster%'
OR author LIKE '%Yue Apps%'
OR author LIKE '%ZingDeck%'
OR author LIKE '%ZingFront Software%'
)
)GROUP BY
exception_key
tags: SStagSS