A text message, or SMS, is a short note your mobile network stores and then passes to your phone.
This guide is for anyone who gets texts from banks, delivery firms or apps and wants to know how they really travel. You do not need any technical skill. If you get sign-in codes by text, how texts work affects how safe your accounts are.
In short
- A text passes through several companies and a message centre before it reaches your phone.
- The sender name you see is set by whoever sends the text, so criminals can copy a real firm's name.
- Texts were not designed to be a secure way to send messages, so codes sent by text can sometimes be stolen.
- Treat links in texts with care, and use an authenticator app or a passkey where a service offers one.
What you will learn
- Explain the path a text takes from sender to phone.
- Spot why a familiar sender name does not prove who sent a text.
- Explain why a code sent by text is weaker than other sign-in checks.
- Check which of your accounts still rely on text codes.
- Text message (SMS)
- a short written message sent over the mobile phone network.
- Sender name (sender ID)
- the name or number shown at the top of a text, chosen by the sender.
- Fake text (smishing)
- a text that pretends to be from someone you trust, to trick you.
What is SMS?
Think of a postcard sent through the post. Several sorting offices handle it on the way, and anyone can write any return address on it. A text message works in a similar way.
SMS stands for Short Message Service. Each text is small, with room for up to 140 bytes of data [1]. The network uses a message centre (a computer that holds texts until they can be delivered). The technical rules call it a "store and forward" centre [1]. If your phone is off, the centre keeps the text and tries again later [1].
The text also carries the sender's address, which is the name or number you see [1]. Firms often send a name, such as their brand, in place of a number. UK government security advice calls these names SenderIDs [2].
Where the comparison stops working: a postcard takes days and you can see who handed it to you. A text arrives in seconds and gives no clue about the companies that passed it along.
Why does it matter?
Banks, shops and apps use texts for alerts and sign-in codes. Criminals use the same channel for fake texts.
If you bank or shop on your phone
What could happen: a fake text uses your bank's sender name and may sit next to real texts from your bank.
Check this: never use a link in a text to sign in. Open the bank's app or type its address yourself.
If you use text codes to sign in
What could happen: someone moves your number to their phone, or tricks you into reading out a code, and gets into your account.
Check this: switch important accounts to an authenticator app or a passkey where offered.
If your business sends texts to customers
What could happen: criminals copy your sender name, and customers stop trusting your real messages.
Check this: ask your text provider whether your sender name is protected, and avoid putting links in texts.
What does it look like?
Here is a made-up text of the kind criminals send. The sender name looks familiar, which is the trick.
Example only. All values are made up.
From: EXAMPLEBANK (1) Today 09:14 EXAMPLEBANK: A new payee was added to your account. (2) If this was not you, cancel it here: https://examplebank-secure.example.invalid/stop (3) Do not share your code 000000 with anyone. (4)
- In a real message, this line would show the name the sender chose. It is not proof of who sent it.
- An alarming claim to make you act fast.
- A link to a look-alike site, not the bank's own address.
- Real banks send code warnings too, so this line makes the text feel genuine.
Why this is risky: the familiar name lowers your guard, and the link leads to a fake sign-in page.
The safer way: ignore the link, open your banking app yourself, and check there for any new payee.
How does it work?
- Someone sends the text. It might be a person on a phone or a firm's computer system sending thousands at once. The sender sets the name or number that will show.
- It may pass through middle firms. Firms that send texts in bulk often use one or more middle companies, called aggregators, to reach the mobile networks [3].
- The network hands it to a message centre. The centre stores the text and passes it on [1].
- Networks talk to each other. Behind the scenes, phone networks use an old signalling system called SS7. The UK's National Cyber Security Centre (NCSC) says SS7 "was not built with" today's security threats in mind [3].
- Your phone shows it. If your phone is unreachable, the centre tries again later [1].

