9-11-26
Cryptojacking and Cryptojackers
Overview and Financial Motivation:
Cryptocurrency represents a massive digital financial market, with high-value digital assets like Bitcoin being iconic examples alongside numerous other cryptocurrencies of varying degrees of legitimacy.
Attackers seeking financial profit frequently deploy cryptojacking attacks (using malware known as a cryptojacker).
Once installed on a target device, a cryptojacker usurps system processing power (CPU/GPU) to mine cryptocurrency and redirects the earnings to the attacker's wallet.
Victim Perspective and Physical Symptoms:
Cryptojacking malware is designed to operate covertly in the background; its goal is not to brick the host machine or flood the screen with pop-ups, but to quietly generate profit.
Key performance and physical indicators of an infection include:
System performance becoming visibly slower.
Hardware running significantly hotter.
The system cooling fan turning on more frequently or running constantly (e.g., while sitting in a music appreciation class).
High CPU usage while the system is sitting idle without an obvious running process.
Origins as a Legitimate Monetization Model:
Cryptojacking began not as an explicit malicious attack vector, but as a proposed alternative monetization service for web hosting.
Website hosting requires physical server hardware, maintenance, power, and operational expenses.
Traditional web monetization relies heavily on advertisements, which are widely recognized as an annoyance and can make websites borderline unusable without ad blockers.
The original concept proposed replacing intrusive advertisements by utilizing a visitor's computer hardware to mine cryptocurrency for the duration of their site visit to fund host operations.
Ideally, this process was designed to be consensual and transparent, requiring visitor consent similar to website cookie acceptance banners.
Case Study: Coinhive (2017):
Coinhive emerged around 2017 as one of the first widespread cryptojacking scripts, designed as a legitimate service that utilized visitor CPU power to mine the Monero cryptocurrency.
The implementation quickly degraded into unauthorized exploitation via two main vectors:
Website operators embedded the script without notifying or requesting consent from site visitors.
Cyber attackers injected the Coinhive script into third-party websites without owner authorization, siphoning web traffic to mine Monero into personal attacker wallets.
Prevalence and Impact:
Cryptojacking is not considered a dominant web threat today.
Estimates indicate single-digit infection rates, with approximately 2% of machines infected with a cryptojacker at any given time.
Primary impact is classified as unethical and annoying resource theft rather than severe data destruction.
Botnets and Infrastructure Usurping
Definition and Core Mechanics:
A botnet is not a single attack type, but an artifact produced by a successful system compromise that enables further attack propagation.
It is a network of compromised devices ("bots" or "zombies") usurped by an attacker via malware.
Attackers establish persistent access (such as installing a backdoor) enabling remote code execution (RCE) without requiring manual intervention on the infected device.
Gaining full logical control over victim hardware represents complete usurpation of the system.
Operational Characteristics:
Malware runs continuously in the device background.
Users rarely detect the compromise, experiencing only occasional performance drops when remote commands are actively executed.
Common Botnet Use Cases:
Distributed Denial of Service (DDoS): Directing thousands of commandeered devices to flood a server or service with garbage traffic until it collapses.
Phishing Campaigns: Utilizing the distributed network to send mass fraudulent emails or messages.
Cryptocurrency Mining: Running background mining scripts across thousands of commandeered hosts.
Credential Stuffing and Password Attacks: Automating continuous login attempts across online platforms using leaked lists of usernames and passwords, or performing dictionary and brute-force attacks.
Click Fraud and Traffic Monetization:
Online attention and clicks serve as critical metrics for ad payout. Undesirable sites often break stories (e.g., clickbait articles about a baby flying out a window and landing safely) into tiny two-sentence segments spread across multiple ad-filled pages to force continuous clicking.
Attackers program botnets to automatically navigate, view, and click through ad-heavy web pages to generate illegitimate ad revenue.
Artificial Viewer Count Inflation: Content creators on social platforms (such as YouTube or Twitch) sometimes pay for bot networks (whether commandeered botnets or dedicated server infrastructure) to artificially boost live viewer numbers.
Mirai Botnet Case Study and Internet of Things (IoT) Security
The Mirai Botnet (2016):
Deployed in 2016, Mirai was a self-propagating worm designed to build a massive botnet infrastructure.
Mirai actively scanned network ranges for vulnerable Internet of Things (IoT) devices.
Understanding the Internet of Things (IoT):
IoT refers to any networkable hardware device, particularly devices not traditionally categorized as general-purpose computers.
Examples include:
Smart televisions.
Networked cameras (radio cameras, baby monitors).
Digital Video Recorders (DVRs).
App-controlled smart lighting systems.
Smart agricultural equipment (moisture sensors, GPS-guided machinery, automated feeding systems in modern mechanized farming).
IoT Vulnerability Factors:
Users routinely fail to secure IoT devices because they do not perceive them as valuable computer systems storing sensitive personal data.
Many IoT devices ship with hardcoded default credentials (e.g.,
user/user,user/pass,admin/admin) that users never change.
Mirai Attack Lifecycle and Disruption:
Mirai scanned IP ranges for IoT hardware and executed brute-force login attempts using standard default credentials.
Once a device was compromised, the Mirai code on that host joined the botnet and immediately began scanning for additional IoT devices to infect.
At its peak, Mirai controlled hundreds of thousands of compromised devices.
Mirai was utilized to launch massive DDoS attacks against major platforms and services, including Twitter, Netflix, Reddit, GitHub, and CNN.
Worm Mechanics: Mirai vs. Morris Worm:
Historical Problem (Morris Worm): The 1988 Morris worm contained a flaw that caused it to repeatedly reinfect the same machine, overloading host resources and bricking the system.
Mirai Mechanics: Botnet operators actively avoid bricking host devices, as unusable hardware destroys the botnet's computing capability. Mirai restricted reinfection loops. Unlike personal computers, infected IoT devices (such as baby monitors or DVRs) rarely undergo incident response or disinfection, allowing single infections to persist indefinitely.
Default Credentials and the CROC Infrastructure Incident
Cybersecurity Education Research and Outreach Center (CROC):
CROC is an academic cybersecurity center located on campus (currently housed in the AIEB building across the street, having historically moved up from Prescott Hall 4th floor).
Red Team vs. Blue Team Course Scenario:
An IT security course tasked students with configuring and hardening infrastructure (servers, firewalls).
Simultaneously, an ethical hacking (Red Team) course was tasked with penetrating and breaking the students' setups.
The CROC Incident Anecdote:
A student logged into his assigned lab environment late at night (around midnight) and was unable to access his account.
Believing the Red Team course had compromised his setup and changed his password, he tried default credentials (such as
admin/admin) and successfully logged in.Once inside, he observed completely altered settings, modified configurations, and unknown files throughout the environment.
Assuming the Red Team had altered his lab assignment (which was due the following morning), he spent the night manually reverting all settings and firewalls back to their original state before going to sleep.
The next morning, he received a phone call from Joseph (the primary IT infrastructure administrator for CROC at the time) stating: "Hey. That was our firewall."
The student had accidentally logged into CROC's live production infrastructure—which had been left running on default credentials—instead of his lab environment, completely wiping the center's live operational firewall configurations.
The student spent the entire following day working alongside Joseph to restore CROC's enterprise network.
Trojans
Definition and Conceptual Basis:
A Trojan (or Trojan horse) is a class of malware defined specifically by its method of propagation: it masquerades as a legitimate, desirable file or application to deceive the target into executing it.
Named after the historical Trojan Horse of Troy, where soldiers hid inside a presented trophy to breach city walls.
Common Disguises and Vectors:
Disguised as free software tools, video editing utilities, image files, media files, or video games.
Spread via misleading website pop-ups, phishing email attachments, or fake download buttons on file sites (where real download links are surrounded by malicious ads).
Because users rarely download files explicitly named as malicious (e.g.,
virus.exe), the vast majority of user-initiated malware downloads are Trojans.
Operational Nuance:
Malware classifications overlap: a payload can be both a Trojan and a Virus (or Worm/Cryptojacker).
Trojans frequently deliver the actual promised service or application (e.g., the video editor or game opens and functions normally) while silently installing the hidden malware payload alongside it.
Phishing Attack Methodologies and Vectors
Definition and Scope:
Phishing is an attack vector where an adversary sends a fraudulent communication to deceive a target into performing an action that benefits the attacker.
Primary Objectives of Phishing:
Information Gathering: Directing targets to fake login portals (e.g., fake online banking, Amazon, or Facebook sites) to harvest user credentials.
Malware Delivery: Inducing users to download and execute infected files (e.g., playtesting a game executable, or opening infected email attachments like the ILOVEYOU virus).
Direct Manipulation: Engaging in correspondence to trick the target into transferring funds directly (e.g., the Nigerian Prince scam, or fake IRS calls demanding tax settlement via Walmart gift cards).
Phishing Classifications:
Spear Phishing: Targeted phishing attacks customized for a specific individual or organization, using known contact names, recognized company details, and contextual information to maximize believability.
Whaling: A specialized subset of spear phishing targeting high-profile, high-value individuals (e.g., C-suite executives, politicians, celebrities).
Smishing (SMS Phishing): Phishing conducted via SMS text messages (e.g., fake banking fraud notifications containing malicious links).
Vishing (Voice Phishing): Scam phone calls or automated robocalls (e.g., fake extended car warranty calls; notably received even by non-drivers such as an 87-year-old great-grandmother who never drove).
SEO Phishing (Search Engine Optimization Phishing):
Manipulating search engine optimization algorithms to push fraudulent websites onto the first page of search engine results (e.g., Google).
Takes advantage of user behavior, as searchers rarely navigate past the first 1–2 pages of search results (avoiding pages 4 through 10).
Directs organic web traffic to malicious sites without needing direct message delivery.
Quishing (QR Code Phishing):
Exploits the widespread use of QR codes (found on restaurant menus, event agendas, attendance sheets, and public flyers).
Scanning a QR code is functionally identical to clicking an unverified link, routing the victim's device to fraudulent landing pages or payload downloads.
Discussion and Questions on Phishing Mechanics:
Question on Ad Redirection: How does redirecting web traffic from an ad on site A to site B benefit site A?
Explanation: Website monetization is tied to tracking metrics. Site owners are paid based on recorded interactions (such as pay-per-click [PPC] metrics) managed by ad networks, rather than simple flat host fees.
Question on Instant-Hang-Up Calls: What is the security term for receiving automated phone calls that instantly hang up when answered?
Explanation: This functions as a triage and reconnaissance phase for phishing operations. The automated caller checks if the phone number is active and monitored by a human, adding confirmed numbers to target lists for aggressive future scam calls and texts.
Defensive Guidance: Avoid answering incoming calls from unknown phone numbers unless expecting a specific caller.
Denial of Service (DoS) and Distributed Denial of Service (DDoS) Attacks
Core Definition:
A Denial of Service (DoS) attack occurs when an attacker intentionally overloads a target system, network, or server to render it inaccessible to legitimate users.
Achieved either by crashing the resource entirely or by flooding it with excessive garbage requests to prevent standard functionality.
DoS vs. Distributed Denial of Service (DDoS):
Single-Source DoS: Attack traffic originates from a single hardware device.
Mitigation: Easily blocked by firewalls filtering the single offending IP address or specific traffic type.
Distributed DoS (DDoS): Attack traffic originates simultaneously from thousands or millions of distinct, geographically dispersed devices (such as a botnet).
Mitigation Challenge: Extremely difficult to stop because online commercial services (e.g., Amazon or Hasbro's Toy Shop) rely on open global traffic. Shutting down connection intake entirely to stop the attack effectively accomplishes the attacker's goal by taking the service offline for legitimate customers.
Application to Gaming Infrastructure (Lag Switches):
Lag Switch Mechanics: Devices or scripts used in competitive online multiplayer games (e.g., Rocket League) to artificially induce network latency or packet loss.
Classification: Functions conceptually as a localized DoS attack. By intentionally disrupting network quality of service (QoS) and compromising connection availability, the attacker impairs opponents' responsiveness to gain an unfair competitive advantage.