A company moving its telephones to voice over IP wants the speech in each call encrypted, so that a captured packet cannot be listened to or replayed.
Voice, video, messaging and email
Telephone calls, video meetings, chat and email are the channels people use to talk to each other at work. No background is assumed. A security professional needs them because each was built to connect people easily rather than to prove who is speaking. Fraudsters run up call bills, slip into meetings, fake a caller's number and send email in a chief executive's name.
By the end of this unit you will be able to:
- Explain toll fraud on a private telephone exchange and the controls that prevent it
- Match voice threats, including caller ID spoofing and vishing, to their controls
- Choose controls that keep strangers out of an online meeting
- Tell apart SPF, DKIM and DMARC, and S/MIME and PGP, on what each proves or protects
The weekend the phones called the Caribbean
An illustrative example
A small architects' practice closes on Friday evening. On Monday its telephone provider rings. Over the weekend the office phone system made four hundred calls to premium-rate numbers abroad. The bill is already larger than a month's rent.
Nobody was in the building. The phone system had been installed ten years earlier, and the voicemail boxes of former staff still had the code the installer set.
How did calls leave an empty office, and who will be asked to pay for them?
From the office telephone exchange to the internet call
A private branch exchange (PBX) is an organisation's own telephone switch. It connects internal extensions to each other and to the public telephone network through a set of outside lines.
Toll fraud is using someone else's telephone system to make calls they pay for, often to premium-rate or international numbers. The usual ways in are features that let outsiders dial back out. Direct inward system access (DISA) lets a remote caller enter a code and get an outside line. Voicemail through-dial lets a caller reach an outside line from a mailbox. Default codes, unused mailboxes and open maintenance ports do the rest. Calls run at night and weekends, when nobody watches. The organisation that owns the system is billed.
The controls close those doors. Disable DISA and through-dial, or protect them with long random codes. Change every default code and delete unused mailboxes. Restrict international and after-hours calls to business need, lock out after a few wrong codes, and review call records daily. Phreaking is the older name for abusing the telephone network itself to make free calls or control switches.
Voice over IP (VoIP) carries calls as on an ordinary data network. Calls are set up by the , on port 5060, or 5061 when protected by TLS. The speech itself travels by the Real-time Transport Protocol (RTP). An IP-based PBX is a server on the network, open to the same attacks as any other.
Attacks on voice and the control for each
Caller ID was designed to tell people who is calling, not to prove it. SIP lets the calling equipment fill in the number to be shown, so caller ID spoofing, showing a false calling number, is cheap. Criminals use it to impersonate a bank, or to open voicemail systems that admit anyone calling from the owner's number. Vishing is phishing by voice call: persuading a victim on the phone to give away passwords, codes or money.
| Threat | What happens | Control |
|---|---|---|
| Toll fraud | Outsiders make calls the organisation pays for | Disable DISA and through-dial, change defaults, restrict destinations, review call records |
| Eavesdropping | Unencrypted RTP is captured and played back | Secure RTP (SRTP) for speech and SIP over TLS for set-up |
| Caller ID spoofing | A false number is shown | STIR/SHAKEN signatures on the calling number; call back on a known number |
| Vishing | A caller talks a victim into handing over secrets | Training, call-back checks, no secrets given on inbound calls |
| Spam over internet telephony (SPIT) | Floods of automated junk calls | Call filtering at the provider and the PBX |
| Denial of service | Floods or delays wreck call quality | Separate voice , , session border controller |
Secure Real-time Transport Protocol (SRTP) adds , message authentication and replay protection to the speech packets. It does not exchange keys itself, so it is paired with a protected set-up channel.
STIR/SHAKEN joins the IETF's Secure Telephone Identity Revisited (STIR) standards with an industry framework called Signature-based Handling of Asserted information using toKENs (SHAKEN). The caller's carrier the calling number. The signature carries an attestation level. A means the carrier can vouch for the caller's right to the number. B means it started the call but cannot vouch for the number. C means the call entered from a gateway it cannot vouch for.
Online meetings and meeting rooms need controlled entry
An online meeting is an open room until someone controls the door. Uninvited guests who find a link can listen in, disrupt the meeting or record it.
- A waiting room or lobby, where the host admits each participant after checking who they are.
- A passcode for anyone not signed in to the organisation's account.
- Links shared only with invitees, never posted publicly.
- Host control of screen sharing, so only the presenter can show content.
- Knowing when a meeting is being recorded or transcribed, including by automated note-taking tools, and where those records are stored.
- on administrator accounts, and the meeting software kept up to date.
Encryption varies. When it runs only between each participant and the provider's servers, the provider can read the content. With end-to-end encryption only the participants hold the keys.
A video meeting room is a shared device fixed to a wall, with a camera, microphones and a sign-in. Treat it as an endpoint: harden and it, change its default passwords, and keep it on a separate network segment.
Messaging and collaboration tools leak, spread and remember
Instant messaging and collaboration platforms combine chat, file sharing and shared workspaces. They move business decisions out of email into channels that are harder to supervise.
- Data leakage
- Files and screenshots shared in a chat reach people outside the project, or guests from other organisations.
- Malware and phishing
- A link or file from an apparent colleague is trusted more than an email from a stranger.
- Impersonation
- A display name is easy to copy, and external accounts can look internal.
- Retention
- Chats may be records the organisation must keep, produce in a legal case or delete on schedule.
- Unapproved tools
- Staff choose a consumer app the organisation cannot monitor or recover data from.
Controls follow from the . Provide one approved platform so staff do not pick their own. Require with multi-factor authentication. Limit or label external guests. Set retention rules to match record-keeping duties, and apply data loss prevention to shared files.
Email: proving the sender and protecting the message
Ordinary email lets the sender write any address in the From line. Three standards, each published in the domain name system (DNS), let a receiving mail server check whether a message really comes from the domain it claims.
| Standard | What the domain publishes | What the receiver checks | Weak point |
|---|---|---|---|
| Sender Policy Framework (SPF) | A list of servers allowed to send its mail | The sending server against the list, for the hidden envelope sender | Ignores the From address people see; forwarding breaks it |
| DomainKeys Identified Mail (DKIM) | A public key | A digital signature over the headers and body | Does not encrypt; does not require the From domain to match |
| DMARC | A : none, quarantine or reject, and where to send reports | That SPF or DKIM passed for a domain aligned with the visible From domain | Protects only domains that publish a policy |
An SPF record ends with a rule for every other server. A soft fail says such servers are probably not allowed. A hard fail says they are not, and receivers may reject their mail.
DMARC stands for Domain-based Message Authentication, Reporting and Conformance. It ties the other two to the address the reader sees, which is what stops a forged From line.
Mail servers can encrypt the link between them with STARTTLS, an upgrade to TLS. It is opportunistic: if it is not offered, mail goes unencrypted, and an attacker can strip the offer. Mail Transfer Agent Strict Transport Security (MTA-STS) lets a domain demand TLS with a trusted .
To protect the message itself from end to end, the sender signs or encrypts it. Secure/Multipurpose Internet Mail Extensions (S/MIME) uses certificates issued by , suiting organisations. Pretty Good Privacy (PGP), now standardised as OpenPGP, lets users vouch for each other's keys without a central authority.
A question, worked through
A housing association's finance team receives emails that show the chief executive's exact address in the From line and ask for urgent supplier payments. The association publishes an SPF record and signs its outgoing mail with DKIM. Investigation shows the fraudsters send from their own servers, using their own domain in the hidden envelope sender.
Which control BEST stops these emails reaching the finance team?
Decide on your answer, then open the reasoning
- The question asks how to stop mail that forges the visible From address of the association's own domain.
- Rule out b: a hard fail applies only to mail whose envelope sender uses the association's domain. These messages use the fraudsters' own envelope domain, so SPF never checks the association's record.
- Rule out d: STARTTLS encrypts the connection between servers. It says nothing about who wrote the message.
- Between a and c: encrypting the finance team's outgoing mail protects what they send, not what they receive. The forged mail passes SPF for the fraudsters' own envelope domain, which does not match the From address. DMARC checks that alignment, and a reject policy tells receiving servers to refuse failures.
- DMARC ties authentication to the visible From domain, so a is the best answer.
Answer: A. Publish a DMARC policy of reject for the association's own domain
Choosing between good answers
- A phone system runs up calls overnight or at weekends
- it is toll fraud. Choose disabling DISA and through-dial, changing default codes and restricting destinations.
- A question asks how to protect the speech in a VoIP call
- choose SRTP, with SIP over TLS for the set-up.
- Forged mail shows the organisation's own domain in the From line
- choose DMARC with a quarantine or reject policy. SPF and DKIM alone do not check the visible From address.
- One message's content must stay confidential and signed from sender to reader
- choose S/MIME or PGP, not TLS between mail servers.
- Strangers are joining online meetings
- choose a waiting room with host admission and passcodes before any technical change to the platform.
Check your understanding
5 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.
These questions are drafts that no named reviewer has approved yet.
Question 1 of 5
What to remember
- Toll fraud uses DISA, voicemail through-dial and default codes on a PBX to make calls the owner pays for.
- VoIP sets up calls with SIP and carries speech with RTP. SRTP encrypts and authenticates the speech.
- Caller ID can be spoofed. STIR/SHAKEN signs the calling number, and call-back on a known number defeats vishing.
- Online meetings need host-controlled entry, passcodes, controlled sharing and known recording, and meeting room devices are endpoints to harden.
- SPF lists permitted sending servers, DKIM signs the message, and DMARC ties both to the visible From domain with a policy.
- STARTTLS protects mail between servers only if both agree. S/MIME and PGP protect the message itself from end to end.
Say it from memory
Name the main threat and control for each of voice, meetings, messaging and email.
Voice: toll fraud through DISA and default codes (disable, change, restrict, review call records); eavesdropping (SRTP and SIP over TLS); caller ID spoofing (STIR/SHAKEN, call-back). Meetings: uninvited guests (waiting room, passcodes, private links). Messaging: leakage and impersonation (one approved platform, MFA, retention). Email: forged senders (SPF, DKIM, DMARC) and exposed content (S/MIME or PGP).
What is toll fraud, and which PBX features usually let it in?
Toll fraud is using someone else's telephone system to make calls they pay for, often to premium-rate or international numbers. The usual ways in are direct inward system access (DISA), which gives a remote caller an outside line for a code, and voicemail through-dial. Default codes, unused mailboxes and open maintenance ports do the rest.
Who can read an online meeting's content when encryption runs only to the provider's servers, and how is a video meeting room device treated?
When encryption runs only between each participant and the provider's servers, the provider can read the content. With end-to-end encryption only the participants hold the keys. A video meeting room device is treated as an endpoint: hardened, patched, default passwords changed and kept on a separate network segment.
Which controls follow from the risks of messaging and collaboration platforms?
Provide one approved platform so staff do not pick their own. Require single sign-on with multi-factor authentication. Limit or label external guests. Set retention rules to match record-keeping duties, and apply data loss prevention to shared files.
What do SPF, DKIM and DMARC each check, and which one stops a forged visible From address?
SPF checks the sending server against the domain's list of allowed servers, for the hidden envelope sender. DKIM checks a digital signature over the headers and body. DMARC checks that SPF or DKIM passed for a domain aligned with the visible From domain, so DMARC is what stops a forged From line.
Sources
- PBX Security: It's Your Business, California Department of TechnologyA PBX is a private switch serving extensions and giving access to the public network. Toll fraud controls: disable DISA, delete default passwords, restrict after-hours and international calls, limit attempts, restrict voicemail through-dial, analyse call records daily.
- NIST SP 800-58: Security Considerations for Voice Over IP Systems, NISTToll fraud is a main VoIP concern for businesses; voice and data should be separated on logically different networks; firewalls need VoIP-aware gateways or session border controllers.
- RFC 3261: SIP: Session Initiation Protocol, IETFSIP uses port 5060 over UDP and TCP, and 5061 over TLS.
- RFC 3711: The Secure Real-time Transport Protocol (SRTP), IETFSRTP provides confidentiality, message authentication and replay protection for RTP and RTCP, with keys supplied by separate key management.
- RFC 7340: Secure Telephone Identity Problem Statement and Requirements, IETFVoIP makes caller ID spoofing cheap because the SIP From field is user-supplied; spoofing is used for impersonation and to break into voicemail that trusts the caller's number.
- RFC 8588: Personal Assertion Token (PaSSporT) Extension for Signature-based Handling of Asserted information using toKENs (SHAKEN), IETFSHAKEN, from the ATIS and SIP Forum, adds attestation levels A (full), B (partial) and C (gateway) to signed calling-number tokens.
- RFC 5039: The Session Initiation Protocol (SIP) and Spam, IETFSpam over IP telephony is called SPIT.
- How to secure your online meetings, National Cyber Security Centre (UK)Online meetings should use waiting areas, passcodes for unauthenticated users and links kept private. Hosts check unknown attendees, know about recording and AI attendees, use two-step verification for admins and update software.
- RFC 7208: Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1, IETFSPF lets a domain authorise the hosts that may use it in the MAIL FROM and HELO identities, not the visible From header; mailing lists and rewriting break SPF results. A softfail result is a weak statement that the host is probably not authorised; a fail result is an explicit statement that it is not, on which a receiver may reject the mail.
- RFC 6376: DomainKeys Identified Mail (DKIM) Signatures, IETFDKIM lets a signing domain take responsibility for a message with a signature; it does not encrypt, and modification in transit can break the signature.
- RFC 9989: Domain-Based Message Authentication, Reporting, and Conformance (DMARC), IETFDMARC requires an SPF or DKIM pass for a domain aligned with the RFC5322.From domain; policies none, quarantine and reject; published as a DNS TXT record at _dmarc.
- RFC 8461: SMTP MTA Strict Transport Security (MTA-STS), IETFSTARTTLS between mail servers is opportunistic and can be stripped by an active attacker; MTA-STS lets a domain require TLS with a trusted certificate.
- RFC 8551: Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 4.0 Message Specification, IETFS/MIME 4.0 gives authentication, integrity and non-repudiation by digital signature and confidentiality by encryption, using X.509 certificates.
- RFC 9580: OpenPGP, IETFOpenPGP standardises encryption, signatures and key formats, with trust signatures by which users vouch for other users' keys as introducers.