mal-2024-9268
Vulnerability from ossf_malicious_packages
Published
2024-10-07 13:23
Modified
2025-12-11 09:27
Summary
Malicious code in maxpatrol (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 (e7b0664f3eb50be717290db2d08e1be4a3dcbce029ad58fae9cffb04f09a51c1)

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.
Credits

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "maxpatrol"
      },
      "versions": [
        "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/maxpatrol",
        "import_time": "2025-12-02T22:30:55.326822431Z",
        "modified_time": "2024-10-07T13:23:16Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "3e28ae00cccb55b3fb5bbba7bf50ff5bee98d2870edb835523fa4dffa154990f",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-10-innostage/maxpatrol",
        "import_time": "2025-12-02T23:07:18.354749244Z",
        "modified_time": "2024-10-07T13:23:16Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "e7b0664f3eb50be717290db2d08e1be4a3dcbce029ad58fae9cffb04f09a51c1",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-10-innostage/maxpatrol",
        "import_time": "2025-12-10T21:38:57.587365931Z",
        "modified_time": "2024-10-07T13:23:16Z",
        "sha256": "492cb081cae92c5ca3c46a4a91fd67f313c4d34499a63feb7bd2273fb22a73a3",
        "source": "kam193",
        "versions": [
          "7.0.6"
        ]
      }
    ]
  },
  "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 (e7b0664f3eb50be717290db2d08e1be4a3dcbce029ad58fae9cffb04f09a51c1)\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-9268",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2024-10-07T13:23:16Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/maxpatrol"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in maxpatrol (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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…