Types of malware

Malware is named for what it does once it is in

WHAT IT DOESWHAT IT IS CALLEDLocks your files and demands paymentRansomwareArrives inside a useful-looking programTrojanRecords every key you pressKeyloggerHides from the tools that look for itRootkitUses your processor to earn someone moneyCryptominerMalware is named for what it does once it is in.The exam describes the behaviour and asks for the name. One infection can be several atonce: a Trojan that installs a keylogger and then hides both with a rootkit.

Ransomware, Trojan, keylogger, rootkit, cryptominer.

Types of malware · Going deeper · 1 of 2

Ten types of malware

TypeWhat it doesVirusAttaches to files and spreads when they are openedBoot sector virusLoads before the operating system, from the start of the diskTrojanPretends to be something wantedRootkitTakes deep control and hides itselfSpywareWatches what you do and reports itKeyloggerRecords keystrokes, to steal passwordsStalkerwareSpyware installed by someone who knows the victimRansomwareEncrypts files and demands paymentCryptominerMines cryptocurrency: a hot, slow, noisy PCFilelessRuns in memory using the system's own tools; leaves no file to scanA rootkit or boot sector virus may survive a normal scan: scan from outside Windows.

Boot sector virus, spyware, stalkerware, fileless.

Types of malware · Going deeper · 2 of 2

Tools and methods against malware

Tool or methodWhat it doesAntivirus and anti-malwareScans files and blocks known threatsEDREndpoint detection and response: watches behaviour on each PCMDRManaged detection and response: a service that watches for youXDRExtended detection and response: PCs, network, email and cloud togetherEmail security gatewayFilters malicious mail before it reaches the inboxSoftware firewallBlocks unexpected connections on each PCUser educationAnti-phishing training: the cheapest defenceRecovery environmentStart outside Windows to scan or repairOS reinstallationThe certain cure when the system cannot be trustedAntivirus knows files. EDR knows behaviour, which is how fileless malware is caught.

EDR, MDR, XDR, email gateway.

Removing malware

Malware removal is seven steps, in this order

1 Investigateverify thesymptoms2 Quarantinetake it offthe network3 DisableSystem Restore,so it cannot hide there4 Remediateupdate the tool,scan and remove5 Schedulescans andupdates6 EnableSystem Restore; makea new restore point7 Educatethe userMalware removal is seven steps, in this order.Quarantine comes before cleaning, so the infection cannot spread while you work. SystemRestore is switched off before cleaning and on again after, so no infected copy survives.

Investigate, quarantine, disable restore, remediate, schedule, enable, educate.

Removing malware · Going deeper

Browser security settings

Browser settingWhat to knowInstall from trusted sourcesThe vendor's site or the store; check the hash of a downloadPatch the browserAutomatic updates onExtensions and plug-insOnly from trusted sources; remove or disable what is not neededPassword managerA unique password for every site, filled in only on the real oneSecure connectionsA valid certificate; heed certificate warningsPop-up blocker and ad blockerFewer malicious adverts and fake alertsClearing cache and browsing dataRemoves stored pages, cookies and historyPrivate browsing modeKeeps no history on this PC; hides nothing from the networkSign-in and data synchronizationBookmarks and passwords follow the account; guard that accountProxy and secure DNSFilter traffic; encrypt name lookupsMost malware arrives through the browser, so this is where prevention starts.

Trusted sources, extensions, certificates, private mode.

Check yourself

Foundpop-ups, a changed home page, files renamedVerifiedthe anti-malware tool names the infectionPCstill plugged into the office network

What is the next step?

Social engineering

Phishing changes its channel, not its trick

AN URGENT MESSAGE FROM "SOMEONE YOU TRUST"IS CALLEDBy emailPhishingBy phone callVishingBy text messageSmishingBy a code to scanQR code phishingAimed at one named personSpear phishing; whaling for an executivePhishing changes its channel, not its trick.The trick is always the same: borrowed trust and a deadline, so that you act before youthink. The defence is the same too: check through a channel you already know.

Phishing, vishing, smishing, QR, spear phishing.

Social engineering · Going deeper · 1 of 2

More attacks and threats

