How c0d3d4ddy/malzy works
This repository contains Windows command-and-control and host-execution tooling. The listener gathers connection settings, accepts a client connection, and sends it a command to download and launch a Netcat client; it then starts a separate Netcat listener. The Windows launcher performs environment and privilege checks before downloading and running a remote PowerShell script. A separate utility locates LSASS and attempts to resolve a WDigest function address, but the excerpt shows no injection. The README is empty, so this map reflects only the sampled source.
Main entry points: listener.py TCP command server · main.c Privilege elevation · lsass_inj.c LSASS process lookup
Components 11
Listener and control
- Connection settings
malzy/listener.py - TCP command server
malzy/listener.py - Netcat listener
malzy/listener.py
Windows launcher
- Environment checks
malzy/main.c - Privilege elevation
malzy/main.c - PowerShell runner
malzy/main.c
Process inspection
- LSASS process lookup
malzy/lsass_inj.c - WDigest address lookup
malzy/lsass_inj.c
Other components
- Operator
- Connecting client
- Remote script host
Connections 9
- Operator → Connection settings: provides settings
malzy/listener.py - Connection settings → TCP command server: configures
malzy/listener.py - TCP command server → Connecting client: sends command
malzy/listener.py - Connecting client → TCP command server: connects
malzy/listener.py - TCP command server → Netcat listener: starts listener
malzy/listener.py - Environment checks → Privilege elevation: gates
malzy/main.c - Privilege elevation → PowerShell runner: precedes launch
malzy/main.c - PowerShell runner → Remote script host: downloads script
malzy/main.c - LSASS process lookup → WDigest address lookup: provides process ID
malzy/lsass_inj.c