MAL-2024-9962
Vulnerability from ossf_malicious_packages
Published
2024-09-08 17:47
Modified
2025-12-31 02:45
Summary
Malicious code in colorbytes (PyPI)
Details

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

Source: kam193 (aa4677648d784f5460e80091c656719fc082e6ed9028940b407c97b0e78ff008)

Extremely obfuscated code starts when importing the module, and then downloads the next stages and configuration from pastebin. They include a whole range of infostealer activity, from exfiltrating browser files up to a keylogger and registering mouse clicks.


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

Campaign: 2024-08-old-colorbytes

Reasons (based on the campaign):

  • obfuscation

  • Downloads and executes a remote executable.

  • crypto-related

  • infostealer


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "colorbytes",
        "purl": "pkg:pypi/colorbytes"
      },
      "versions": [
        "1.0.0",
        "1.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://pastebin.com/raw/mWyKKzeT",
        "https://pastebin.com/raw/gwC6eetW",
        "https://pastebin.com/raw/cbjzwued",
        "https://pastebin.com/raw/PXPtuhz3",
        "https://pastebin.com/raw/KV3GS6Js"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2024-08018",
        "import_time": "2024-10-24T00:56:54.952412123Z",
        "modified_time": "2024-10-16T14:38:27Z",
        "sha256": "8a56539943a10b763ff4f1bc5a62dc4362fc4715f21e728c9c033e29ae5a11fb",
        "source": "reversing-labs",
        "versions": [
          "1.0.0",
          "1.0.1"
        ]
      },
      {
        "id": "pypi/2024-08-old-colorbytes/colorbytes",
        "import_time": "2025-12-02T22:30:55.060196293Z",
        "modified_time": "2024-09-08T17:47:46Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "d93e7f301249423b016f93f47615a5a403640cc069c10e29630dad381adacf2e",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-08-old-colorbytes/colorbytes",
        "import_time": "2025-12-02T23:07:18.070087079Z",
        "modified_time": "2024-09-08T17:47:46Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "aa4677648d784f5460e80091c656719fc082e6ed9028940b407c97b0e78ff008",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-08-old-colorbytes/colorbytes",
        "import_time": "2025-12-10T21:38:57.362029889Z",
        "modified_time": "2024-09-08T17:47:46Z",
        "sha256": "f450925ef3e67dbcddad18020f2d442ac8732fdd79d84a4ef60eb15d5091aaf9",
        "source": "kam193",
        "versions": [
          "1.0.1",
          "1.0.0"
        ]
      },
      {
        "id": "pypi/2024-08-old-colorbytes/colorbytes",
        "import_time": "2025-12-30T22:39:04.057731748Z",
        "modified_time": "2024-09-08T17:47:46Z",
        "sha256": "157a22714107b31e25dc43e11905d416f8417e77fc8bd3fb52943840d74e2fd7",
        "source": "kam193",
        "versions": [
          "1.0.0",
          "1.0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (aa4677648d784f5460e80091c656719fc082e6ed9028940b407c97b0e78ff008)\nExtremely obfuscated code starts when importing the module, and then downloads the next stages and configuration from pastebin. They include a whole range of infostealer activity, from exfiltrating browser files up to a keylogger and registering mouse clicks.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-08-old-colorbytes\n\n\nReasons (based on the campaign):\n\n\n - obfuscation\n\n\n - Downloads and executes a remote executable.\n\n\n - crypto-related\n\n\n - infostealer\n",
  "id": "MAL-2024-9962",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2024-09-08T17:47:46Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/colorbytes"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in colorbytes (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…