[
  {
    "metadata": {
      "creation_date": "2020/02/26",
      "ecs_version": [
        "1.4.0"
      ],
      "maturity": "development",
      "updated_date": "2020/02/26"
    },
    "rule": {
      "description": "This rule detects network events that may indicate the use of SSH traffic from the Internet. SSH is commonly used by\nsystem administrators to remotely control a system using the command line shell. If it is exposed to the Internet, it\nshould be done with strong security controls as it is frequently targeted and exploited by threat actors as an initial\naccess or back-door vector.\n",
      "false_positives": [
        "    SSH connections may be made directly to Internet destinations in order to access Linux cloud server instances but\n    such connections are usually made only by engineers. In such cases, only SSH gateways, bastions or jump servers may\n    be expected Internet destinations and can be exempted from this rule. SSH may be required by some work-flows such as\n    remote access and support for specialized software products and servers. Such work-flows are usually known and not\n    unexpected. Usage that is unfamiliar to server or network owners can be unexpected and suspicious.\n    "
      ],
      "index": [
        "filebeat-*"
      ],
      "language": "kuery",
      "max_signals": 100,
      "name": "SSH (Secure Shell) to the Internet",
      "risk_score": 21,
      "rule_id": "6f1500bc-62d7-4eb9-8601-7485e87da2f4",
      "severity": "low",
      "tags": [
        "Elastic",
        "Network"
      ],
      "type": "query",
      "version": 2,
      "query": "network.transport: tcp and destination.port:22 and (\n    network.direction: outbound or (\n        source.ip: (10.0.0.0/8 or 172.16.0.0/12 or 192.168.0.0/16) and\n        not destination.ip: (10.0.0.0/8 or 172.16.0.0/12 or 192.168.0.0/16)\n    )\n)\n",
      "threat": [
        {
          "framework": "MITRE ATT&CK",
          "technique": [
            {
              "id": "T1043",
              "name": "Commonly Used Port",
              "reference": "https://attack.mitre.org/techniques/T1043/"
            }
          ],
          "tactic": {
            "id": "TA0011",
            "name": "Command and Control",
            "reference": "https://attack.mitre.org/tactics/TA0011/"
          }
        }
      ]
    }
  },
  {
    "metadata": {
      "field": "value"
    },
    "rule": {
      "field2": "value2"
    }
  },
  {
    "metadata": {
      "just": "some",
      "flat": "fields",
      "for": "testing",
      "and": [
        [
          "nested",
          "fields"
        ],
        [
          "too",
          "!"
        ]
      ]
    },
    "rule": {
      "first": "1st",
      "second": "2nd",
      "third": "3rd",
      "fourth": 4,
      "fifth": [
        1,
        2,
        3
      ],
      "list": [
        {
          "one": [
            2,
            3
          ]
        },
        {
          "two": {
            "three": 4
          }
        }
      ],
      "more_data": {
        "one": {
          "two": {
            "three": {
              "four": {
                "five": [
                  [
                    111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111,
                    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222,
                    333333333333333333333333333333333333333333333333333333333333333333
                  ],
                  [[4], [5], [6]],
                  [["seven"], ["nine"], ["eleven"], [12, 13, 14]]
                ]
              }
            }
          }
        }
      }
    }
  }
]