Attack or threatWhat happensShoulder surfingWatching someone type a passwordTailgatingFollowing an authorized person through a doorImpersonationPosing as staff, a supplier or the help deskDumpster divingSearching the rubbish for documentsEvil twinA fake Wi-Fi access point with a trusted nameOn-path attackSitting between two parties and reading the trafficSpoofingFaking an address, a name or a caller IDDoS and DDoSFlooding a service; DDoS uses many machinesBrute-force; dictionaryTrying every password; trying a list of likely onesSQL injection; XSSAttacks typed into a website's formsBusiness email compromiseA hijacked or faked work mailbox asks for a paymentZero-day; supply chainA flaw with no patch yet; malware inside trusted softwareInsider threatSomeone who already has accessThe first four need no computer at all.

Tailgating, evil twin, on-path, zero-day.

Social engineering · Going deeper · 2 of 2

Vulnerabilities

VulnerabilityWhy it is a riskUnpatched systemsKnown holes with published attacksUnprotected systemsNo antivirus or no firewallNon-compliant systemsNot set up the way company policy requiresEnd-of-life systemsNo more security updates, everBYODPersonal devices the company does not control, on the company networkAn attack needs a vulnerability. Most are closed by patching.A threat is what could happen, a vulnerability is the weakness that lets it, and an attackis someone using one against the other.

Unpatched, end-of-life, BYOD.

Securing mobile devices

A lost phone is safe if locked, encrypted and wipeable

A phone is left in a taxiScreen lockPIN, fingerprint,face or patternEncryptionstorage unreadablewithout the lockFailed attemptserases after toomany wrong triesLocator appshows wherethe device isRemote wipeerases it fromanywhereA lost phone is safe if it is locked, encrypted and wipeable.All five are set up beforehand. A company enforces them with mobile device management,and a remote backup means that wiping the phone loses nothing.

Screen lock, encryption, locator, remote wipe.

Securing mobile devices · Going deeper

Mobile security measures

MeasureWhat to knowScreen locksFace, fingerprint, PIN, pattern; a swipe protects nothingDevice encryptionOn by default on current phones once a lock is setConfiguration profilesSettings pushed by the companyPatch managementOperating system and application updatesEndpoint security softwareAnti-malware and content filteringLocator applicationsFind, ring or lock the deviceRemote wipeErase a lost deviceRemote backup applicationsCopies to the cloud, so a wipe loses nothingFailed log-in attempt restrictionsDelay, lock or erase after repeated wrong triesMDMMobile device management: enforces all of the aboveBYOD or corporate ownedPersonal devices need a work profile; company ones can be fully managedOn a personal phone, the company wipes only the work profile.

MDM, profiles, BYOD, remote backup.

Check yourself

Arrives asa text message on a personal phoneSays"Your parcel is held. Pay the fee today."Containsa link to a page asking for card details

What is this attack called?

Destroying data

A format hides data; a wipe removes it

Standard formatfiles look gone;easily recoveredLow-level formatdone at the factory;not a wipe toolErase or wipeevery block isoverwrittenDegaussa strong magnet;hard drives onlyShred, drill, burnthe drive isdestroyeddrive reusabledrive reusabledrive reusabledrive ruineddrive ruinedA format hides data. A wipe removes it. Shredding removes the drive.To pass a drive on, wipe it. To be certain, destroy it. Degaussing scrambles magneticplatters and tape, and does nothing to an SSD, which stores data electrically.

Format hides. Wipe removes. Shred destroys.

Destroying data · Going deeper

Destruction methods and certificates

MethodWhat to knowDrillingHoles through the platters; quick, done on siteShreddingThe drive is cut to fragments; the usual choice for SSDsDegaussingErases magnetic media; the drive cannot be used againIncinerationBurned in a licensed facilityErasing or wipingOverwrites the data so the drive can be reused or donatedThird-party vendorA company that destroys or recycles drives for youCertificate of destructionThe vendor's written proof, listing each drive by serial numberKeep the certificate: regulations may require proof that the data was destroyed.Electronics also fall under environmental rules, so drives and batteries go to a recycler.

Degaussing, shredding, certificate of destruction.

Check yourself

Drivestwenty SSDs from retired laptopsPlanthe laptops go to a schoolRuleno company data may be recoverable

Which method fits?

Lesson complete

You finished “Malware, social engineering and disposal”

Answer the questions along the way to see your score here.

Open in a new tab