| 1 | { |
| 2 | "annotations": { |
| 3 | "list": [ |
| 4 | { |
| 5 | "builtIn": 1, |
| 6 | "datasource": { |
| 7 | "type": "datasource", |
| 8 | "uid": "grafana" |
| 9 | }, |
| 10 | "enable": true, |
| 11 | "hide": true, |
| 12 | "iconColor": "rgba(0, 211, 255, 1)", |
| 13 | "name": "Annotations & Alerts", |
| 14 | "target": { |
| 15 | "limit": 100, |
| 16 | "matchAny": false, |
| 17 | "tags": [], |
| 18 | "type": "dashboard" |
| 19 | }, |
| 20 | "type": "dashboard" |
| 21 | } |
| 22 | ] |
| 23 | }, |
| 24 | "editable": false, |
| 25 | "fiscalYearStartMonth": 0, |
| 26 | "graphTooltip": 0, |
| 27 | "id": null, |
| 28 | "links": [ |
| 29 | { |
| 30 | "asDropdown": true, |
| 31 | "icon": "external link", |
| 32 | "includeVars": true, |
| 33 | "keepTime": true, |
| 34 | "tags": ["EDR"], |
| 35 | "targetBlank": true, |
| 36 | "title": "", |
| 37 | "type": "dashboards" |
| 38 | } |
| 39 | ], |
| 40 | "liveNow": false, |
| 41 | "panels": [ |
| 42 | { |
| 43 | "collapsed": false, |
| 44 | "datasource": { |
| 45 | "type": "elasticsearch", |
| 46 | "uid": "replace_datasource_uid" |
| 47 | }, |
| 48 | "gridPos": { |
| 49 | "h": 1, |
| 50 | "w": 24, |
| 51 | "x": 0, |
| 52 | "y": 0 |
| 53 | }, |
| 54 | "id": 75, |
| 55 | "panels": [], |
| 56 | "title": "DNS TELEMETRY", |
| 57 | "type": "row" |
| 58 | }, |
| 59 | { |
| 60 | "datasource": { |
| 61 | "type": "elasticsearch", |
| 62 | "uid": "replace_datasource_uid" |
| 63 | }, |
| 64 | "fieldConfig": { |
| 65 | "defaults": { |
| 66 | "mappings": [ |
| 67 | { |
| 68 | "options": { |
| 69 | "match": "null", |
| 70 | "result": { |
| 71 | "text": "N/A" |
| 72 | } |
| 73 | }, |
| 74 | "type": "special" |
| 75 | } |
| 76 | ], |
| 77 | "thresholds": { |
| 78 | "mode": "absolute", |
| 79 | "steps": [ |
| 80 | { |
| 81 | "color": "blue", |
| 82 | "value": null |
| 83 | } |
| 84 | ] |
| 85 | }, |
| 86 | "unit": "short" |
| 87 | }, |
| 88 | "overrides": [] |
| 89 | }, |
| 90 | "gridPos": { |
| 91 | "h": 7, |
| 92 | "w": 4, |
| 93 | "x": 0, |
| 94 | "y": 1 |
| 95 | }, |
| 96 | "id": 68, |
| 97 | "options": { |
| 98 | "colorMode": "value", |
| 99 | "graphMode": "area", |
| 100 | "justifyMode": "auto", |
| 101 | "orientation": "horizontal", |
| 102 | "reduceOptions": { |
| 103 | "calcs": ["sum"], |
| 104 | "fields": "", |
| 105 | "values": false |
| 106 | }, |
| 107 | "showPercentChange": false, |
| 108 | "text": {}, |
| 109 | "textMode": "auto", |
| 110 | "wideLayout": true |
| 111 | }, |
| 112 | "pluginVersion": "10.4.0", |
| 113 | "targets": [ |
| 114 | { |
| 115 | "bucketAggs": [ |
| 116 | { |
| 117 | "field": "timestamp", |
| 118 | "id": "2", |
| 119 | "settings": { |
| 120 | "interval": "auto", |
| 121 | "min_doc_count": 0, |
| 122 | "trimEdges": 0 |
| 123 | }, |
| 124 | "type": "date_histogram" |
| 125 | } |
| 126 | ], |
| 127 | "datasource": { |
| 128 | "type": "elasticsearch", |
| 129 | "uid": "replace_datasource_uid" |
| 130 | }, |
| 131 | "metrics": [ |
| 132 | { |
| 133 | "field": "select field", |
| 134 | "id": "1", |
| 135 | "type": "count" |
| 136 | } |
| 137 | ], |
| 138 | "query": "(rule_group3:sysmon_event_22 OR rule_group3:dns) AND agent_name:$agent_name", |
| 139 | "refId": "A", |
| 140 | "timeField": "timestamp" |
| 141 | } |
| 142 | ], |
| 143 | "title": "DNS QUERIES", |
| 144 | "type": "stat" |
| 145 | }, |
| 146 | { |
| 147 | "datasource": { |
| 148 | "type": "elasticsearch", |
| 149 | "uid": "replace_datasource_uid" |
| 150 | }, |
| 151 | "fieldConfig": { |
| 152 | "defaults": { |
| 153 | "color": { |
| 154 | "mode": "thresholds" |
| 155 | }, |
| 156 | "custom": { |
| 157 | "align": "auto", |
| 158 | "cellOptions": { |
| 159 | "type": "auto" |
| 160 | }, |
| 161 | "inspect": false |
| 162 | }, |
| 163 | "mappings": [], |
| 164 | "thresholds": { |
| 165 | "mode": "absolute", |
| 166 | "steps": [ |
| 167 | { |
| 168 | "color": "green", |
| 169 | "value": null |
| 170 | }, |
| 171 | { |
| 172 | "color": "red", |
| 173 | "value": 80 |
| 174 | } |
| 175 | ] |
| 176 | } |
| 177 | }, |
| 178 | "overrides": [ |
| 179 | { |
| 180 | "matcher": { |
| 181 | "id": "byName", |
| 182 | "options": "Time" |
| 183 | }, |
| 184 | "properties": [ |
| 185 | { |
| 186 | "id": "displayName", |
| 187 | "value": "Time" |
| 188 | }, |
| 189 | { |
| 190 | "id": "unit", |
| 191 | "value": "time: YYYY-MM-DD HH:mm:ss" |
| 192 | }, |
| 193 | { |
| 194 | "id": "custom.align" |
| 195 | } |
| 196 | ] |
| 197 | }, |
| 198 | { |
| 199 | "matcher": { |
| 200 | "id": "byName", |
| 201 | "options": "Count" |
| 202 | }, |
| 203 | "properties": [ |
| 204 | { |
| 205 | "id": "unit", |
| 206 | "value": "short" |
| 207 | }, |
| 208 | { |
| 209 | "id": "decimals", |
| 210 | "value": -1 |
| 211 | }, |
| 212 | { |
| 213 | "id": "custom.align" |
| 214 | } |
| 215 | ] |
| 216 | }, |
| 217 | { |
| 218 | "matcher": { |
| 219 | "id": "byName", |
| 220 | "options": "agent_name" |
| 221 | }, |
| 222 | "properties": [ |
| 223 | { |
| 224 | "id": "displayName", |
| 225 | "value": "AGENT" |
| 226 | }, |
| 227 | { |
| 228 | "id": "unit", |
| 229 | "value": "short" |
| 230 | }, |
| 231 | { |
| 232 | "id": "decimals", |
| 233 | "value": 2 |
| 234 | }, |
| 235 | { |
| 236 | "id": "custom.align" |
| 237 | } |
| 238 | ] |
| 239 | } |
| 240 | ] |
| 241 | }, |
| 242 | "gridPos": { |
| 243 | "h": 7, |
| 244 | "w": 6, |
| 245 | "x": 4, |
| 246 | "y": 1 |
| 247 | }, |
| 248 | "id": 31, |
| 249 | "options": { |
| 250 | "cellHeight": "sm", |
| 251 | "footer": { |
| 252 | "countRows": false, |
| 253 | "fields": "", |
| 254 | "reducer": ["sum"], |
| 255 | "show": false |
| 256 | }, |
| 257 | "showHeader": true |
| 258 | }, |
| 259 | "pluginVersion": "10.4.0", |
| 260 | "targets": [ |
| 261 | { |
| 262 | "bucketAggs": [ |
| 263 | { |
| 264 | "fake": true, |
| 265 | "field": "agent_name", |
| 266 | "id": "4", |
| 267 | "settings": { |
| 268 | "min_doc_count": 1, |
| 269 | "order": "desc", |
| 270 | "orderBy": "_count", |
| 271 | "size": "0" |
| 272 | }, |
| 273 | "type": "terms" |
| 274 | } |
| 275 | ], |
| 276 | "datasource": { |
| 277 | "type": "elasticsearch", |
| 278 | "uid": "replace_datasource_uid" |
| 279 | }, |
| 280 | "metrics": [ |
| 281 | { |
| 282 | "field": "select field", |
| 283 | "id": "1", |
| 284 | "type": "count" |
| 285 | } |
| 286 | ], |
| 287 | "query": "(rule_group3:sysmon_event_22 OR rule_group3:dns) AND agent_name:$agent_name", |
| 288 | "refId": "A", |
| 289 | "timeField": "timestamp" |
| 290 | } |
| 291 | ], |
| 292 | "title": "DNS QUERIES / AGENTS", |
| 293 | "transformations": [ |
| 294 | { |
| 295 | "id": "merge", |
| 296 | "options": { |
| 297 | "reducers": [] |
| 298 | } |
| 299 | } |
| 300 | ], |
| 301 | "type": "table" |
| 302 | }, |
| 303 | { |
| 304 | "datasource": { |
| 305 | "type": "elasticsearch", |
| 306 | "uid": "replace_datasource_uid" |
| 307 | }, |
| 308 | "fieldConfig": { |
| 309 | "defaults": { |
| 310 | "color": { |
| 311 | "mode": "palette-classic" |
| 312 | }, |
| 313 | "custom": { |
| 314 | "axisBorderShow": false, |
| 315 | "axisCenteredZero": false, |
| 316 | "axisColorMode": "text", |
| 317 | "axisLabel": "", |
| 318 | "axisPlacement": "auto", |
| 319 | "barAlignment": 0, |
| 320 | "drawStyle": "bars", |
| 321 | "fillOpacity": 0, |
| 322 | "gradientMode": "none", |
| 323 | "hideFrom": { |
| 324 | "legend": false, |
| 325 | "tooltip": false, |
| 326 | "viz": false |
| 327 | }, |
| 328 | "insertNulls": false, |
| 329 | "lineInterpolation": "linear", |
| 330 | "lineWidth": 1, |
| 331 | "pointSize": 5, |
| 332 | "scaleDistribution": { |
| 333 | "type": "linear" |
| 334 | }, |
| 335 | "showPoints": "auto", |
| 336 | "spanNulls": false, |
| 337 | "stacking": { |
| 338 | "group": "A", |
| 339 | "mode": "normal" |
| 340 | }, |
| 341 | "thresholdsStyle": { |
| 342 | "mode": "off" |
| 343 | } |
| 344 | }, |
| 345 | "mappings": [], |
| 346 | "thresholds": { |
| 347 | "mode": "absolute", |
| 348 | "steps": [ |
| 349 | { |
| 350 | "color": "green", |
| 351 | "value": null |
| 352 | }, |
| 353 | { |
| 354 | "color": "red", |
| 355 | "value": 80 |
| 356 | } |
| 357 | ] |
| 358 | } |
| 359 | }, |
| 360 | "overrides": [] |
| 361 | }, |
| 362 | "gridPos": { |
| 363 | "h": 7, |
| 364 | "w": 14, |
| 365 | "x": 10, |
| 366 | "y": 1 |
| 367 | }, |
| 368 | "id": 77, |
| 369 | "options": { |
| 370 | "legend": { |
| 371 | "calcs": [], |
| 372 | "displayMode": "table", |
| 373 | "placement": "right", |
| 374 | "showLegend": true |
| 375 | }, |
| 376 | "tooltip": { |
| 377 | "mode": "single", |
| 378 | "sort": "none" |
| 379 | } |
| 380 | }, |
| 381 | "targets": [ |
| 382 | { |
| 383 | "alias": "", |
| 384 | "bucketAggs": [ |
| 385 | { |
| 386 | "field": "agent_name", |
| 387 | "id": "3", |
| 388 | "settings": { |
| 389 | "min_doc_count": "1", |
| 390 | "order": "desc", |
| 391 | "orderBy": "_term", |
| 392 | "size": "10" |
| 393 | }, |
| 394 | "type": "terms" |
| 395 | }, |
| 396 | { |
| 397 | "field": "timestamp", |
| 398 | "id": "2", |
| 399 | "settings": { |
| 400 | "interval": "auto" |
| 401 | }, |
| 402 | "type": "date_histogram" |
| 403 | } |
| 404 | ], |
| 405 | "datasource": { |
| 406 | "type": "elasticsearch", |
| 407 | "uid": "replace_datasource_uid" |
| 408 | }, |
| 409 | "metrics": [ |
| 410 | { |
| 411 | "id": "1", |
| 412 | "type": "count" |
| 413 | } |
| 414 | ], |
| 415 | "query": "(rule_group3:sysmon_event_22 OR rule_group3:dns) AND agent_name:$agent_name", |
| 416 | "refId": "A", |
| 417 | "timeField": "timestamp" |
| 418 | } |
| 419 | ], |
| 420 | "title": "TOP 10 AGENTS - HISTOGRAM", |
| 421 | "transparent": true, |
| 422 | "type": "timeseries" |
| 423 | }, |
| 424 | { |
| 425 | "datasource": { |
| 426 | "type": "elasticsearch", |
| 427 | "uid": "replace_datasource_uid" |
| 428 | }, |
| 429 | "fieldConfig": { |
| 430 | "defaults": { |
| 431 | "color": { |
| 432 | "mode": "palette-classic" |
| 433 | }, |
| 434 | "custom": { |
| 435 | "hideFrom": { |
| 436 | "legend": false, |
| 437 | "tooltip": false, |
| 438 | "viz": false |
| 439 | } |
| 440 | }, |
| 441 | "decimals": 0, |
| 442 | "mappings": [], |
| 443 | "unit": "short" |
| 444 | }, |
| 445 | "overrides": [] |
| 446 | }, |
| 447 | "gridPos": { |
| 448 | "h": 9, |
| 449 | "w": 4, |
| 450 | "x": 0, |
| 451 | "y": 8 |
| 452 | }, |
| 453 | "id": 65, |
| 454 | "options": { |
| 455 | "displayLabels": [], |
| 456 | "legend": { |
| 457 | "calcs": [], |
| 458 | "displayMode": "list", |
| 459 | "placement": "right", |
| 460 | "showLegend": false, |
| 461 | "values": ["value", "percent"] |
| 462 | }, |
| 463 | "pieType": "pie", |
| 464 | "reduceOptions": { |
| 465 | "calcs": ["sum"], |
| 466 | "fields": "", |
| 467 | "values": false |
| 468 | }, |
| 469 | "text": {}, |
| 470 | "tooltip": { |
| 471 | "mode": "single", |
| 472 | "sort": "none" |
| 473 | } |
| 474 | }, |
| 475 | "pluginVersion": "7.3.4", |
| 476 | "targets": [ |
| 477 | { |
| 478 | "bucketAggs": [ |
| 479 | { |
| 480 | "$$hashKey": "object:79", |
| 481 | "fake": true, |
| 482 | "field": "dns_query", |
| 483 | "id": "6", |
| 484 | "settings": { |
| 485 | "min_doc_count": 1, |
| 486 | "order": "desc", |
| 487 | "orderBy": "_count", |
| 488 | "size": "10" |
| 489 | }, |
| 490 | "type": "terms" |
| 491 | }, |
| 492 | { |
| 493 | "$$hashKey": "object:80", |
| 494 | "fake": true, |
| 495 | "field": "timestamp", |
| 496 | "id": "5", |
| 497 | "settings": { |
| 498 | "interval": "auto", |
| 499 | "min_doc_count": 0, |
| 500 | "trimEdges": 0 |
| 501 | }, |
| 502 | "type": "date_histogram" |
| 503 | } |
| 504 | ], |
| 505 | "datasource": { |
| 506 | "type": "elasticsearch", |
| 507 | "uid": "replace_datasource_uid" |
| 508 | }, |
| 509 | "metrics": [ |
| 510 | { |
| 511 | "$$hashKey": "object:77", |
| 512 | "field": "type", |
| 513 | "id": "1", |
| 514 | "meta": {}, |
| 515 | "settings": {}, |
| 516 | "type": "count" |
| 517 | } |
| 518 | ], |
| 519 | "query": "(rule_group3:sysmon_event_22 OR rule_group3:dns) AND agent_name:$agent_name", |
| 520 | "refId": "A", |
| 521 | "timeField": "timestamp" |
| 522 | } |
| 523 | ], |
| 524 | "title": "TOP 10 DNS QUERIES", |
| 525 | "type": "piechart" |
| 526 | }, |
| 527 | { |
| 528 | "datasource": { |
| 529 | "type": "elasticsearch", |
| 530 | "uid": "replace_datasource_uid" |
| 531 | }, |
| 532 | "fieldConfig": { |
| 533 | "defaults": { |
| 534 | "custom": { |
| 535 | "align": "auto", |
| 536 | "cellOptions": { |
| 537 | "type": "auto" |
| 538 | }, |
| 539 | "filterable": false, |
| 540 | "inspect": false |
| 541 | }, |
| 542 | "mappings": [], |
| 543 | "thresholds": { |
| 544 | "mode": "absolute", |
| 545 | "steps": [ |
| 546 | { |
| 547 | "color": "green", |
| 548 | "value": null |
| 549 | }, |
| 550 | { |
| 551 | "color": "red", |
| 552 | "value": 80 |
| 553 | } |
| 554 | ] |
| 555 | } |
| 556 | }, |
| 557 | "overrides": [ |
| 558 | { |
| 559 | "matcher": { |
| 560 | "id": "byName", |
| 561 | "options": "dns_query" |
| 562 | }, |
| 563 | "properties": [ |
| 564 | { |
| 565 | "id": "custom.width", |
| 566 | "value": 976 |
| 567 | } |
| 568 | ] |
| 569 | } |
| 570 | ] |
| 571 | }, |
| 572 | "gridPos": { |
| 573 | "h": 9, |
| 574 | "w": 20, |
| 575 | "x": 4, |
| 576 | "y": 8 |
| 577 | }, |
| 578 | "id": 71, |
| 579 | "options": { |
| 580 | "cellHeight": "sm", |
| 581 | "footer": { |
| 582 | "countRows": false, |
| 583 | "fields": "", |
| 584 | "reducer": ["sum"], |
| 585 | "show": false |
| 586 | }, |
| 587 | "showHeader": true, |
| 588 | "sortBy": [] |
| 589 | }, |
| 590 | "pluginVersion": "10.4.0", |
| 591 | "targets": [ |
| 592 | { |
| 593 | "bucketAggs": [ |
| 594 | { |
| 595 | "$$hashKey": "object:171", |
| 596 | "fake": true, |
| 597 | "field": "dns_query", |
| 598 | "id": "6", |
| 599 | "settings": { |
| 600 | "min_doc_count": 1, |
| 601 | "order": "desc", |
| 602 | "orderBy": "_count", |
| 603 | "size": "0" |
| 604 | }, |
| 605 | "type": "terms" |
| 606 | } |
| 607 | ], |
| 608 | "datasource": { |
| 609 | "type": "elasticsearch", |
| 610 | "uid": "replace_datasource_uid" |
| 611 | }, |
| 612 | "metrics": [ |
| 613 | { |
| 614 | "$$hashKey": "object:169", |
| 615 | "field": "type", |
| 616 | "id": "1", |
| 617 | "meta": {}, |
| 618 | "settings": {}, |
| 619 | "type": "count" |
| 620 | } |
| 621 | ], |
| 622 | "query": "(rule_group3:sysmon_event_22 OR rule_group3:dns) AND agent_name:$agent_name", |
| 623 | "refId": "A", |
| 624 | "timeField": "timestamp" |
| 625 | } |
| 626 | ], |
| 627 | "title": "TOP 10 DNS QUERIES", |
| 628 | "type": "table" |
| 629 | }, |
| 630 | { |
| 631 | "datasource": { |
| 632 | "type": "elasticsearch", |
| 633 | "uid": "replace_datasource_uid" |
| 634 | }, |
| 635 | "fieldConfig": { |
| 636 | "defaults": { |
| 637 | "mappings": [], |
| 638 | "thresholds": { |
| 639 | "mode": "absolute", |
| 640 | "steps": [ |
| 641 | { |
| 642 | "color": "green", |
| 643 | "value": null |
| 644 | }, |
| 645 | { |
| 646 | "color": "red", |
| 647 | "value": 80 |
| 648 | } |
| 649 | ] |
| 650 | } |
| 651 | }, |
| 652 | "overrides": [] |
| 653 | }, |
| 654 | "gridPos": { |
| 655 | "h": 7, |
| 656 | "w": 14, |
| 657 | "x": 0, |
| 658 | "y": 17 |
| 659 | }, |
| 660 | "id": 59, |
| 661 | "options": { |
| 662 | "displayMode": "gradient", |
| 663 | "maxVizHeight": 300, |
| 664 | "minVizHeight": 10, |
| 665 | "minVizWidth": 0, |
| 666 | "namePlacement": "auto", |
| 667 | "orientation": "horizontal", |
| 668 | "reduceOptions": { |
| 669 | "calcs": ["sum"], |
| 670 | "fields": "", |
| 671 | "values": false |
| 672 | }, |
| 673 | "showUnfilled": true, |
| 674 | "sizing": "auto", |
| 675 | "text": {}, |
| 676 | "valueMode": "color" |
| 677 | }, |
| 678 | "pluginVersion": "10.4.0", |
| 679 | "targets": [ |
| 680 | { |
| 681 | "bucketAggs": [ |
| 682 | { |
| 683 | "$$hashKey": "object:484", |
| 684 | "fake": true, |
| 685 | "field": "process_image", |
| 686 | "id": "6", |
| 687 | "settings": { |
| 688 | "min_doc_count": 1, |
| 689 | "order": "desc", |
| 690 | "orderBy": "_count", |
| 691 | "size": "10" |
| 692 | }, |
| 693 | "type": "terms" |
| 694 | }, |
| 695 | { |
| 696 | "$$hashKey": "object:485", |
| 697 | "fake": true, |
| 698 | "field": "timestamp", |
| 699 | "id": "5", |
| 700 | "settings": { |
| 701 | "interval": "auto", |
| 702 | "min_doc_count": 0, |
| 703 | "trimEdges": 0 |
| 704 | }, |
| 705 | "type": "date_histogram" |
| 706 | } |
| 707 | ], |
| 708 | "datasource": { |
| 709 | "type": "elasticsearch", |
| 710 | "uid": "replace_datasource_uid" |
| 711 | }, |
| 712 | "metrics": [ |
| 713 | { |
| 714 | "$$hashKey": "object:482", |
| 715 | "field": "type", |
| 716 | "id": "1", |
| 717 | "meta": {}, |
| 718 | "settings": {}, |
| 719 | "type": "count" |
| 720 | } |
| 721 | ], |
| 722 | "query": "(rule_group3:sysmon_event_22 OR rule_group3:dns) AND agent_name:$agent_name", |
| 723 | "refId": "A", |
| 724 | "timeField": "timestamp" |
| 725 | } |
| 726 | ], |
| 727 | "title": "TOP 10 PROCESSES - DNS REQs", |
| 728 | "type": "bargauge" |
| 729 | }, |
| 730 | { |
| 731 | "datasource": { |
| 732 | "type": "elasticsearch", |
| 733 | "uid": "replace_datasource_uid" |
| 734 | }, |
| 735 | "fieldConfig": { |
| 736 | "defaults": { |
| 737 | "custom": { |
| 738 | "align": "auto", |
| 739 | "cellOptions": { |
| 740 | "type": "auto" |
| 741 | }, |
| 742 | "filterable": false, |
| 743 | "inspect": false |
| 744 | }, |
| 745 | "mappings": [], |
| 746 | "thresholds": { |
| 747 | "mode": "absolute", |
| 748 | "steps": [ |
| 749 | { |
| 750 | "color": "green", |
| 751 | "value": null |
| 752 | }, |
| 753 | { |
| 754 | "color": "red", |
| 755 | "value": 80 |
| 756 | } |
| 757 | ] |
| 758 | } |
| 759 | }, |
| 760 | "overrides": [ |
| 761 | { |
| 762 | "matcher": { |
| 763 | "id": "byName", |
| 764 | "options": "process_image" |
| 765 | }, |
| 766 | "properties": [ |
| 767 | { |
| 768 | "id": "custom.width", |
| 769 | "value": 611 |
| 770 | } |
| 771 | ] |
| 772 | } |
| 773 | ] |
| 774 | }, |
| 775 | "gridPos": { |
| 776 | "h": 14, |
| 777 | "w": 10, |
| 778 | "x": 14, |
| 779 | "y": 17 |
| 780 | }, |
| 781 | "id": 70, |
| 782 | "options": { |
| 783 | "cellHeight": "sm", |
| 784 | "footer": { |
| 785 | "countRows": false, |
| 786 | "fields": "", |
| 787 | "reducer": ["sum"], |
| 788 | "show": false |
| 789 | }, |
| 790 | "showHeader": true, |
| 791 | "sortBy": [] |
| 792 | }, |
| 793 | "pluginVersion": "10.4.0", |
| 794 | "targets": [ |
| 795 | { |
| 796 | "bucketAggs": [ |
| 797 | { |
| 798 | "$$hashKey": "object:536", |
| 799 | "fake": true, |
| 800 | "field": "process_image", |
| 801 | "id": "6", |
| 802 | "settings": { |
| 803 | "min_doc_count": 1, |
| 804 | "order": "desc", |
| 805 | "orderBy": "_count", |
| 806 | "size": "0" |
| 807 | }, |
| 808 | "type": "terms" |
| 809 | } |
| 810 | ], |
| 811 | "datasource": { |
| 812 | "type": "elasticsearch", |
| 813 | "uid": "replace_datasource_uid" |
| 814 | }, |
| 815 | "metrics": [ |
| 816 | { |
| 817 | "$$hashKey": "object:534", |
| 818 | "field": "type", |
| 819 | "id": "1", |
| 820 | "meta": {}, |
| 821 | "settings": {}, |
| 822 | "type": "count" |
| 823 | } |
| 824 | ], |
| 825 | "query": "(rule_group3:sysmon_event_22 OR rule_group3:dns) AND agent_name:$agent_name", |
| 826 | "refId": "A", |
| 827 | "timeField": "timestamp" |
| 828 | } |
| 829 | ], |
| 830 | "title": "PROCESSES - DNS REQs", |
| 831 | "type": "table" |
| 832 | }, |
| 833 | { |
| 834 | "datasource": { |
| 835 | "type": "elasticsearch", |
| 836 | "uid": "replace_datasource_uid" |
| 837 | }, |
| 838 | "fieldConfig": { |
| 839 | "defaults": { |
| 840 | "mappings": [], |
| 841 | "thresholds": { |
| 842 | "mode": "absolute", |
| 843 | "steps": [ |
| 844 | { |
| 845 | "color": "green", |
| 846 | "value": null |
| 847 | }, |
| 848 | { |
| 849 | "color": "red", |
| 850 | "value": 80 |
| 851 | } |
| 852 | ] |
| 853 | } |
| 854 | }, |
| 855 | "overrides": [] |
| 856 | }, |
| 857 | "gridPos": { |
| 858 | "h": 7, |
| 859 | "w": 14, |
| 860 | "x": 0, |
| 861 | "y": 24 |
| 862 | }, |
| 863 | "id": 55, |
| 864 | "options": { |
| 865 | "displayMode": "gradient", |
| 866 | "maxVizHeight": 300, |
| 867 | "minVizHeight": 10, |
| 868 | "minVizWidth": 0, |
| 869 | "namePlacement": "auto", |
| 870 | "orientation": "horizontal", |
| 871 | "reduceOptions": { |
| 872 | "calcs": ["sum"], |
| 873 | "fields": "", |
| 874 | "values": false |
| 875 | }, |
| 876 | "showUnfilled": true, |
| 877 | "sizing": "auto", |
| 878 | "text": {}, |
| 879 | "valueMode": "color" |
| 880 | }, |
| 881 | "pluginVersion": "10.4.0", |
| 882 | "targets": [ |
| 883 | { |
| 884 | "bucketAggs": [ |
| 885 | { |
| 886 | "$$hashKey": "object:510", |
| 887 | "fake": true, |
| 888 | "field": "process_image", |
| 889 | "id": "6", |
| 890 | "settings": { |
| 891 | "min_doc_count": 1, |
| 892 | "order": "asc", |
| 893 | "orderBy": "_count", |
| 894 | "size": "10" |
| 895 | }, |
| 896 | "type": "terms" |
| 897 | }, |
| 898 | { |
| 899 | "$$hashKey": "object:511", |
| 900 | "fake": true, |
| 901 | "field": "timestamp", |
| 902 | "id": "5", |
| 903 | "settings": { |
| 904 | "interval": "auto", |
| 905 | "min_doc_count": 0, |
| 906 | "trimEdges": 0 |
| 907 | }, |
| 908 | "type": "date_histogram" |
| 909 | } |
| 910 | ], |
| 911 | "datasource": { |
| 912 | "type": "elasticsearch", |
| 913 | "uid": "replace_datasource_uid" |
| 914 | }, |
| 915 | "metrics": [ |
| 916 | { |
| 917 | "$$hashKey": "object:508", |
| 918 | "field": "type", |
| 919 | "id": "1", |
| 920 | "meta": {}, |
| 921 | "settings": {}, |
| 922 | "type": "count" |
| 923 | } |
| 924 | ], |
| 925 | "query": "(rule_group3:sysmon_event_22 OR rule_group3:dns) AND agent_name:$agent_name", |
| 926 | "refId": "A", |
| 927 | "timeField": "timestamp" |
| 928 | } |
| 929 | ], |
| 930 | "title": "LEAST SEEN PROCESSES - DNS REQs", |
| 931 | "type": "bargauge" |
| 932 | }, |
| 933 | { |
| 934 | "datasource": { |
| 935 | "type": "elasticsearch", |
| 936 | "uid": "replace_datasource_uid" |
| 937 | }, |
| 938 | "fieldConfig": { |
| 939 | "defaults": { |
| 940 | "color": { |
| 941 | "mode": "thresholds" |
| 942 | }, |
| 943 | "custom": { |
| 944 | "align": "auto", |
| 945 | "cellOptions": { |
| 946 | "type": "auto" |
| 947 | }, |
| 948 | "inspect": false |
| 949 | }, |
| 950 | "mappings": [], |
| 951 | "thresholds": { |
| 952 | "mode": "absolute", |
| 953 | "steps": [ |
| 954 | { |
| 955 | "color": "green", |
| 956 | "value": null |
| 957 | }, |
| 958 | { |
| 959 | "color": "red", |
| 960 | "value": 80 |
| 961 | } |
| 962 | ] |
| 963 | } |
| 964 | }, |
| 965 | "overrides": [ |
| 966 | { |
| 967 | "matcher": { |
| 968 | "id": "byName", |
| 969 | "options": "timestamp" |
| 970 | }, |
| 971 | "properties": [ |
| 972 | { |
| 973 | "id": "displayName", |
| 974 | "value": "DATE/TIME" |
| 975 | }, |
| 976 | { |
| 977 | "id": "unit", |
| 978 | "value": "time: YYYY-MM-DD HH:mm:ss" |
| 979 | }, |
| 980 | { |
| 981 | "id": "custom.align" |
| 982 | } |
| 983 | ] |
| 984 | }, |
| 985 | { |
| 986 | "matcher": { |
| 987 | "id": "byName", |
| 988 | "options": "dns_query" |
| 989 | }, |
| 990 | "properties": [ |
| 991 | { |
| 992 | "id": "displayName", |
| 993 | "value": "DNS QUERY" |
| 994 | }, |
| 995 | { |
| 996 | "id": "unit", |
| 997 | "value": "short" |
| 998 | }, |
| 999 | { |
| 1000 | "id": "decimals", |
| 1001 | "value": -1 |
| 1002 | }, |
| 1003 | { |
| 1004 | "id": "links", |
| 1005 | "value": [ |
| 1006 | { |
| 1007 | "targetBlank": true, |
| 1008 | "title": "TALOS THREAT INTEL", |
| 1009 | "url": "https://talosintelligence.com/reputation_center/lookup?search=${__value.text}" |
| 1010 | } |
| 1011 | ] |
| 1012 | }, |
| 1013 | { |
| 1014 | "id": "custom.align" |
| 1015 | } |
| 1016 | ] |
| 1017 | }, |
| 1018 | { |
| 1019 | "matcher": { |
| 1020 | "id": "byName", |
| 1021 | "options": "threat_indicated" |
| 1022 | }, |
| 1023 | "properties": [ |
| 1024 | { |
| 1025 | "id": "displayName", |
| 1026 | "value": "FLAGGED DOMAIN" |
| 1027 | }, |
| 1028 | { |
| 1029 | "id": "unit", |
| 1030 | "value": "none" |
| 1031 | }, |
| 1032 | { |
| 1033 | "id": "decimals", |
| 1034 | "value": -2 |
| 1035 | }, |
| 1036 | { |
| 1037 | "id": "custom.cellOptions", |
| 1038 | "value": { |
| 1039 | "mode": "gradient", |
| 1040 | "type": "color-background" |
| 1041 | } |
| 1042 | }, |
| 1043 | { |
| 1044 | "id": "custom.align" |
| 1045 | }, |
| 1046 | { |
| 1047 | "id": "thresholds", |
| 1048 | "value": { |
| 1049 | "mode": "absolute", |
| 1050 | "steps": [ |
| 1051 | { |
| 1052 | "color": "#37872D", |
| 1053 | "value": null |
| 1054 | }, |
| 1055 | { |
| 1056 | "color": "#37872D", |
| 1057 | "value": 0 |
| 1058 | }, |
| 1059 | { |
| 1060 | "color": "#FA6400", |
| 1061 | "value": 1 |
| 1062 | } |
| 1063 | ] |
| 1064 | } |
| 1065 | } |
| 1066 | ] |
| 1067 | }, |
| 1068 | { |
| 1069 | "matcher": { |
| 1070 | "id": "byName", |
| 1071 | "options": "process_image" |
| 1072 | }, |
| 1073 | "properties": [ |
| 1074 | { |
| 1075 | "id": "displayName", |
| 1076 | "value": "PROCESS" |
| 1077 | }, |
| 1078 | { |
| 1079 | "id": "unit", |
| 1080 | "value": "short" |
| 1081 | }, |
| 1082 | { |
| 1083 | "id": "decimals", |
| 1084 | "value": 2 |
| 1085 | }, |
| 1086 | { |
| 1087 | "id": "custom.align" |
| 1088 | } |
| 1089 | ] |
| 1090 | }, |
| 1091 | { |
| 1092 | "matcher": { |
| 1093 | "id": "byName", |
| 1094 | "options": "user_name" |
| 1095 | }, |
| 1096 | "properties": [ |
| 1097 | { |
| 1098 | "id": "displayName", |
| 1099 | "value": "USER/ACCOUNT" |
| 1100 | }, |
| 1101 | { |
| 1102 | "id": "unit", |
| 1103 | "value": "short" |
| 1104 | }, |
| 1105 | { |
| 1106 | "id": "decimals", |
| 1107 | "value": 2 |
| 1108 | }, |
| 1109 | { |
| 1110 | "id": "custom.align" |
| 1111 | } |
| 1112 | ] |
| 1113 | }, |
| 1114 | { |
| 1115 | "matcher": { |
| 1116 | "id": "byName", |
| 1117 | "options": "agent_name" |
| 1118 | }, |
| 1119 | "properties": [ |
| 1120 | { |
| 1121 | "id": "displayName", |
| 1122 | "value": "AGENT" |
| 1123 | }, |
| 1124 | { |
| 1125 | "id": "unit", |
| 1126 | "value": "short" |
| 1127 | }, |
| 1128 | { |
| 1129 | "id": "decimals", |
| 1130 | "value": 2 |
| 1131 | }, |
| 1132 | { |
| 1133 | "id": "custom.align" |
| 1134 | } |
| 1135 | ] |
| 1136 | }, |
| 1137 | { |
| 1138 | "matcher": { |
| 1139 | "id": "byName", |
| 1140 | "options": "src_ip" |
| 1141 | }, |
| 1142 | "properties": [ |
| 1143 | { |
| 1144 | "id": "displayName", |
| 1145 | "value": "SRC IP" |
| 1146 | }, |
| 1147 | { |
| 1148 | "id": "unit", |
| 1149 | "value": "short" |
| 1150 | }, |
| 1151 | { |
| 1152 | "id": "decimals", |
| 1153 | "value": 2 |
| 1154 | }, |
| 1155 | { |
| 1156 | "id": "custom.align" |
| 1157 | } |
| 1158 | ] |
| 1159 | }, |
| 1160 | { |
| 1161 | "matcher": { |
| 1162 | "id": "byName", |
| 1163 | "options": "dst_port" |
| 1164 | }, |
| 1165 | "properties": [ |
| 1166 | { |
| 1167 | "id": "displayName", |
| 1168 | "value": "DST PORT" |
| 1169 | }, |
| 1170 | { |
| 1171 | "id": "unit", |
| 1172 | "value": "short" |
| 1173 | }, |
| 1174 | { |
| 1175 | "id": "decimals", |
| 1176 | "value": 2 |
| 1177 | }, |
| 1178 | { |
| 1179 | "id": "custom.align" |
| 1180 | } |
| 1181 | ] |
| 1182 | }, |
| 1183 | { |
| 1184 | "matcher": { |
| 1185 | "id": "byName", |
| 1186 | "options": "event_hash" |
| 1187 | }, |
| 1188 | "properties": [ |
| 1189 | { |
| 1190 | "id": "displayName", |
| 1191 | "value": "EVENT HASH" |
| 1192 | }, |
| 1193 | { |
| 1194 | "id": "unit", |
| 1195 | "value": "short" |
| 1196 | }, |
| 1197 | { |
| 1198 | "id": "decimals", |
| 1199 | "value": 2 |
| 1200 | }, |
| 1201 | { |
| 1202 | "id": "custom.align" |
| 1203 | } |
| 1204 | ] |
| 1205 | }, |
| 1206 | { |
| 1207 | "matcher": { |
| 1208 | "id": "byName", |
| 1209 | "options": "EVENT ID" |
| 1210 | }, |
| 1211 | "properties": [ |
| 1212 | { |
| 1213 | "id": "links", |
| 1214 | "value": [ |
| 1215 | { |
| 1216 | "targetBlank": true, |
| 1217 | "title": "VIEW EVENT DETAILS", |
| 1218 | "url": "https://grafana.company.local/explore?left=%7B%22datasource%22:%22WAZUH%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22query%22:%22_id:${__value.text}%22,%22alias%22:%22%22,%22metrics%22:%5B%7B%22id%22:%221%22,%22type%22:%22logs%22,%22settings%22:%7B%22limit%22:%22500%22%7D%7D%5D,%22bucketAggs%22:%5B%7B%22type%22:%22date_histogram%22,%22id%22:%221%22,%22settings%22:%7B%22interval%22:%22auto%22%7D%7D%5D,%22timeField%22:%22timestamp%22%7D%5D,%22range%22:%7B%22from%22:%22now-6h%22,%22to%22:%22now%22%7D%7D" |
| 1219 | } |
| 1220 | ] |
| 1221 | } |
| 1222 | ] |
| 1223 | } |
| 1224 | ] |
| 1225 | }, |
| 1226 | "gridPos": { |
| 1227 | "h": 12, |
| 1228 | "w": 24, |
| 1229 | "x": 0, |
| 1230 | "y": 31 |
| 1231 | }, |
| 1232 | "id": 69, |
| 1233 | "options": { |
| 1234 | "cellHeight": "sm", |
| 1235 | "footer": { |
| 1236 | "countRows": false, |
| 1237 | "fields": "", |
| 1238 | "reducer": ["sum"], |
| 1239 | "show": false |
| 1240 | }, |
| 1241 | "showHeader": true |
| 1242 | }, |
| 1243 | "pluginVersion": "10.4.0", |
| 1244 | "targets": [ |
| 1245 | { |
| 1246 | "bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}], |
| 1247 | "datasource": { |
| 1248 | "type": "elasticsearch", |
| 1249 | "uid": "replace_datasource_uid" |
| 1250 | }, |
| 1251 | "metrics": [ |
| 1252 | { |
| 1253 | "id": "1", |
| 1254 | "settings": { |
| 1255 | "size": "500" |
| 1256 | }, |
| 1257 | "type": "raw_data" |
| 1258 | } |
| 1259 | ], |
| 1260 | "query": "(rule_group3:sysmon_event_22 OR rule_group3:dns) AND agent_name:$agent_name", |
| 1261 | "refId": "A", |
| 1262 | "timeField": "timestamp" |
| 1263 | } |
| 1264 | ], |
| 1265 | "title": "DNS QUERIES", |
| 1266 | "transformations": [ |
| 1267 | { |
| 1268 | "id": "filterFieldsByName", |
| 1269 | "options": { |
| 1270 | "include": { |
| 1271 | "names": [ |
| 1272 | "timestamp", |
| 1273 | "agent_ip", |
| 1274 | "agent_name", |
| 1275 | "dns_answer", |
| 1276 | "dns_query", |
| 1277 | "dns_response_code", |
| 1278 | "process_image", |
| 1279 | "_id" |
| 1280 | ] |
| 1281 | } |
| 1282 | } |
| 1283 | }, |
| 1284 | { |
| 1285 | "id": "organize", |
| 1286 | "options": { |
| 1287 | "excludeByName": {}, |
| 1288 | "indexByName": { |
| 1289 | "_id": 1, |
| 1290 | "agent_ip": 3, |
| 1291 | "agent_name": 2, |
| 1292 | "dns_answer": 5, |
| 1293 | "dns_query": 4, |
| 1294 | "dns_response_code": 6, |
| 1295 | "process_image": 7, |
| 1296 | "timestamp": 0 |
| 1297 | }, |
| 1298 | "renameByName": { |
| 1299 | "_id": "EVENT ID", |
| 1300 | "agent_ip": "AGENT IP", |
| 1301 | "dns_answer": "ANSWER", |
| 1302 | "dns_response_code": "RESPONSE CODE", |
| 1303 | "process_image": "PROCESS" |
| 1304 | } |
| 1305 | } |
| 1306 | } |
| 1307 | ], |
| 1308 | "type": "table" |
| 1309 | } |
| 1310 | ], |
| 1311 | "refresh": false, |
| 1312 | "schemaVersion": 39, |
| 1313 | "tags": ["EDR"], |
| 1314 | "templating": { |
| 1315 | "list": [ |
| 1316 | { |
| 1317 | "datasource": { |
| 1318 | "type": "elasticsearch", |
| 1319 | "uid": "replace_datasource_uid" |
| 1320 | }, |
| 1321 | "filters": [], |
| 1322 | "hide": 0, |
| 1323 | "label": "", |
| 1324 | "name": "Filters", |
| 1325 | "skipUrlSync": false, |
| 1326 | "type": "adhoc" |
| 1327 | }, |
| 1328 | { |
| 1329 | "current": { |
| 1330 | "selected": false, |
| 1331 | "text": "All", |
| 1332 | "value": "$__all" |
| 1333 | }, |
| 1334 | "datasource": { |
| 1335 | "type": "elasticsearch", |
| 1336 | "uid": "replace_datasource_uid" |
| 1337 | }, |
| 1338 | "definition": "{ \"find\": \"terms\", \"field\": \"agent_name\", \"query\": \"rule_group3:sysmon_event_22 OR rule_group3:dns OR rule_group1:dnsstat\"}", |
| 1339 | "hide": 0, |
| 1340 | "includeAll": true, |
| 1341 | "label": "Agent", |
| 1342 | "multi": false, |
| 1343 | "name": "agent_name", |
| 1344 | "options": [], |
| 1345 | "query": "{ \"find\": \"terms\", \"field\": \"agent_name\", \"query\": \"rule_group3:sysmon_event_22 OR rule_group3:dns OR rule_group1:dnsstat\"}", |
| 1346 | "refresh": 2, |
| 1347 | "regex": "", |
| 1348 | "skipUrlSync": false, |
| 1349 | "sort": 2, |
| 1350 | "tagValuesQuery": "", |
| 1351 | "tagsQuery": "", |
| 1352 | "type": "query", |
| 1353 | "useTags": false |
| 1354 | } |
| 1355 | ] |
| 1356 | }, |
| 1357 | "time": { |
| 1358 | "from": "now-6h", |
| 1359 | "to": "now" |
| 1360 | }, |
| 1361 | "timepicker": { |
| 1362 | "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"], |
| 1363 | "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"] |
| 1364 | }, |
| 1365 | "timezone": "", |
| 1366 | "title": "EDR - DNS REQUESTS", |
| 1367 | "weekStart": "" |
| 1368 | } |