Ethical › Module 7 › Lesson 2
How Malware Gets a Foothold
Email, sideload, macros — carry Topics 5–6. No packing labs.
Visual · malware_foothold_paths
A foothold is a human or install yes: surprise mail, unknown-source APK, macros on a document you did not ask for — not a packer lab.
Opening
Malware does not need a genius packer if you already click Install, Enable Content, or Open attachment.
Lesson 1 gave you four family sentences. This lesson names the door those families actually walk through on a person who is busy: email, sideload, and office macros as a concept. A foothold, in Cyberlium wording, is the moment unwanted code is allowed to run because a human or an install setting said yes. It is not a crypter tutorial. It is not “how to hide from antivirus.” Topic 5 already taught phishing as a message that steals a click, a password, or a file-open. Topic 6 already taught an APK as a zip of code and “Install unknown apps” as a trust switch. Module 7 carries those refusals into the malware-threats map: the ride is still a person, not a packing lab. This lesson is ORIGINAL Cyberlium teaching mapped to the CEH v13 malware-threats domain — not official EC-Council training, not a certification, not exam dumps. You will not build macro malware, pack binaries, obfuscate payloads, or sideload a sample “in a profile to inspect.” Next lesson is detection and recovery habits on devices you own. Here you write which paths you will refuse, lock the notes, and leave packing kits where they belong: out of this course.
1. Foothold is a yes you gave — not a format you packed
Attack talks love packing, encoding, and “AV evasion” because those words sound like a craft. This path will not teach that craft. A packed sample is still malware you should not possess. A foothold that matters for a defender is earlier and duller: someone opened the attachment, enabled macros, toggled unknown sources, ran a cracked installer, or typed a password on a lure that then pushed a file. If you close those yeses, most families in Lesson 1 never get a process. If you open a packing lab, you have already skipped the control that would have saved the device. Module 1’s permission line still applies: you do not practice the yes against a bank, a school, or a neighbor “to see the payload.”
Stolen credentials from Module 6’s threat picture can also be a foothold: a VPN or admin login that was guessed or phished, then used to run something the operator chose. This lesson still does not give you a cracking kit or a remote-access tool. The defender sentence is MFA, unique passwords (Topic 8 / Topic 4), and treating a surprise “update.exe” after a login as another install decision. Delivery remains a path you can refuse. Intent remains Lesson 1’s family word. Packing remains forbidden homework.
Command guide
Foothold is a yes you gave — WHAT/WHY
═══ COMMANDS ═══
Command — copy this
cat >> "$NOTES" << 'EOF' foothold_means: a yes I gave (open, run, grant, sideload) not_homework: packing a payload format EOF
2. Email: Topic 5’s lure, now named as a malware ride
Phishing is still social engineering in a message. For malware threats, the bite is often a file or a link to a file: invoice, shipping notice, “HR policy,” a zip that contains an executable wearing a PDF icon. Topic 5 told you not to send lures and not to practice against a bank. This lesson tells you not to open the surprise attachment to “classify the family.” Classification without execution is refusing the ride and reporting through the channel your mail provider or workplace already offers. If you already opened it on a machine you own, stop using money apps there and go to Lesson 3’s isolate-and-restore order — do not forward the file to Discord as a trophy.
Links in mail are the same Topic 5 check: you initiate the official app or a URL you typed, you do not obey a countdown. A “download portal” that appeared only in that message is a sideload wearing a browser. Credential harvest and malware can stack: first the fake login, then “install this viewer to see the document.” Name the theft, then refuse both steps. You will not craft payload links. You will not stand up a phishing kit and call it a foothold lab. Notes record YOUR refusal rules, not a replica of an attacker’s mail.
3. Sideload: Topic 6’s unknown-source switch is still the door
On Android, Install unknown apps is per-source permission: may this chat app, this browser, this Files app install? Topic 6 taught that a Telegram APK skipped store review, that Play Protect is a filter not a blessing, and that the icon is not the package name. Module 7 repeats the sentence in malware language: sideload is a foothold you granted. Cracked games and “MOD” streaming are trojans by Lesson 1’s disguise test even before you know the intent. You will not pack an APK, re-sign malware, or disable Play Protect to make a sample install. Labs stay Settings on a phone YOU own plus locked notes.
On a PC you own, the cousin is the unsigned installer from a random host, the “codec” a video site demanded, the cracked productivity tool. Same yes. Same refusal. Work software and official vendor pages you typed are a different trust decision from a file that arrived in chat. Do not “inspect” a hostile installer by running it. Do not unpack it as a packing exercise. If it is already installed and unexpected, that is detection and recovery (next lesson), not reverse-engineering homework.
4. Office macros: a program inside a document — conceptually, never a builder
A macro is programmable automation stored in a document. On a file you created, macros can be legitimate. On a surprise invoice from the internet, “Enable Content” is running someone else’s program with the privileges of your office app. That is a foothold. This course teaches the defender sentence only: do not enable macros on documents you did not ask for; prefer viewing in a protected/preview mode; treat .docm / macro-enabled attachments like Topic 5 treated salary_form.html — inspect the story, do not execute to find out. You will not write malicious macros, embed payloads, or obfuscate script inside a document as a lab.
If work requires macros on files from a known internal process, that is a policy on systems you are authorized to use — still not a license to test macros against a classmate’s inbox. Record in notes: “macros off for surprise files.” Empty ethics lines fail. Files that contain macro source you authored as malware fail the course even if you never sent them. The skill is refusing the enable prompt, not collecting prompt screenshots from strangers.
5. Wrong vs right: packing a payload vs refusing email, sideload, and macros
Worked failure — same “how does it land” curiosity, opposite lab. Right never needs a crypter when the control is a human no.
Wrong
Build a packed dropper, a malicious macro, or a sideload APK “to demonstrate foothold.” Open a surprise invoice to classify it. Disable Play Protect. Phish a mailbox you do not own. Call packing the missing CEH skill. This path is not official CEH training and does not give you that kit.
Right
Name email (Topic 5), unknown-source sideload (Topic 6), and surprise macros as yeses you refuse. Write $HOME/cyberlium-lab/malware-foothold-notes.txt, chmod 600. No packing. No samples. No RATs. Next: Detection and Recovery Habits.
6. Hands-on: path list only, then lock malware-foothold-notes.txt
On a computer you own, fill the notes with YOUR refusal lines for mail, sideload, and macros. Optional: on YOUR phone, glance at which apps may install unknown apps — write the list, turn extra sources off if you do not need them. Do not download a sample to “have something to refuse.” chmod 600. The helper prints path names and refuses extra arguments so it cannot become a packer.
Command guide
Sideload door — WHAT/WHY (Topic 6 unknown-source)
═══ COMMANDS ═══
Command — copy this
cat >> "$NOTES" << 'EOF' sideload_door: unknown-source / install from chat control: official store listing + review permissions refuse: packing APKs, USB exploits, other people phones EOF
Mission: malware-foothold-notes.txt in cyberlium-lab (mode 600)
1) Write your email, sideload, and macro refusal lines (Topic 5 + Topic 6). Optional: list which apps on YOUR phone may install unknown apps. 2) Fill $HOME/cyberlium-lab/malware-foothold-notes.txt and chmod 600. 3) No packing, no malicious macros, no samples, no phishing kits, no neighbor devices.
Stuck? Ask Cyberlium AI Mentor
If “foothold means I must pack a dropper” still feels true, ask for a hint — not a crypter. Try: "Hint only: why email, sideload, and surprise macros are the foothold lesson, why packing labs are out, and where do locked notes live?" You still fill malware-foothold-notes.txt. No samples. No Enable Content on a stranger invoice.
You now treat a foothold as a yes on email, unknown-source installs, or macros — carrying Topic 5 and Topic 6 — not as a packing exercise. Notes are locked. This is original Cyberlium material covering the same domain as CEH v13 Module 7, not official training and not an exam dump. Next — Detection and Recovery Habits — is updates, backups, isolate, and reinstall from trusted media when a yes already happened on a device you own.
Knowledge Check
APPLY: A classmate wants to pack a “harmless” dropper and write a macro invoice to demonstrate foothold. What is a foothold here, and what do you do?
Multiple choice
Knowledge Check
APPLY: True or False: Opening a surprise email attachment is allowed if your only goal is to classify virus vs trojan.
True or False
Knowledge Check
APPLY: Which pairing carries Topics 5–6 into this module’s notes?
Multiple choice
Knowledge Check
APPLY: curl of http://192.168.0.1/ shows a home router login (TP-Link / Netgear / Huawei / "Router Admin"). Is that DEMO in scope as a hacking target?
Multiple choice