Net
- Type
- Botnet
- Capabilities
- DDOSPersistenceDefense evasion
- Platforms
- Linux
net is a Linux botnet malware family with application-layer and game-server distributed denial-of-service capabilities. An analyzed x86-64 variant is stripped and statically linked with glibc. Its attack modules include protocol-specific functionality for FiveM, Garry's Mod, CS:GO, TeamSpeak 3, Source Engine, Quake-derived services, and Discord. It supports HTTP-header synthesis, rotating browser User-Agent strings, and cookie replay intended to circumvent anti-bot controls, although successful Cloudflare bypass has not been established.
The malware uses primary and alternate command-and-control connection paths and XOR-encoded configuration. Its SOCKS5 functionality is an outbound client with an additional cryptographic layer, rather than a proxy server. Defense-evasion and host-control features include terminating competing malware, suppressing watchdogs, and masquerading as a kernel thread. It contains persistence support for recovery scripts, SysV init, cron, and systemd services.
Distribution uses a shell dropper that retrieves architecture-specific payloads with wget or curl, executes them, and removes deployment artifacts. A confirmed operator attribution has not been established. net is distinct from the legitimate Windows Net administrative utility; Windows account, group, service, and network-share operations associated with that utility are not capabilities of this malware.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The net start and net stop commands can be used in Net to execute or stop Windows services.
Techniques & procedures
35 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
3 techniques
Execution
/etc/cron.d/.sys_update ... /etc/cron.d/netupd ... @reboot root /bin/sh /var/tmp/.sys_recovery.sh &.
POSIX sh droppers ... wget ... chmod 777 net_bot && ./net_bot net.x86_64.
Adversaries may abuse the Windows service control manager to execute malicious commands or payloads.
Persistence
7 techniques
Persistence
/etc/init.d/.sys_daemon ... update-rc.d sys_daemon defaults ... chkconfig --add sys_daemon.
/etc/cron.d/.sys_update ... /etc/cron.d/netupd ... @reboot root /bin/sh /var/tmp/.sys_recovery.sh &.
Net ... Account Manipulation: Additional Local or Domain Groups
APT3 has been known to create or enable accounts, such as support_388945a0 . ... APT5 has created Local Administrator accounts to maintain access ... DarkGate creates a local user account, SafeMode, via net user commands.
Adversaries may create a local account to maintain access to victim systems. ... Such accounts may be used to establish secondary credentialed access that do not require persistent remote access tools to be deployed on the system.
Adversaries may create a domain account to maintain access to victim systems. With a sufficient level of access, the net user /add /domain command can be used to create a domain account.
/etc/systemd/system/.networkd.service ... Restart=always ... systemctl enable/start.
Privilege Escalation
4 techniques
Privilege Escalation
/etc/init.d/.sys_daemon ... update-rc.d sys_daemon defaults ... chkconfig --add sys_daemon.
/etc/cron.d/.sys_update ... /etc/cron.d/netupd ... @reboot root /bin/sh /var/tmp/.sys_recovery.sh &.
Net ... Account Manipulation: Additional Local or Domain Groups
/etc/systemd/system/.networkd.service ... Restart=always ... systemctl enable/start.
Stealth
4 techniques
Stealth
XOR 0x22 / 0x09 / 0x5A string tables ... constructs the C2 in registers so the address never appears as a string.
Plaintext name pool used with prctl(PR_SET_NAME) / set_process_name: [kswapd0], [kthreadd], ... [watchdog/0].
Self-cleans: rm -rf net_bot net_http.sh ... /proc/<pid>/exe marked "(deleted)".
Net ... Indicator Removal: Network Share Connection Removal
Defense Impairment
1 technique
Defense Impairment
All three binaries actively kill competing malware, kill watchdog timers ... /dev/watchdog ... /dev/FTWDT101_watchdog.
Discovery
14 techniques
Discovery
Cobalt Strike ... System Service Discovery; ... Net ... System Service Discovery
During the 2015 Ukraine Electric Power Attack, Sandworm Team remotely discovered systems over LAN connections. OT systems were visible from the IT network as well, giving adversaries the ability to discover operational assets.
Sample 1 embeds 150 IPv4 /24 CIDR blocks — an operator-configured scanner scope.
Cobalt Strike ... System Network Connections Discovery; ... Net ... System Network Connections Discovery; ... netstat ... System Network Connections Discovery
/proc/<pid>/exe, /proc/<pid>/cmdline, /proc/<pid>/maps.
Cobalt Strike ... Permission Groups Discovery: Local Groups; ... Net ... Permission Groups Discovery: Local Groups
Brute Ratel C4 can use LDAP queries, net group "Domain Admins" /domain and net user /domain for discovery. OilRig has run net group "domain admins" /domain and net group "Exchange Trusted Subsystem" /domain to get account listings on a victim. Wizard Spider has identified domain admins through the use of net group "Domain admins" /DOMAIN.
/proc/cpuinfo → processor (CPU count for attack-thread scaling), BOGOMIPS.
Multiple actors and tools are described enumerating domain users/admins via Windows net commands (e.g., net user /domain, net group "Domain Admins" /domain), LDAP/AD queries (e.g., Get-ADUser, Get-ADGroupMember), and AD enumeration utilities (e.g., AdFind, BloodHound, AD Explorer).
Net ... Account Discovery: Local Account
AdFind can enumerate domain users. APT41 used built-in net commands to enumerate domain administrator users. BloodHound can collect information about domain users, including identification of domain admin accounts.
The content repeatedly describes malware and threat actors collecting the current date, time, or time zone from victim systems, including examples such as "The net time command can be used... to determine the local or remote system time" and commands like "net time \\hostname" and "w32tm /tz".
APT1 listed connected network shares. APT32 used the net view command to show all shares available, including the administrative shares such as C$ and ADMIN$. APT41 used the net share command as part of network reconnaissance.
Net ... Password Policy Discovery
Lateral Movement
1 technique
Lateral Movement
APT28 has mapped network drives using Net and administrator credentials.
Command and Control
4 techniques
Command and Control
The IRC strings ... indicate a second, IRC-based control path.
Application Layer Protocol: Web T1071.001 — HTTP L7 floods, Cloudflare bypass, C2 on port 80.
This is a SOCKS5 client with an added crypto layer ... route its own outbound traffic ... through an external SOCKS proxy.
Three download fallbacks per binary: wget, busybox wget, curl -O.
Impact
2 techniques
Impact
~25 flood vectors across TCP/UDP/GRE/HTTP.
FiveM/CSGO/TS3/Minecraft/Source server floods ... attack_http_flood.
Observables
5 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.