MAL-2024-9962

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/colorbytes/MAL-2024-9962.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-9962
Published
2024-09-08T17:47:46Z
Modified
2026-03-19T12:51:50.640396Z
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

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "8a56539943a10b763ff4f1bc5a62dc4362fc4715f21e728c9c033e29ae5a11fb",
            "source": "reversing-labs",
            "modified_time": "2024-10-16T14:38:27Z",
            "id": "RLMA-2024-08018",
            "versions": [
                "1.0.0",
                "1.0.1"
            ],
            "import_time": "2024-10-24T00:56:54.952412123Z"
        },
        {
            "sha256": "d93e7f301249423b016f93f47615a5a403640cc069c10e29630dad381adacf2e",
            "source": "kam193",
            "modified_time": "2024-09-08T17:47:46Z",
            "id": "pypi/2024-08-old-colorbytes/colorbytes",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:55.060196293Z"
        },
        {
            "sha256": "aa4677648d784f5460e80091c656719fc082e6ed9028940b407c97b0e78ff008",
            "source": "kam193",
            "modified_time": "2024-09-08T17:47:46Z",
            "id": "pypi/2024-08-old-colorbytes/colorbytes",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:18.070087079Z"
        },
        {
            "sha256": "f450925ef3e67dbcddad18020f2d442ac8732fdd79d84a4ef60eb15d5091aaf9",
            "source": "kam193",
            "modified_time": "2024-09-08T17:47:46Z",
            "id": "pypi/2024-08-old-colorbytes/colorbytes",
            "versions": [
                "1.0.1",
                "1.0.0"
            ],
            "import_time": "2025-12-10T21:38:57.362029889Z"
        },
        {
            "sha256": "157a22714107b31e25dc43e11905d416f8417e77fc8bd3fb52943840d74e2fd7",
            "source": "kam193",
            "modified_time": "2024-09-08T17:47:46Z",
            "id": "pypi/2024-08-old-colorbytes/colorbytes",
            "versions": [
                "1.0.0",
                "1.0.1"
            ],
            "import_time": "2025-12-30T22:39:04.057731748Z"
        },
        {
            "sha256": "d0cc09f53bce466ffe28a700f8b7816355f51f603022a18dec203e3c7051c0c5",
            "source": "reversing-labs",
            "modified_time": "2026-03-18T12:12:42Z",
            "id": "RLUA-2026-00212",
            "import_time": "2026-03-19T12:19:35.151600899Z"
        }
    ],
    "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"
        ]
    }
}
References
Credits

Affected packages

PyPI / colorbytes

Package

Affected ranges

Affected versions

1.*
1.0.0
1.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/colorbytes/MAL-2024-9962.json"