Kaspersky · Vendor blog

An insecure neighbor: how a vulnerability chain led to an isolation bypass in cloud infrastructure

Published · Source: Kaspersky

0 entities2 ATT&CK behaviors13 indicators10 claims

Entities & attribution

No entities extracted.

MITRE ATT&CK behaviors

  • T1071.001 · Web Protocols

    Command and Control · C2 over HTTPS

    “192.168.0.4:9443 open https status=404 192.168.0.4:2380 open 192.168.0.4:6443 open ht…”

    Page 1 · Paragraph 18

  • T1055 · Process Injection

    Privilege Escalation · Process injection

    “…n restarts, and the archiving process runs and executes the injected command:”

    Page 1 · Paragraph 128

Indicators of compromise

  • ipv4

    192.168.0[.]4
    “…alico interfaces. We extracted the kube-apiserver address ( 192.168.0.4 ) from the kubelet configuration file. A subsequent scan of…”

    Page 1 · Paragraph 17

  • domain

    github[.]com
    “…ntials method with a custom D-Bus client we wrote on top of github.com/godbus/dbus/v5, we were able to retrieve the UID of the cur…”

    Page 1 · Paragraph 44

  • ipv4

    100.64.0[.]0
    “We discovered an eth2 interface on the 100.64.0.0/10 subnet on the host. The cloud’s overlay network turned o…”

    Page 1 · Paragraph 63

  • url

    hxxp://100.64.13[.]37:8429/api/v1/targets
    “When we queried the http://100.64.13.37:8429/api/v1/targets endpoint, we found that each target’s labels contained valu…”

    Page 1 · Paragraph 68

  • ipv4

    100.64.13[.]37
    “When we queried the http://100.64.13.37:8429/api/v1/targets endpoint, we found that each target’s l…”

    Page 1 · Paragraph 68

  • url

    hxxp://100.64.1[.]1:6897/metrics
    “"discoveredLabels": { "__address__": "http://100.64.1.1:6897/metrics", "__meta_url": "CENSORED", "__metrics_path__": "/metrics…”

    Page 1 · Paragraph 69

  • ipv4

    100.64.1[.]1
    “"discoveredLabels": { "__address__": "http://100.64.1.1:6897/metrics", "__meta_url": "CENSORED", "__metrics_path_…”

    Page 1 · Paragraph 69

  • url

    hxxp://attacker_ip:8000/mlet[.]html
    “…t ). The URL of the prepared file is passed as an argument: http://attacker_ip:8000/mlet.html .”

    Page 1 · Paragraph 101

  • ipv4

    127.0.0[.]1
    “…andards require to be bound only to the loopback interface (127.0.0.1), was mistakenly exposed to the cloud’s shared overlay netw…”

    Page 1 · Paragraph 104

  • url

    hxxp://localhost:2379/v2/keys/service/
    “curl -s -X PUT http://localhost:2379/v2/keys/service/ /config -d value="$(jq -c . config.json)" | jq”

    Page 1 · Paragraph 123

  • ipv4

    192.0.2[.]1
    “…orker_processes": 27 } }, "standby_cluster": { "host": "192.0.2.1", "port": 5432 } }”

    Page 1 · Paragraph 125

  • url

    hxxps://salt-master:8000
    “curl -k https://salt-master:8000 -H "Accept: application/json" -H "Content-Type: application…”

    Page 1 · Paragraph 151

  • url

    hxxps://somecloud/api/dbaas/id
    “curl -s -X PATCH "https://somecloud/api/dbaas/id" \ -H "Content-Type: application/json" \ -H "Authorizatio…”

    Page 1 · Paragraph 180

Claims & evidence

  • Reported Claim

    An insecure neighbor: how a vulnerability chain led to an isolation bypass in cloud infrastructure exhibits C2 over HTTPS (T1071.001)

    “192.168.0.4:9443 open https status=404 192.168.0.4:2380 open 192.168.0.4:6443 open ht…”

    Page 1 · Paragraph 18

  • Reported Claim

    An insecure neighbor: how a vulnerability chain led to an isolation bypass in cloud infrastructure exhibits Process injection (T1055)

    “…n restarts, and the archiving process runs and executes the injected command:”

    Page 1 · Paragraph 128

  • Inferred Relationship

    C2 over HTTPS precedes Process injection

    “…n restarts, and the archiving process runs and executes the injected command:”

    Page 1 · Paragraph 128

  • Reported Claim

    192.168.0.4 used as network infrastructure

    “…alico interfaces. We extracted the kube-apiserver address ( 192.168.0.4 ) from the kubelet configuration file. A subsequent scan of…”

    Page 1 · Paragraph 17

  • Reported Claim

    github.com used as network infrastructure

    “…ntials method with a custom D-Bus client we wrote on top of github.com/godbus/dbus/v5, we were able to retrieve the UID of the cur…”

    Page 1 · Paragraph 44

  • Reported Claim

    100.64.0.0 used as network infrastructure

    “We discovered an eth2 interface on the 100.64.0.0/10 subnet on the host. The cloud’s overlay network turned o…”

    Page 1 · Paragraph 63

  • Reported Claim

    100.64.13.37 used as network infrastructure

    “When we queried the http://100.64.13.37:8429/api/v1/targets endpoint, we found that each target’s l…”

    Page 1 · Paragraph 68

  • Reported Claim

    100.64.1.1 used as network infrastructure

    “"discoveredLabels": { "__address__": "http://100.64.1.1:6897/metrics", "__meta_url": "CENSORED", "__metrics_path_…”

    Page 1 · Paragraph 69

  • Reported Claim

    127.0.0.1 used as network infrastructure

    “…andards require to be bound only to the loopback interface (127.0.0.1), was mistakenly exposed to the cloud’s shared overlay netw…”

    Page 1 · Paragraph 104

  • Lore Hypothesis

    Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant

    “192.168.0.4:9443 open https status=404 192.168.0.4:2380 open 192.168.0.4:6443 open ht…”

    Page 1 · Paragraph 18