mal-2024-11734
Vulnerability from ossf_malicious_packages
Published
2024-10-07 22:16
Modified
2025-12-11 09:27
Summary
Malicious code in ua-agent-generator (PyPI)
Details

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

Source: kam193 (7294a5078d47d2797cf31931252b823374b648a48534bc14b59cd73195cfe2f1)

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": "ua-agent-generator",
        "purl": "pkg:pypi/ua-agent-generator"
      },
      "versions": [
        "1.6.7"
      ]
    }
  ],
  "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-11195",
        "import_time": "2024-12-09T14:38:50.276539644Z",
        "modified_time": "2024-12-09T06:51:23Z",
        "sha256": "aa8eb79bf83d851d61ddf0181223230a370b901ce7b353ea66b5b7fc1e1a22ed",
        "source": "reversing-labs",
        "versions": [
          "1.6.7"
        ]
      },
      {
        "id": "pypi/2024-10-fake-usreagent/ua-agent-generator",
        "import_time": "2025-12-02T22:30:55.687194636Z",
        "modified_time": "2024-10-07T22:16:18Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "7256b56875d9a80d003eb73d171560a4362de68d469140b90348a71bab2c5043",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-10-fake-usreagent/ua-agent-generator",
        "import_time": "2025-12-02T23:07:18.733458112Z",
        "modified_time": "2024-10-07T22:16:18Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "7294a5078d47d2797cf31931252b823374b648a48534bc14b59cd73195cfe2f1",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-10-fake-usreagent/ua-agent-generator",
        "import_time": "2025-12-10T21:38:57.905432756Z",
        "modified_time": "2024-10-07T22:16:18Z",
        "sha256": "0045f2e9d7b6eb691268a8fbc30ee1e28943fa29ab807f4770d91d1fbbf48c13",
        "source": "kam193",
        "versions": [
          "1.6.7"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (7294a5078d47d2797cf31931252b823374b648a48534bc14b59cd73195cfe2f1)\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-11734",
  "modified": "2025-12-11T09:27:54Z",
  "published": "2024-10-07T22:16:18Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/ua-agent-generator"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in ua-agent-generator (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…