How h4x0rpeter/cookiestealer works
Cookie-Stealer is a Windows credential-and-cookie theft tool whose C# console program prepares a batch launcher and embeds a Python payload. The documented workflow starts with the builder, which obtains missing configuration and payload files, reads Telegram settings, and writes a launcher; that launcher runs the Python payload, which gathers browser data and reports it to Telegram. The excerpts show builder and reporting behavior, but omit parts of the Python collection flow, so those links are marked unverified. The README also claims startup persistence and antivirus evasion; the sampled code supports startup configuration but does not substantiate antivirus evasion.
Main entry points: stub.py Python payload · Program.cs Console builder · telegram.txt Telegram settings · Json.cs JSON parser
Components 15
Builder
- Console builder
CookieStealer/Program.cs - Config download
CookieStealer/Program.cs - Telegram settings
telegram.txt - JSON parser
CookieStealer/Json.cs - Launcher assembly
CookieStealer/Program.cs
Payload
- Python runtime archive
CookieStealer/Program.cs - Startup setup
CookieStealer/Program.cs - Python payload
stub.py
Data collection
- Browser profiles
stub.py - Credential extraction
stub.py - Cookie extraction
stub.py
Reporting
- Data packaging
stub.py - Telegram API
- IP geolocation
Other components
- Operator
Connections 16
- Operator → Console builder: runs
README.md - Console builder → Config download: invokes
CookieStealer/Program.cs - Config download → Telegram settings: downloads if missing
CookieStealer/Program.cs - Config download → Python payload: downloads if missing
CookieStealer/Program.cs - Console builder → JSON parser: parses settings
CookieStealer/Program.cs - Console builder → Telegram settings: reads
CookieStealer/Program.cs - Console builder → Launcher assembly: builds
CookieStealer/Program.cs - Launcher assembly → Python runtime archive: downloads and extracts
CookieStealer/Program.cs - Launcher assembly → Startup setup: configures startup
CookieStealer/Program.cs - Launcher assembly → Python payload: runs
CookieStealer/Program.cs - Python payload → Browser profiles: reads profiles
stub.py - Browser profiles → Credential extraction: collects credentials
stub.py - Browser profiles → Cookie extraction: collects cookies
stub.py - Python payload → IP geolocation: requests location data
stub.py - Python payload → Data packaging: uploads archive
stub.py - Python payload → Telegram API: posts report
stub.py