mal-2025-5123
Vulnerability from ossf_malicious_packages
Published
2025-05-27 05:53
Modified
2025-12-11 09:27
Summary
Malicious code in pyfernet (PyPI)
Details

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

Source: kam193 (5a2f90c0e3c6e46456cd3e319aaaf4a7b53475a554a997a964fdda898e85fcd0)

If imported, the module starts a multi-stage infostealer, exfiltrating browser data as well as crypto wallets, and also attempts to monitor clipboard looking for crypto wallets addresses


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

Campaign: 2025-05-fernets

Reasons (based on the campaign):

  • infostealer

  • clipboard-stealing

  • exfiltration-generic

  • obfuscation

  • exfiltration-browser-data

  • exfiltration-crypto

  • typosquatting


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "pyfernet",
        "purl": "pkg:pypi/pyfernet"
      },
      "versions": [
        "0.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": "REPORTER"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "ips": [
        "196.251.81.229"
      ],
      "urls": [
        "http://196.251.81.229:6969/1.txt",
        "http://196.251.81.229:6969/download/svchost.bat",
        "http://196.251.81.229:6969/clippa.txt",
        "http://196.251.81.229:6969/2.txt",
        "http://196.251.81.229:8000/repeter/viiZ8YGt0HnubnyN"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-03020",
        "import_time": "2025-06-18T15:06:02.139766476Z",
        "modified_time": "2025-06-18T10:15:16Z",
        "sha256": "ed80ef98612eb3aaad949163f4f0cc751265b3940a964d57baf1153a585d14cb",
        "source": "reversing-labs",
        "versions": [
          "0.0.1"
        ]
      },
      {
        "id": "pypi/2025-05-fernets/pyfernet",
        "import_time": "2025-12-02T22:30:55.463151667Z",
        "modified_time": "2025-05-27T05:53:30Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "fdff1f19e5f1ab997df824814e20a0e45bd067a964d72433e069ea9d343d0cf1",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-05-fernets/pyfernet",
        "import_time": "2025-12-02T23:07:18.487572125Z",
        "modified_time": "2025-05-27T05:53:30Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "5a2f90c0e3c6e46456cd3e319aaaf4a7b53475a554a997a964fdda898e85fcd0",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-05-fernets/pyfernet",
        "import_time": "2025-12-10T21:38:57.702832487Z",
        "modified_time": "2025-05-27T05:53:30Z",
        "sha256": "0980354b90f27172271c592fe956b26f0da8bc72c831d8992ca262c4dda1edc5",
        "source": "kam193",
        "versions": [
          "0.0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (5a2f90c0e3c6e46456cd3e319aaaf4a7b53475a554a997a964fdda898e85fcd0)\nIf imported, the module starts a multi-stage infostealer, exfiltrating browser data as well as crypto wallets, and also attempts to monitor clipboard looking for crypto wallets addresses\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-05-fernets\n\n\nReasons (based on the campaign):\n\n\n - infostealer\n\n\n - clipboard-stealing\n\n\n - exfiltration-generic\n\n\n - obfuscation\n\n\n - exfiltration-browser-data\n\n\n - exfiltration-crypto\n\n\n - typosquatting\n",
  "id": "MAL-2025-5123",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2025-05-27T05:53:30Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/pyfernet"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in pyfernet (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…