infracensus-collector 1.6.67 → 1.6.69
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.
- package/dist/a10-index.js +4 -4
- package/dist/{archive-5UOJ2NIZ.js → archive-4SGGIW5C.js} +3 -3
- package/dist/aws-index.js +16 -16
- package/dist/azure-index.js +14 -14
- package/dist/{chunk-C557NJKB.js → chunk-5EBC23LM.js} +2 -2
- package/dist/{chunk-IIY5LGE2.js → chunk-6756KSBB.js} +5 -5
- package/dist/{chunk-BY6AM5TR.js → chunk-6D4KWUKJ.js} +89 -24
- package/dist/{chunk-BY6AM5TR.js.map → chunk-6D4KWUKJ.js.map} +3 -3
- package/dist/{chunk-RSQFVK3H.js → chunk-7WB5TMBU.js} +3 -3
- package/dist/{chunk-D3K34ILZ.js → chunk-BNU3TPUH.js} +7 -6
- package/dist/chunk-BNU3TPUH.js.map +7 -0
- package/dist/{chunk-LUDEMSMB.js → chunk-C7Q64SNU.js} +28 -14
- package/dist/{chunk-LUDEMSMB.js.map → chunk-C7Q64SNU.js.map} +2 -2
- package/dist/{chunk-6Z6KONFP.js → chunk-D7VTJN62.js} +2 -2
- package/dist/{chunk-ZDNROQYC.js → chunk-DGO334CT.js} +4 -4
- package/dist/{chunk-42J3CGVR.js → chunk-ESNONUG5.js} +2 -2
- package/dist/{chunk-LLZKLPCH.js → chunk-FFJGJCV7.js} +2 -2
- package/dist/{chunk-AJZ4LE24.js → chunk-FHUSY55M.js} +5 -5
- package/dist/{chunk-5CXWSNCL.js → chunk-JHEAVIL7.js} +3 -3
- package/dist/{chunk-Y5N2QY5N.js → chunk-JKLWKARZ.js} +4 -4
- package/dist/{chunk-H4PQVRUY.js → chunk-KZXHHJGC.js} +4 -4
- package/dist/{chunk-P3S7FDS4.js → chunk-L4VTE2LC.js} +85 -14
- package/dist/chunk-L4VTE2LC.js.map +7 -0
- package/dist/{chunk-FJPPXYMA.js → chunk-ND7YJJNV.js} +2 -2
- package/dist/{chunk-RNFGQ3QC.js → chunk-OAIWMMDH.js} +3 -3
- package/dist/{chunk-CMDFZ772.js → chunk-OEVBPLDZ.js} +3 -3
- package/dist/{chunk-PPXESDVC.js → chunk-OGBYEIPU.js} +13 -13
- package/dist/{chunk-5HNQTLEA.js → chunk-PCPJUPKF.js} +9 -9
- package/dist/{chunk-FXYLCSBX.js → chunk-PUELZPI2.js} +65 -7
- package/dist/chunk-PUELZPI2.js.map +7 -0
- package/dist/{chunk-6PNWUWUG.js → chunk-PYKACAVZ.js} +2 -2
- package/dist/{chunk-KS5Q2IGN.js → chunk-QANDVYFT.js} +22 -4
- package/dist/chunk-QANDVYFT.js.map +7 -0
- package/dist/{chunk-LIGVIRSF.js → chunk-QOW645TT.js} +2 -2
- package/dist/{chunk-75SCXFRZ.js → chunk-SG52R7ET.js} +2 -2
- package/dist/{chunk-DOMGLHMP.js → chunk-TAPUYQEW.js} +8 -8
- package/dist/{chunk-FVRKNN2R.js → chunk-VILM5VKX.js} +2 -2
- package/dist/{chunk-I7S7GVGC.js → chunk-VMXJXME3.js} +2 -2
- package/dist/{chunk-EFV5GUNE.js → chunk-WGTBSWJM.js} +258 -22
- package/dist/chunk-WGTBSWJM.js.map +7 -0
- package/dist/{chunk-RPNAB7YG.js → chunk-WIZJ5HYY.js} +7 -7
- package/dist/{chunk-E5VACKF5.js → chunk-YMX7IHZO.js} +14 -14
- package/dist/{chunk-KUQQO6PW.js → chunk-YODCYDGU.js} +6 -6
- package/dist/{chunk-RVCBOHOI.js → chunk-Z55B352Z.js} +4 -4
- package/dist/{chunk-72MHN454.js → chunk-ZWBSBRJN.js} +2 -2
- package/dist/cli.js +8 -8
- package/dist/{config-45GS5TJ5.js → config-YWYYE6BO.js} +3 -3
- package/dist/configimport-index.js +4 -4
- package/dist/gcp-index.js +17 -17
- package/dist/hyperv-index.js +6 -6
- package/dist/identity-index.js +10 -10
- package/dist/index.js +2627 -615
- package/dist/index.js.map +4 -4
- package/dist/kubernetes-index.js +9 -9
- package/dist/{ocr-Y3CRZAUA.js → ocr-AANQ5UEV.js} +4 -4
- package/dist/sdd-classify-worker-index.js +3 -3
- package/dist/sensitive-data-index.js +19 -19
- package/dist/smb-shares-index.js +18 -18
- package/dist/sql-index.js +6 -6
- package/dist/{status-VNXWMJRT.js → status-TJRZUJGM.js} +9 -7
- package/dist/vmware-index.js +6 -6
- package/dist/voice-index.js +6 -6
- package/package.json +1 -1
- package/dist/chunk-D3K34ILZ.js.map +0 -7
- package/dist/chunk-EFV5GUNE.js.map +0 -7
- package/dist/chunk-FXYLCSBX.js.map +0 -7
- package/dist/chunk-KS5Q2IGN.js.map +0 -7
- package/dist/chunk-P3S7FDS4.js.map +0 -7
- /package/dist/{archive-5UOJ2NIZ.js.map → archive-4SGGIW5C.js.map} +0 -0
- /package/dist/{chunk-C557NJKB.js.map → chunk-5EBC23LM.js.map} +0 -0
- /package/dist/{chunk-IIY5LGE2.js.map → chunk-6756KSBB.js.map} +0 -0
- /package/dist/{chunk-RSQFVK3H.js.map → chunk-7WB5TMBU.js.map} +0 -0
- /package/dist/{chunk-6Z6KONFP.js.map → chunk-D7VTJN62.js.map} +0 -0
- /package/dist/{chunk-ZDNROQYC.js.map → chunk-DGO334CT.js.map} +0 -0
- /package/dist/{chunk-42J3CGVR.js.map → chunk-ESNONUG5.js.map} +0 -0
- /package/dist/{chunk-LLZKLPCH.js.map → chunk-FFJGJCV7.js.map} +0 -0
- /package/dist/{chunk-AJZ4LE24.js.map → chunk-FHUSY55M.js.map} +0 -0
- /package/dist/{chunk-5CXWSNCL.js.map → chunk-JHEAVIL7.js.map} +0 -0
- /package/dist/{chunk-Y5N2QY5N.js.map → chunk-JKLWKARZ.js.map} +0 -0
- /package/dist/{chunk-H4PQVRUY.js.map → chunk-KZXHHJGC.js.map} +0 -0
- /package/dist/{chunk-FJPPXYMA.js.map → chunk-ND7YJJNV.js.map} +0 -0
- /package/dist/{chunk-RNFGQ3QC.js.map → chunk-OAIWMMDH.js.map} +0 -0
- /package/dist/{chunk-CMDFZ772.js.map → chunk-OEVBPLDZ.js.map} +0 -0
- /package/dist/{chunk-PPXESDVC.js.map → chunk-OGBYEIPU.js.map} +0 -0
- /package/dist/{chunk-5HNQTLEA.js.map → chunk-PCPJUPKF.js.map} +0 -0
- /package/dist/{chunk-6PNWUWUG.js.map → chunk-PYKACAVZ.js.map} +0 -0
- /package/dist/{chunk-LIGVIRSF.js.map → chunk-QOW645TT.js.map} +0 -0
- /package/dist/{chunk-75SCXFRZ.js.map → chunk-SG52R7ET.js.map} +0 -0
- /package/dist/{chunk-DOMGLHMP.js.map → chunk-TAPUYQEW.js.map} +0 -0
- /package/dist/{chunk-FVRKNN2R.js.map → chunk-VILM5VKX.js.map} +0 -0
- /package/dist/{chunk-I7S7GVGC.js.map → chunk-VMXJXME3.js.map} +0 -0
- /package/dist/{chunk-RPNAB7YG.js.map → chunk-WIZJ5HYY.js.map} +0 -0
- /package/dist/{chunk-E5VACKF5.js.map → chunk-YMX7IHZO.js.map} +0 -0
- /package/dist/{chunk-KUQQO6PW.js.map → chunk-YODCYDGU.js.map} +0 -0
- /package/dist/{chunk-RVCBOHOI.js.map → chunk-Z55B352Z.js.map} +0 -0
- /package/dist/{chunk-72MHN454.js.map → chunk-ZWBSBRJN.js.map} +0 -0
- /package/dist/{config-45GS5TJ5.js.map → config-YWYYE6BO.js.map} +0 -0
- /package/dist/{ocr-Y3CRZAUA.js.map → ocr-AANQ5UEV.js.map} +0 -0
- /package/dist/{status-VNXWMJRT.js.map → status-TJRZUJGM.js.map} +0 -0
package/dist/a10-index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AxapiClient,
|
|
3
3
|
buildLoadBalancerInventory
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WGTBSWJM.js";
|
|
5
5
|
import {
|
|
6
6
|
requireEntitlementToScan
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-QANDVYFT.js";
|
|
8
|
+
import "./chunk-SG52R7ET.js";
|
|
9
9
|
import {
|
|
10
10
|
ROUTES
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-L4VTE2LC.js";
|
|
12
12
|
|
|
13
13
|
// src/a10-index.ts
|
|
14
14
|
var LEVEL_RANK = { debug: 10, info: 20, warn: 30, error: 40 };
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
extensionKind,
|
|
3
3
|
extractOpenXml,
|
|
4
4
|
extractPlainText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DGO334CT.js";
|
|
6
6
|
import {
|
|
7
7
|
checkEntryPath,
|
|
8
8
|
checkEntrySize
|
|
9
9
|
} from "./chunk-PTGS7JVX.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-L4VTE2LC.js";
|
|
11
11
|
|
|
12
12
|
// src/sensitiveData/archive.ts
|
|
13
13
|
import { unzipSync } from "fflate";
|
|
@@ -68,4 +68,4 @@ function extractArchive(bytes) {
|
|
|
68
68
|
export {
|
|
69
69
|
extractArchive
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=archive-
|
|
71
|
+
//# sourceMappingURL=archive-4SGGIW5C.js.map
|
package/dist/aws-index.js
CHANGED
|
@@ -3,42 +3,42 @@ import {
|
|
|
3
3
|
awsWithCost,
|
|
4
4
|
describeAwsRun,
|
|
5
5
|
runAwsAccount
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OGBYEIPU.js";
|
|
7
|
+
import "./chunk-PCPJUPKF.js";
|
|
8
|
+
import "./chunk-JKLWKARZ.js";
|
|
9
|
+
import "./chunk-ND7YJJNV.js";
|
|
10
|
+
import "./chunk-Z55B352Z.js";
|
|
11
11
|
import {
|
|
12
12
|
AWS_PERMISSIONS,
|
|
13
13
|
AWS_PERMISSION_NOTES,
|
|
14
14
|
AWS_RECOMMENDED_POLICY
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-JHEAVIL7.js";
|
|
16
|
+
import "./chunk-ZWBSBRJN.js";
|
|
17
17
|
import {
|
|
18
18
|
openVault
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-D7VTJN62.js";
|
|
20
20
|
import "./chunk-BPIFQYJR.js";
|
|
21
21
|
import "./chunk-PTGS7JVX.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-YODCYDGU.js";
|
|
23
23
|
import "./chunk-OORBSDZ2.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-PYKACAVZ.js";
|
|
25
|
+
import "./chunk-VILM5VKX.js";
|
|
26
|
+
import "./chunk-OEVBPLDZ.js";
|
|
27
27
|
import "./chunk-URNQQQIZ.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-FFJGJCV7.js";
|
|
29
29
|
import {
|
|
30
30
|
collectorOwnsModule,
|
|
31
31
|
requireEntitlementToScan
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-QANDVYFT.js";
|
|
33
33
|
import {
|
|
34
34
|
FileConfig,
|
|
35
35
|
configFilePath,
|
|
36
36
|
stateDir,
|
|
37
37
|
vaultSettings
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-SG52R7ET.js";
|
|
39
39
|
import {
|
|
40
40
|
VaultProtection
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-L4VTE2LC.js";
|
|
42
42
|
|
|
43
43
|
// src/aws-index.ts
|
|
44
44
|
import { existsSync, readFileSync } from "node:fs";
|
package/dist/azure-index.js
CHANGED
|
@@ -2,32 +2,32 @@ import {
|
|
|
2
2
|
buildAzureInventory,
|
|
3
3
|
listAccessibleSubscriptions,
|
|
4
4
|
runAzureMonitoringCoverage
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-TAPUYQEW.js";
|
|
6
|
+
import "./chunk-ND7YJJNV.js";
|
|
7
|
+
import "./chunk-6D4KWUKJ.js";
|
|
8
|
+
import "./chunk-JHEAVIL7.js";
|
|
9
|
+
import "./chunk-ZWBSBRJN.js";
|
|
10
10
|
import "./chunk-4ARXQ6VD.js";
|
|
11
11
|
import {
|
|
12
12
|
ArmClient,
|
|
13
13
|
runCostAfterAzure
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YODCYDGU.js";
|
|
15
15
|
import "./chunk-OORBSDZ2.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-PYKACAVZ.js";
|
|
17
|
+
import "./chunk-VILM5VKX.js";
|
|
18
|
+
import "./chunk-OEVBPLDZ.js";
|
|
19
19
|
import "./chunk-URNQQQIZ.js";
|
|
20
20
|
import {
|
|
21
21
|
pushAzureInventory
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-6756KSBB.js";
|
|
23
|
+
import "./chunk-FFJGJCV7.js";
|
|
24
24
|
import {
|
|
25
25
|
requireEntitlementToScan
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QANDVYFT.js";
|
|
27
27
|
import {
|
|
28
28
|
loadAzureConfig
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-SG52R7ET.js";
|
|
30
|
+
import "./chunk-L4VTE2LC.js";
|
|
31
31
|
|
|
32
32
|
// src/azure-index.ts
|
|
33
33
|
var LEVEL_RANK = { debug: 10, info: 20, warn: 30, error: 40 };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-4RUBV5WB.js";
|
|
4
4
|
import {
|
|
5
5
|
VmwareIngestBody
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-L4VTE2LC.js";
|
|
7
7
|
|
|
8
8
|
// src/vmware/soap.ts
|
|
9
9
|
import { XMLParser } from "fast-xml-parser";
|
|
@@ -1376,4 +1376,4 @@ export {
|
|
|
1376
1376
|
VsphereClient,
|
|
1377
1377
|
buildVmwareInventory
|
|
1378
1378
|
};
|
|
1379
|
-
//# sourceMappingURL=chunk-
|
|
1379
|
+
//# sourceMappingURL=chunk-5EBC23LM.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isPlanRefusal,
|
|
3
3
|
planRefusalFrom
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FFJGJCV7.js";
|
|
5
5
|
import {
|
|
6
6
|
COLLECTOR_AUTH_HEADER,
|
|
7
7
|
IngestResult,
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
SnapshotUploadCloseResult,
|
|
11
11
|
SnapshotUploadOpenResult,
|
|
12
12
|
collectorBearer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QANDVYFT.js";
|
|
14
14
|
import {
|
|
15
15
|
M365SharingBatchResult,
|
|
16
16
|
M365SharingCloseResult,
|
|
17
17
|
M365SharingRunResult
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SG52R7ET.js";
|
|
19
19
|
import {
|
|
20
20
|
ApiError,
|
|
21
21
|
CertReportResult,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
SddRunBatchResult,
|
|
25
25
|
SddRunCloseResult,
|
|
26
26
|
SddRunOpenResult
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-L4VTE2LC.js";
|
|
28
28
|
|
|
29
29
|
// src/core/snapshotChunks.ts
|
|
30
30
|
var CHUNK_THRESHOLD_BYTES = 1048576;
|
|
@@ -614,4 +614,4 @@ export {
|
|
|
614
614
|
pushM365SharingClose,
|
|
615
615
|
pushRejectionStatus
|
|
616
616
|
};
|
|
617
|
-
//# sourceMappingURL=chunk-
|
|
617
|
+
//# sourceMappingURL=chunk-6756KSBB.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isRouteMissing,
|
|
10
10
|
safeJson,
|
|
11
11
|
sidePost
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VILM5VKX.js";
|
|
13
13
|
import {
|
|
14
14
|
FrameworkRef,
|
|
15
15
|
HostPostureVolume,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
SDD_OPENXML_EXTENSIONS,
|
|
19
19
|
SddRegulationFamily,
|
|
20
20
|
SddTargetKind
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-L4VTE2LC.js";
|
|
22
22
|
|
|
23
23
|
// src/sensitiveData/safeguards.ts
|
|
24
24
|
import { spawn as spawn3 } from "node:child_process";
|
|
@@ -678,6 +678,79 @@ function safeHostname(name) {
|
|
|
678
678
|
return isSafeHostname(trimmed) ? trimmed : void 0;
|
|
679
679
|
}
|
|
680
680
|
|
|
681
|
+
// src/scan/endpointProducts.ts
|
|
682
|
+
var ENDPOINT_CATALOG = [
|
|
683
|
+
{ name: "Cisco Secure Endpoint", rx: /cisco.*(amp|secure.?endpoint)|ciscoamp|ciscosecureendpoint|immunet|\bampsvc\b|\bcscm\b|^sfc\b|\\cisco\\amp\\|secure endpoint/ },
|
|
684
|
+
{ name: "SentinelOne", rx: /sentinel ?(agent|one|staticengine|helper|monitor)|\\sentinelone\\/ },
|
|
685
|
+
{ name: "CrowdStrike Falcon", rx: /csfalcon|crowdstrike|\bcsagent\b/ },
|
|
686
|
+
{ name: "Microsoft Defender for Endpoint", rx: /^sense\b|defender advanced threat protection|defender for endpoint|\\windows defender advanced threat protection\\/ },
|
|
687
|
+
{ name: "Microsoft Defender", rx: /^windefend\b|^wdnissvc\b|microsoft defender antivirus service/ },
|
|
688
|
+
{ name: "VMware Carbon Black", rx: /carbon ?black|cbdefense|cb ?defense|\brepux\b|\bparity\b|\bcarbonblack\b/ },
|
|
689
|
+
{ name: "Palo Alto Cortex XDR", rx: /\bcyserver\b|cortex ?xdr|\btraps\b|\bcyvera\b|\\palo alto networks\\traps\\/ },
|
|
690
|
+
{ name: "Sophos", rx: /sophos/ },
|
|
691
|
+
{ name: "Symantec Endpoint Protection", rx: /sepmasterservice|symantec|\bsisidsservice\b|\bccsvchst\b|broadcom.*endpoint/ },
|
|
692
|
+
{ name: "Trellix Endpoint Security (HX)", rx: /\bxagt\b|fireeye/ },
|
|
693
|
+
{ name: "McAfee / Trellix", rx: /mcafee|\bmasvc\b|\bmfemms\b|\bmfefire\b|trellix/ },
|
|
694
|
+
{ name: "Trend Micro", rx: /trend ?micro|\btmccsf\b|\bntrtscan\b|\bamsp\b|\btmbmserver\b|\bds_agent\b|\btmlisten\b|apex one|deep security agent/ },
|
|
695
|
+
{ name: "BlackBerry Cylance", rx: /cylance/ },
|
|
696
|
+
{ name: "Elastic Defend", rx: /elastic ?(agent|endpoint|defend)|\bedrsensor\b/ },
|
|
697
|
+
{ name: "ESET Endpoint Security", rx: /^ekrn\b|\beset\b|\beraagent\b|\\eset\\/ },
|
|
698
|
+
{ name: "Kaspersky Endpoint Security", rx: /kaspersky|^avp\b|^avp\.|\bklnagent\b|\bkavfs/ },
|
|
699
|
+
{ name: "Bitdefender GravityZone", rx: /bitdefender|\bepsecurityservice\b|\bepintegrationservice\b|\bepprotectedservice\b|\bepredline\b|\bbdredline\b|\bvsserv\b/ },
|
|
700
|
+
{ name: "Malwarebytes", rx: /malwarebytes|\bmbamservice\b|\bmbendpointagent\b/ },
|
|
701
|
+
{ name: "Webroot", rx: /webroot|^wrsvc\b/ },
|
|
702
|
+
{ name: "Cybereason", rx: /cybereason|^crsvc\b/ },
|
|
703
|
+
{ name: "Huntress", rx: /huntress/ },
|
|
704
|
+
{ name: "WithSecure / F-Secure", rx: /withsecure|f-?secure|\bfshoster\b|\bfsulprothoster\b/ },
|
|
705
|
+
{ name: "Fortinet FortiEDR", rx: /fortiedr/ },
|
|
706
|
+
{ name: "Fortinet FortiClient", rx: /forticlient|fortishield|\bfa_scheduler\b|\bfortiesnac\b/ },
|
|
707
|
+
{ name: "Check Point Harmony Endpoint", rx: /check ?point.*(endpoint|harmony|sandblast)|\bepwd\b|\btracsrvwrapper\b/ },
|
|
708
|
+
{ name: "Deep Instinct", rx: /deep ?instinct/ },
|
|
709
|
+
{ name: "Arctic Wolf Agent", rx: /arctic ?wolf/ },
|
|
710
|
+
{ name: "Blackpoint SNAP", rx: /blackpoint|\bsnapagent\b/ },
|
|
711
|
+
{ name: "Secureworks Taegis XDR", rx: /taegis|secureworks|redcloak/ },
|
|
712
|
+
{ name: "Rapid7 Insight Agent", rx: /\bir_agent\b|rapid7/ },
|
|
713
|
+
{ name: "Cynet", rx: /cynet/ },
|
|
714
|
+
{ name: "Heimdal", rx: /heimdal/ },
|
|
715
|
+
{ name: "ThreatLocker", rx: /threatlocker/ },
|
|
716
|
+
{ name: "WatchGuard / Panda EPDR", rx: /panda ?(security|endpoint|adaptive)|\bpavsrv\b|watchguard.*(epdr|endpoint)/ },
|
|
717
|
+
{ name: "Xcitium / Comodo", rx: /xcitium|comodo|\bcmdagent\b/ },
|
|
718
|
+
{ name: "Avast / AVG", rx: /\bavast|\bavgsvc\b|\bavg (antivirus|business)/ },
|
|
719
|
+
{ name: "Avira", rx: /avira/ },
|
|
720
|
+
{ name: "Norton", rx: /norton (security|antivirus|360)/ },
|
|
721
|
+
{ name: "Wazuh", rx: /wazuh/ },
|
|
722
|
+
{ name: "LimaCharlie", rx: /limacharlie|\brphcp\b/ },
|
|
723
|
+
{ name: "Qualys EDR", rx: /qualys.*(edr|multi-?vector)/ }
|
|
724
|
+
];
|
|
725
|
+
var GENERIC = /\b(anti-?virus|anti-?malware|endpoint (protection|security|detection|defen[cs]e)|edr|xdr|threat (protection|prevention|defen[cs]e|detection))\b/i;
|
|
726
|
+
var GENERIC_EXCLUDE = /^(mpssvc|securityhealthservice|wscsvc|mdcoresvc)$/i;
|
|
727
|
+
var MAX_ROWS = 2e3;
|
|
728
|
+
var MAX_FIELD = 400;
|
|
729
|
+
var clip = (v) => (v ?? "").slice(0, MAX_FIELD).trim();
|
|
730
|
+
function classifyEndpointServices(rows) {
|
|
731
|
+
const found = /* @__PURE__ */ new Map();
|
|
732
|
+
const mark = (name, running) => {
|
|
733
|
+
const ex = found.get(name);
|
|
734
|
+
if (ex) ex.enabled ||= running;
|
|
735
|
+
else found.set(name, { name, enabled: running });
|
|
736
|
+
};
|
|
737
|
+
for (const r of rows.slice(0, MAX_ROWS)) {
|
|
738
|
+
const n = clip(r.n);
|
|
739
|
+
const d = clip(r.d);
|
|
740
|
+
const p = clip(r.p);
|
|
741
|
+
if (!n && !d) continue;
|
|
742
|
+
const running = clip(r.s).toLowerCase() === "running";
|
|
743
|
+
const hay = `${n} ${d} ${p}`.toLowerCase();
|
|
744
|
+
const hit = ENDPOINT_CATALOG.find((e) => e.rx.test(hay));
|
|
745
|
+
if (hit) {
|
|
746
|
+
mark(hit.name, running);
|
|
747
|
+
continue;
|
|
748
|
+
}
|
|
749
|
+
if (d && !GENERIC_EXCLUDE.test(n) && GENERIC.test(d)) mark(d.slice(0, 120), running);
|
|
750
|
+
}
|
|
751
|
+
return [...found.values()];
|
|
752
|
+
}
|
|
753
|
+
|
|
681
754
|
// src/scan/wmi.ts
|
|
682
755
|
var PS_SCRIPT = `
|
|
683
756
|
${PS_UTF8_STDOUT}
|
|
@@ -810,29 +883,19 @@ try {
|
|
|
810
883
|
# Service-based AV/EDR detection. SecurityCenter2 is ABSENT on Windows Server,
|
|
811
884
|
# and modern EDRs (Cisco Secure Endpoint, SentinelOne, CrowdStrike\u2026) don't
|
|
812
885
|
# always register there even on clients \u2014 but they always install a service.
|
|
813
|
-
#
|
|
886
|
+
# The script only LISTS the services; the collector classifies them
|
|
887
|
+
# (scan/endpointProducts.ts), where the vendor catalog is tested and a
|
|
888
|
+
# generic keyword pass catches products no catalog names. The list stays on
|
|
889
|
+
# the collector \u2014 only the classified product names go north.
|
|
814
890
|
# NOTE: -ErrorAction SilentlyContinue (NOT Stop): a single service row that
|
|
815
891
|
# trips WMI must not abort the whole enumeration (that left Servers with only
|
|
816
|
-
# the Defender fallback and no EDR).
|
|
817
|
-
#
|
|
892
|
+
# the Defender fallback and no EDR). Four columns only, so the query is light
|
|
893
|
+
# on busy hosts (DCs) too.
|
|
894
|
+
$svc = @()
|
|
818
895
|
try {
|
|
819
|
-
$
|
|
820
|
-
|
|
821
|
-
@{
|
|
822
|
-
@{ rx = 'csfalcon|crowdstrike|csagent'; nm = 'CrowdStrike Falcon' },
|
|
823
|
-
@{ rx = 'carbonblack|cbdefense|cb.?defense|repux|parity'; nm = 'VMware Carbon Black' },
|
|
824
|
-
@{ rx = 'sepmaster|symantec|sisidsservice|ccsvchst'; nm = 'Symantec Endpoint Protection' },
|
|
825
|
-
@{ rx = 'mcafee|masvc|mfemms|trellix'; nm = 'McAfee / Trellix' },
|
|
826
|
-
@{ rx = 'trend.?micro|tmccsf|ntrtscan|amsp|tmbmserver'; nm = 'Trend Micro' },
|
|
827
|
-
@{ rx = 'sophos'; nm = 'Sophos' },
|
|
828
|
-
@{ rx = 'cylance'; nm = 'BlackBerry Cylance' },
|
|
829
|
-
@{ rx = 'edrsensor|elastic.?agent'; nm = 'Elastic Defend' },
|
|
830
|
-
@{ rx = 'windefend|wdnissvc|sense'; nm = 'Microsoft Defender' }
|
|
831
|
-
)
|
|
832
|
-
$svcs = Get-CimInstance -CimSession $sess -Query 'SELECT Name,DisplayName,State FROM Win32_Service' -ErrorAction SilentlyContinue
|
|
833
|
-
foreach ($p in $avpat) {
|
|
834
|
-
$hit = $svcs | Where-Object { "$($_.Name) $($_.DisplayName)" -match $p.rx } | Select-Object -First 1
|
|
835
|
-
if ($hit) { $av += [pscustomobject]@{ name = $p.nm; enabled = ("$($hit.State)" -eq 'Running') } }
|
|
896
|
+
$svcs = Get-CimInstance -CimSession $sess -Query 'SELECT Name,DisplayName,State,PathName FROM Win32_Service' -ErrorAction SilentlyContinue
|
|
897
|
+
foreach ($s in ($svcs | Select-Object -First 2000)) {
|
|
898
|
+
$svc += [pscustomobject]@{ n = "$($s.Name)"; d = "$($s.DisplayName)"; s = "$($s.State)"; p = "$($s.PathName)" }
|
|
836
899
|
}
|
|
837
900
|
} catch {}
|
|
838
901
|
# Defender's own status class \u2014 ALWAYS queried (authoritative version + real
|
|
@@ -917,6 +980,7 @@ try {
|
|
|
917
980
|
domain = $cs.Domain
|
|
918
981
|
serial = if ($bios) { $bios.SerialNumber } else { $null }
|
|
919
982
|
av = $av
|
|
983
|
+
svc = $svc
|
|
920
984
|
fw = $fw
|
|
921
985
|
disks = $disks
|
|
922
986
|
}
|
|
@@ -1103,7 +1167,8 @@ function runOnce(host, hostname, cred, timeoutMs, signal, plan) {
|
|
|
1103
1167
|
const release = nonEmpty(j.release ?? void 0);
|
|
1104
1168
|
const version = release && dotted ? `${release} (${dotted})` : dotted && nonEmpty(j.build) ? `${dotted} (build ${j.build.trim()})` : dotted ?? nonEmpty(j.build);
|
|
1105
1169
|
const avByName = /* @__PURE__ */ new Map();
|
|
1106
|
-
|
|
1170
|
+
const rawAv = [...toArray(j.av), ...classifyEndpointServices(toArray(j.svc))];
|
|
1171
|
+
for (const a of rawAv) {
|
|
1107
1172
|
const name = nonEmpty(a.name);
|
|
1108
1173
|
if (!name) continue;
|
|
1109
1174
|
const key = name.toLowerCase();
|
|
@@ -1874,4 +1939,4 @@ export {
|
|
|
1874
1939
|
newPostureCache,
|
|
1875
1940
|
runSmbSafeguards
|
|
1876
1941
|
};
|
|
1877
|
-
//# sourceMappingURL=chunk-
|
|
1942
|
+
//# sourceMappingURL=chunk-6D4KWUKJ.js.map
|