Physical security

Each layer stops someone the last one missed

The sitefence, bollards,lightingThe entranceguard, cameras,alarmThe lobbyaccess vestibule,badge readerThe roomdoor lock, key fob,biometricsThe deviceequipment lock,locked rackPhysical security is layers: each one stops someone the last one missed.A bollard stops a vehicle. An access control vestibule is two doors with a space between,so only one person passes at a time and nobody slips in behind a badge holder.

Fence, guard, vestibule, lock, equipment lock.

Physical security · Going deeper

Physical and access measures

MeasureWhat it doesBollards, fencesKeep vehicles and people off the siteAccess control vestibuleTwo doors; one person at a timeVideo surveillance, motion sensors, alarmsDetect and record an intruderSecurity guards, lightingDeter, and respond in personMagnetometerA metal detector at the entranceBadge reader, key fob, smart cardSomething you carry opens the doorMobile digital keyA phone acts as the badgeKeys and door locksSimple; cannot be switched off remotelyBiometricsFingerprint, face, retina, palm vein, voiceEquipment locksCable locks for laptops; locked racksA lost badge can be cancelled the same minute. A lost key means changing the lock.

Bollards, magnetometer, smart card, biometrics.

Multifactor authentication

Multifactor means two different kinds of proof

Something you knowpasswordPINsecurity questionSomething you havephone with an authenticator apphardware tokensmart cardSomething you arefingerprintfacevoice✗ password + PIN: two of the same kind✓ password + code from an authenticator app: two kindsMultifactor means two different kinds of proof, not two proofs.A stolen password is then not enough: the thief also needs the phone or the finger.Codes from an app or a hardware token are stronger than codes sent by SMS or email.

Know, have, are. Two kinds, not two of one.

Multifactor authentication · Going deeper

Logical security terms

TermMeaningLeast privilegeGive each account only what its job needsZero trustVerify every request, even from inside the networkACL (access control list)The list of who may do what to a resourceSSO (single sign-on)Sign in once, reach many systemsSAMLThe standard that carries a sign-in between systems for SSOIAM and directory servicesThe central store of accounts and their rightsPAM (privileged access management)Guards and records administrator accountsJust-in-time accessAdmin rights granted for a short time, then removedMDM (mobile device management)Enforces settings on phones and laptopsDLP (data loss prevention)Stops sensitive data leaving by email, USB or uploadOTP and TOTPA one-time code; TOTP changes every 30 secondsMFA deliveryAuthenticator app, hardware token, SMS, voice call, emailLeast privilege limits the damage any one stolen account can do.

Least privilege, zero trust, SSO, PAM, DLP.

Check yourself

Step 1type the account passwordStep 2answer a security questionClaimthe site calls this "two-step security"

Is this multifactor authentication?

Share and NTFS permissions

Over the network, the stricter permission wins

Share permissionNTFS permissionWhat the user gets over the networkReadModifyReadFull controlReadReadModifyFull controlModifyOver the network, the stricter of the share and NTFS permissions wins.Share permissions apply only to people arriving over the network. NTFS permissions applyalways, including to someone sitting at the computer. Files inherit them from their folder.

Take the stricter of share and NTFS.

Share and NTFS permissions · Going deeper · 1 of 2

Windows security settings

SettingWhat to knowDefender AntivirusKeep it on; update the definitionsDefender FirewallKeep it on; open ports or allow applications one by oneLocal or Microsoft accountAn account on this PC only, or one that follows the user onlineStandard userRuns programs; cannot change the systemAdministratorCan change anything; use only when neededGuest and Power UserGuest: very limited, disable it. Power User: kept for old softwareSign-in optionsPassword, PIN, fingerprint, face, SSO; Windows Hello is passwordlessUACThe prompt that appears before a change needing administrator rightsBitLockerEncrypts a whole drive; BitLocker To Go does it for USB drivesEFSEncrypts single files and folders for one userAttributes and inheritanceRead-only, hidden; a new file takes its folder's permissionsRun as administrator raises one program, not the whole session.

UAC, BitLocker, EFS, standard user.

Share and NTFS permissions · Going deeper · 2 of 2

Active Directory

