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:50Z
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
{
    "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"
            ]
        },
        {
            "id":  "RLUA-2026-00212",
            "import_time":  "2026-03-19T12:19:35.151600899Z",
            "modified_time":  "2026-03-18T12:12:42Z",
            "sha256":  "d0cc09f53bce466ffe28a700f8b7816355f51f603022a18dec203e3c7051c0c5",
            "source":  "reversing-labs"
        }
    ]
}
References
Credits

Affected packages

PyPI / colorbytes

Package

Name
colorbytes
View open source insights on deps.dev
Purl
pkg:pypi/colorbytes

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"