mal-2024-9266
Vulnerability from ossf_malicious_packages
Published
2024-10-07 13:23
Modified
2025-12-31 02:45
Summary
Malicious code in innostage (PyPI)
Details

The package contains code to download and execute a reverse shell script.


-= Per source details. Do not edit below this line.=-

Source: kam193 (ec433c9a241ed7127dc5d6f55b002e94a2407ddd47000e50355f118536e9021e)

When imported, the package download and runs a remote stage - a reverse shell. To mask activity, the remote domain is made to mimic PyPI host: files[.]pythonhosted[.]ru


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2024-10-innostage

Reasons (based on the campaign):

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.



{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "innostage"
      },
      "versions": [
        "7.0.7",
        "7.0.3",
        "7.0.1",
        "7.0.2",
        "7.0.4",
        "7.0.6"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    },
    {
      "contact": [
        "https://discord.com/invite/RkzVuTp3WK"
      ],
      "name": "Stacklok: trustypkg.dev",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "files.pythonhosted.ru",
        "pythonhosted.ru",
        "files.inostage.ru"
      ],
      "urls": [
        "http://files.pythonhosted.ru/56788.txt",
        "http://files.pythonhosted.ru/56789.txt"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2024-10-innostage/innostage",
        "import_time": "2025-12-02T22:30:55.274343951Z",
        "modified_time": "2024-10-07T13:23:16Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "886e7758718d528adb49fb8a7362fdd0049dec6ceb7c427ff267dd94f779d126",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-10-innostage/innostage",
        "import_time": "2025-12-02T23:07:18.298683205Z",
        "modified_time": "2024-10-07T13:23:16Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "ec433c9a241ed7127dc5d6f55b002e94a2407ddd47000e50355f118536e9021e",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-10-innostage/innostage",
        "import_time": "2025-12-10T21:38:57.545536783Z",
        "modified_time": "2024-10-07T13:23:16Z",
        "sha256": "e92b859a44c332a5fcf2a1a7f65a7b0cadf98bb193a0836e48a1d415d19f89ad",
        "source": "kam193",
        "versions": [
          "7.0.3",
          "7.0.1",
          "7.0.2",
          "7.0.4",
          "7.0.6",
          "7.0.7"
        ]
      },
      {
        "id": "pypi/2024-10-innostage/innostage",
        "import_time": "2025-12-30T22:39:04.104573608Z",
        "modified_time": "2024-10-07T13:23:16Z",
        "sha256": "f37b48cfd80852aed045b3839818abfc01b777dcd9256282ddb88543ece98ec8",
        "source": "kam193",
        "versions": [
          "7.0.1",
          "7.0.2",
          "7.0.3",
          "7.0.4",
          "7.0.6",
          "7.0.7"
        ]
      }
    ]
  },
  "details": "The package contains code to download and execute a reverse shell script.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (ec433c9a241ed7127dc5d6f55b002e94a2407ddd47000e50355f118536e9021e)\nWhen imported, the package download and runs a remote stage - a reverse shell. To mask activity, the remote domain is made to mimic PyPI host: files[.]pythonhosted[.]ru\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-10-innostage\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim\u0027s machine.\n",
  "id": "MAL-2024-9266",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2024-10-07T13:23:16Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/innostage"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in innostage (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…