In Active DirectoryWhat it doesJoin the domainThe PC trusts the company directory; users sign in with domain accountsOrganizational units (OUs)Folders for users and computers; move an object to change what appliesGroup PolicySettings pushed to every PC or user in an OUSecurity groupsGive permissions to a group, then add people to itLog-in scriptRuns at sign-in, for example to map drivesHome folderA private folder on a server for each userFolder redirectionDocuments and Desktop are really stored on a serverGive permissions to groups, never to individual people.

OUs, Group Policy, security groups, folder redirection.

Passwords and hardening

A longer password beats a more complicated one

PasswordHow long the number of possible passwords is8 characters, all four kinds16 digits12 lowercase letters17 digits16 lowercase letters23 digits16 characters, all four kinds32 digitsA longer password beats a more complicated one.Twelve plain letters give more possibilities than eight characters of every kind, and eachextra character multiplies the total. Length first, then uniqueness: one password per site.

12 letters beat 8 mixed. Length first.

Passwords and hardening · Going deeper

Workstation hardening

Hardening stepWhyData-at-rest encryptionBitLocker or FileVault, so a stolen drive is unreadablePassword rulesLength, character types, uniqueness, complexity, expirationBIOS or UEFI passwordStops changes to the boot order and firmware settingsScreen lock and timeoutLocks after a few idle minutes; log off when leavingPassword managerA different strong password for every siteRestrict permissionsStandard accounts for daily workRestrict log-in timesAccounts work only during working hoursDisable the guest accountNo anonymous way inFailed-attempt lockoutLocks the account after several wrong passwordsAccount expirationTemporary staff accounts end by themselvesChange the default administratorRename it and set a new passwordDisable AutoRun and unused servicesNothing starts from a USB stick; less to attackHardening is removing what is not needed and locking what is left.

Lockout, screen lock, disable guest, AutoRun off.

Check yourself

ShareFull control for the Sales groupNTFSRead for the Sales groupUserin Sales, connecting from another PC

What can the user do with the files?

Securing a SOHO network

A small-office router is secured by changing five defaults

OUT OF THE BOXHARDENEDDefault admin passwordA new, long passwordOld firmwareUpdated firmwareGuests on the main networkA separate guest networkUPnP onUPnP offManagement open to the internetManagement from inside onlyA small-office router is secured by changing five defaults.UPnP lets any device open a port on the router without asking, which malware also uses.Keep the router itself somewhere people cannot reach the reset button.

New password, new firmware, guest network, UPnP off.

Securing a SOHO network · Going deeper · 1 of 2

Router and firewall settings

Router settingWhat it doesIP filteringAllow or block traffic by addressContent filteringBlock categories of websitesScreened subnetA separate zone for servers the internet must reachPort forwarding (mapping)Send one outside port to one inside deviceDisable unused portsClose firewall ports and switch sockets nobody usesChange the SSIDDo not advertise the router's make and modelDisable SSID broadcastHides the name; a weak measure, easily foundEncryption settingsWPA3, or WPA2 with AESGuest accessInternet only; no access to office devicesSecure management accessHTTPS, a strong password, not from the internetPhysical placementCentral for coverage, and out of public reachA screened subnet used to be called a DMZ.

Port forwarding, screened subnet, content filtering.

Securing a SOHO network · Going deeper · 2 of 2

Wireless protocols and authentication

TermWhat it isWPA2The long-standing Wi-Fi security standard; use it with AESWPA3The current standard; resists password guessing far betterAESThe strong encryption cipher used by WPA2 and WPA3TKIPAn older, weak cipher kept only for very old devices; avoid itRADIUSA server that checks each user's own sign-in for Wi-Fi or VPNTACACS+Similar, used to control who may administer network equipmentKerberosThe ticket system a Windows domain uses to sign users inMultifactorA second proof on top of the passwordHome Wi-Fi shares one passphrase. Enterprise Wi-Fi gives each user their own sign-in.That is what RADIUS is for: when someone leaves, only their account is switched off.

WPA3, AES, RADIUS, Kerberos.

Check yourself

Office60 staff on one Wi-Fi networkProblemone shared passphrase; staff leave and still know itWantedeach person signs in with their own account

What should the office Wi-Fi use?

Lesson complete

You finished “Security measures and hardening”

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

Open in a new tab