This path explains the two big weak spots. First, the systems behind mass texting "cannot reliably tell the recipient who originated" a text, says the NCSC [2]. Criminals often use sender names that look like real ones [2].
Second, SMS "was not designed as a method for transmitting secure messages" [3]. Attackers with access to SS7 can make a phone look as if it is roaming abroad, and then catch texts meant for it [3]. In SIM swap fraud, criminals trick a phone shop into moving your number to their SIM card. They then get your texts and calls [3].
That is why a US government guide to sign-in security marks codes sent by phone or text as "restricted". It says services using them must also offer another kind of sign-in check [4].
A worked example
Nils Yeboah works from home and banks on his phone. One morning a text arrives under his bank's usual sender name. It looks like the genuine alerts he usually gets.
The text says a new payee has been added and gives a link to cancel it. Nils feels a jolt of worry. The message looks just like the real ones.
Then he remembers that the name at the top of a text is chosen by whoever sends it. A familiar name does not prove the text is genuine.
Nils does not tap the link. He opens his banking app from his home screen instead. There is no new payee, and no unusual activity in the records he can see.
He calls the bank using the number on the back of his card. The bank confirms the text was not from them and tells him how to report it.
Nils also notices that his email account still sends sign-in codes by text. He switches it to an authenticator app, which makes codes on his phone without using the text network. He keeps his phone number as a backup only where the service gives no other choice.
Real firms have been caught out by fake texts too. In 2022, Twilio said criminals sent hundreds of texts to its staff, posing as its IT team, with links to fake sign-in pages [5]. Read the Twilio breach analysis for the full story.
Myths and mistakes
| What people think | What is true |
|---|---|
| If a text shows my bank's name, it came from my bank. | The sender chooses the name. Criminals can copy it or use one that looks very similar. |
| Texts are private, like messages in a chat app. | SMS was not built as a secure way to send messages. Use an app with end to end encryption for private chats. |
| A code sent by text is as strong as any other second check. | Text codes can be caught through SIM swaps or network tricks. Authenticator apps and passkeys are stronger options. |
| Only careless people fall for fake texts. | Staff at technology firms have been fooled. Good habits matter more than being clever. |
What can I do this week?
- List the accounts that send you sign-in codes by text, starting with email and banking.
- Switch the most important ones to an authenticator app or a passkey where offered.
- Ask your mobile provider whether you can add a PIN or extra check before your number is moved.
- Make a habit of opening apps yourself, never through a link in a text.
- Delete and report fake texts rather than replying to them.
Checklist
- I know the sender name on a text can be faked.
- I do not sign in through links in texts.
- My email account uses an authenticator app or a passkey, not only text codes.
- My bank account uses the strongest sign-in check my bank offers.
- I have asked my mobile provider about extra protection against number moves.
- I never read out or forward a code that arrived by text.
- If my business sends texts, we avoid links and know who sends them for us.
Common questions
Can someone send a text that shows my bank's name?
Yes. The sender sets the name shown on a text, and the systems behind bulk texting cannot reliably prove who sent it. Some firms register their sender names to help block copies, but this protection is not available everywhere. Treat the name as a label, not proof.
Are text messages encrypted?
Not in the way chat apps with end to end encryption are. The UK's NCSC says SMS was not designed as a way to send secure messages. Messages pass through several companies on the way. For private conversations, use an app that encrypts messages from your phone to the other person's.
Should I stop using text codes completely?
Not always. A text code is still better than a password alone. Where a service offers an authenticator app or a passkey, switch to that for important accounts. Keep text codes only where there is no stronger option, and protect your number with your mobile provider.
What is SS7 and should I worry about it?
SS7 is the old signalling system phone networks use to route calls and texts. It was built before today's threats, and attackers with access to it can catch texts. Most people are more likely to meet a fake text or a SIM swap, but it is another reason to move off text codes.
What should I do if I clicked a link in a fake text?
Act quickly. If you typed a password, change it from the real app or site and turn on a stronger sign-in check. If you gave bank details, call your bank on the number on your card. Then report the text as the scams guide explains.
Where next?
Ready for the detail? Read the practitioner guide: A2P SMS Security Guide. It goes further into how businesses register sender names, choose text providers and protect the texts they send.
Also useful:
- Text Message Scams for Beginners
- One-Time Codes for Beginners
- Passkeys for Beginners
- SMS Pumping for Beginners
Related NHI Mgmt Group resources: Encryption for Beginners, Business Text Messaging for Beginners and One-Time Passcodes for Beginners.
Key terms
- Smishing
- Phishing sent by text message instead of email.
- SMS OTP
- A one-time code sent by text message as a second sign-in check. It is widely used but weaker than other options.
- SIM swap
- A trick where a criminal gets a mobile provider to move someone's number to a SIM card the criminal controls.
- Signalling System 7 (SS7)
- The set of signalling rules phone networks use to set up calls and pass texts between them.
- Sender ID
- The name or number shown as the sender of a text, chosen by whoever sends it.
- Multi-factor authentication
- Signing in with two or more separate checks, such as a password and a code.
- Passkey
- A way to sign in without a password, using a secret key that stays on your device.
Sources and further reading
- ETSI, "GSM 03.40: Technical realization of the Short Message Service (SMS) Point-to-Point", version 5.0.0, December 1995. https://www.etsi.org/deliver/etsi_gts/03/0340/05.00.00_60/gsmts_0340v050000p.pdf (accessed 1 Dec 2026).
- National Cyber Security Centre, "Business communications: SMS and telephone best practice", published 19 January 2022, reviewed 31 October 2023. https://www.ncsc.gov.uk/guidance/business-communications-sms-and-telephone-best-practice (accessed 1 Dec 2026).
- National Cyber Security Centre, "Protecting SMS messages used in critical business processes", version 1.0, 6 November 2019. https://www.ncsc.gov.uk/pdfs/guidance/protecting-sms-messages-used-in-critical-business-processes.pdf (accessed 1 Dec 2026).
- NIST, "SP 800-63B-4: Digital Identity Guidelines, Authentication and Authenticator Management", section on authentication using the public switched telephone network. https://pages.nist.gov/800-63-4/sp800-63b.html (accessed 1 Dec 2026).
- Twilio, "August 2022 social engineering attack", Twilio blog, 2022. https://www.twilio.com/en-us/blog/august-2022-social-engineering-attack (accessed 1 Dec 2026).