mal-2024-11732
Vulnerability from ossf_malicious_packages
Published
2024-09-20 11:29
Modified
2025-12-11 09:27
Summary
Malicious code in torhc (PyPI)
Details

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

Source: kam193 (385cb451ed567a10096fce231790d6a9bce59bb47c8d7bdfff5a8f4aaa0854ed)

During installation, a cryptominer is secretly installed and started.


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

Campaign: 2024-09-bondonioanderas-cryptominer

Reasons (based on the campaign):

  • cryptominer

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • obfuscation


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "torhc",
        "purl": "pkg:pypi/torhc"
      },
      "versions": [
        "0.1"
      ]
    }
  ],
  "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": "ANALYST"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "urls": [
        "https://raw.githubusercontent.com/MoneroOcean/xmrig_setup/master/setup_moneroocean_miner.sh"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2024-11191",
        "import_time": "2024-12-09T14:38:50.176875276Z",
        "modified_time": "2024-12-09T06:51:21Z",
        "sha256": "74161e8d53afa30730dffd346c40d6b02d650788784740bcf64ef24d323db50f",
        "source": "reversing-labs",
        "versions": [
          "0.1"
        ]
      },
      {
        "id": "pypi/2024-09-bondonioanderas-cryptominer/torhc",
        "import_time": "2025-12-02T22:30:55.655154023Z",
        "modified_time": "2024-09-20T11:29:31Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "b6df01c26a3d1c7009b1370ea05efc0fbf98317f5d36e7c4e7b35877d78cb82e",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-09-bondonioanderas-cryptominer/torhc",
        "import_time": "2025-12-02T23:07:18.697975207Z",
        "modified_time": "2024-09-20T11:29:31Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "385cb451ed567a10096fce231790d6a9bce59bb47c8d7bdfff5a8f4aaa0854ed",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-09-bondonioanderas-cryptominer/torhc",
        "import_time": "2025-12-10T21:38:57.883559834Z",
        "modified_time": "2024-09-20T11:29:31Z",
        "sha256": "d9e1ae340dabc14900487ed60c98e5f8bbc124fd011d0e630e31e428ce2cdb8c",
        "source": "kam193",
        "versions": [
          "0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (385cb451ed567a10096fce231790d6a9bce59bb47c8d7bdfff5a8f4aaa0854ed)\nDuring installation, a cryptominer is secretly installed and started.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-09-bondonioanderas-cryptominer\n\n\nReasons (based on the campaign):\n\n\n - cryptominer\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - obfuscation\n",
  "id": "MAL-2024-11732",
  "modified": "2025-12-11T09:27:54Z",
  "published": "2024-09-20T11:29:31Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/torhc"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in torhc (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…