Keksec
- Origin
- 🇮🇷 Iran
- Motivation
- Financial
- Ransomware tactics
- DDOS extortion
- Capabilities
- DDOSExtortionInitial accessScanningBrute forceReconnaissanceCredential theftSession hijackingKeyloggingExfiltrationPersistenceLateral movementPost exploitationDefense evasionProcess injectionCrypto theft
Keksec, also known as Kek Security and #keksec, is a financially motivated cybercrime group formed in 2016 by experienced botnet operators. It develops, operates, and distributes malware for distributed denial-of-service (DDoS) attacks, DDoS-based extortion, cryptocurrency mining, information theft, and underground malware sales. Its operations compromise Linux and Windows systems, including internet-facing servers, routers, cameras, and other IoT devices. Gaming services are among its DDoS targets, while its propagation campaigns broadly seek vulnerable systems rather than a consistently defined geographic victim population. Keksec's malware portfolio includes Necro, Gafgyt and Gafgyt_tor variants, Tsunami, EnemyBot, Cloud9, DarkIRC, and DarkHTTP. The group extensively modifies leaked and open-source malware and rapidly incorporates publicly disclosed vulnerabilities into self-propagating botnets. Initial access commonly combines internet-wide scanning, exploitation of exposed applications and network devices, and brute-force attacks against weak or default Telnet and SSH credentials. EnemyBot supports multiple processor architectures and extends targeting to web servers, content management systems, and exposed Android Debug Bridge services. The group's tooling supports remote command execution, additional payload delivery, network sniffing, credential theft, keylogging, browser-cookie theft, clipboard interception, and data exfiltration. Necro can inject Cloud9 browser malware into compromised websites, enabling browser-based mining, information theft, and DDoS activity. Persistence mechanisms include scheduled jobs and Windows autorun entries. Defense evasion includes process-name disguise, string encryption and obfuscation, code morphing, and injection of the r77 rootkit into Windows processes. Tor-based command-and-control and domain-generation algorithms provide infrastructure concealment and resilience. Keksec maintains multiple botnet families in parallel and frequently updates their propagation and attack capabilities.
Targeting
Who, where, and from where this actor operates. Pulled from open-source reporting and Mallory's analyst review.
Who they target
Sectors the actor has been observed targeting.
- Media & Entertainment
- Software & Services
- Technology Hardware & Equipment
Where they're from
Attributed origin per open-source reporting.
- Iran
Tradecraft
66 distinct techniques observed across reporting, grouped by tactic. Hover any cell for the evidence excerpt.
Associated malware families
21 malware families Mallory has associated with this actor across public reporting.
16 additional families tracked in Mallory.
Associated vulnerabilities
29 CVEs Mallory has associated with this actor across public reporting. 29 of them are exploited in the wild (not necessarily by this actor).
23 more CVEs tied to this actor tracked in Mallory.
Observables
273 indicators attributed to this actor. Values are masked here and available in full in Mallory.
Frequently asked questions
- Who does Keksec target?
- Keksec targets Media & Entertainment, Software & Services, and Technology Hardware & Equipment.
- What malware does Keksec use?
- Keksec is associated with TuxBot v3 Evolution, Enemybot, Gafgyt, Necro, Aisuru, and 16 more.
- Where is Keksec from?
- Mallory's sources associate Keksec with Iran.
Recent activity
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.