mal-2024-11738
Vulnerability from ossf_malicious_packages
Published
2024-10-07 22:16
Modified
2025-12-31 02:45
Summary
Malicious code in user-gen-agent-random (PyPI)
Details

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

Source: kam193 (22f729ba6b5abecacd2d94214cf0075ac0729fb59d4e9cc1cf6287a2bf6e2ab6)

Inside the library there is a part running code hidden in the attached image, which then exfiltrate user-provided data, downloads and install next stage code, exfiltrate TXT files and finally installs infostealers - Lumma and a custom one. Arround L110


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

Campaign: 2024-10-fake-usreagent

Reasons (based on the campaign):

  • infostealer

  • files-exfiltration

  • clipboard-stealing

  • obfuscation

  • clones-real-package

  • action-hidden-in-lib-usage


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "user-gen-agent-random",
        "purl": "pkg:pypi/user-gen-agent-random"
      },
      "versions": [
        "1.6.8",
        "1.6.9",
        "1.7.0"
      ]
    }
  ],
  "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://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "ethscanold.com",
        "crypto-api.net"
      ],
      "urls": [
        "https://ethscanold.com/ex_ewq1/2e.exe",
        "https://ethscanold.com/ex_ewq1/cdr2.exe",
        "https://ethscanold.com/r.php"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2024-11199",
        "import_time": "2024-12-09T14:38:50.496678901Z",
        "modified_time": "2024-12-09T06:51:24Z",
        "sha256": "d654bb7f8b02092a700d5d50271a1084cbb40675f2b37fbc73a31c1ff0acc700",
        "source": "reversing-labs",
        "versions": [
          "1.6.8",
          "1.6.9",
          "1.7.0"
        ]
      },
      {
        "id": "pypi/2024-10-fake-usreagent/user-gen-agent-random",
        "import_time": "2025-12-02T22:30:55.693601489Z",
        "modified_time": "2024-10-07T22:16:18Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "41554d5e5b4ef559940a404c71e2a4b8fc03c2933fc5a66fd0ac644c6b8ab542",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-10-fake-usreagent/user-gen-agent-random",
        "import_time": "2025-12-02T23:07:18.739346341Z",
        "modified_time": "2024-10-07T22:16:18Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "22f729ba6b5abecacd2d94214cf0075ac0729fb59d4e9cc1cf6287a2bf6e2ab6",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-10-fake-usreagent/user-gen-agent-random",
        "import_time": "2025-12-10T21:38:57.91338865Z",
        "modified_time": "2024-10-07T22:16:18Z",
        "sha256": "017b8528e013ac05af3886e43b02de2437efabcc7944fd7cdfe28dfe56b8a0b0",
        "source": "kam193",
        "versions": [
          "1.7.0",
          "1.6.8",
          "1.6.9"
        ]
      },
      {
        "id": "pypi/2024-10-fake-usreagent/user-gen-agent-random",
        "import_time": "2025-12-30T22:39:04.202542337Z",
        "modified_time": "2024-10-07T22:16:18Z",
        "sha256": "09f7850df7ff22eaf03f4d6790d4f0ef1a725b058221b417be36173fda6b6a9e",
        "source": "kam193",
        "versions": [
          "1.6.8",
          "1.6.9",
          "1.7.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (22f729ba6b5abecacd2d94214cf0075ac0729fb59d4e9cc1cf6287a2bf6e2ab6)\nInside the library there is a part running code hidden in the attached image, which then exfiltrate user-provided data, downloads and install next stage code, exfiltrate TXT files and finally installs infostealers - Lumma and a custom one. Arround L110\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-10-fake-usreagent\n\n\nReasons (based on the campaign):\n\n\n - infostealer\n\n\n - files-exfiltration\n\n\n - clipboard-stealing\n\n\n - obfuscation\n\n\n - clones-real-package\n\n\n - action-hidden-in-lib-usage\n",
  "id": "MAL-2024-11738",
  "modified": "2025-12-31T02:45:16Z",
  "published": "2024-10-07T22:16:18Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/user-gen-agent-random"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in user-gen-agent-random (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…