ASD ISM 1183 Implement hard fail SPF records for email security
What it says
A hard fail SPF record is used when specifying authorised email servers (or lack thereof) for an organisation's domains (including subdomains).
Quoted as published. Everything else on this page is written by Control Stack.
In plain English
End every SPF record for the organisation's domains and subdomains with hard fail ('-all'), so any server the record does not list gets an SPF result of fail.
The SPF (Sender Policy Framework) records specifying authorised email servers (or lack thereof) for the organisation's domains, including subdomains, must be hard fail records. Hard fail means the record ends in '-all', so a server it does not list gets an SPF result of fail, a clear statement that it is not authorised. Endings of soft fail ('~all'), neutral ('?all') or pass ('+all') do not meet it, and nor does a record with no ending, unless it redirects to one ending in '-all'. ISM-0574 requires the records themselves.
Free. Save your status, tasks and notes.
Why it matters
A soft fail or neutral ending tells receivers the domain owner will not firmly call unlisted servers unauthorised, so forged mail may be marked as suspicious but still delivered. A hard fail makes that firm statement, giving receivers clear grounds to reject spoofed mail.
How to implement
Check every legitimate sender is listed before switching.
A hard fail makes mail from a missed service fail SPF, so compare each record with gateway logs and DMARC aggregate reports first (ISM-0574 requires the listing).
End every SPF record with '-all'.
Replace '~all', '?all' or '+all', and add '-all' to any record that has neither an ending nor a redirect. A name that sends no email gets 'v=spf1 -all'. A redirect's target must end in '-all'; if a provider's record does not, replace the redirect with an include followed by '-all'.
Confirm the result from outside.
Use an SPF checking tool, or send a test from an unlisted server to an external mailbox, and confirm the result is fail rather than softfail or neutral.
Keep it running
Recheck the ending after every edit to a record, such as adding a sending service, and give each new domain or subdomain a hard fail record when it is created.
Evidence and audit
- Check 1 of 2What an auditor asks for
Ask for
The SPF record for every domain and subdomain in the registrar records and DNS zone files, queried from public DNS.
Look at
The final 'all' mechanism of each record, following any redirect to the record it points to.
Good evidence
Every record ends in '-all' or redirects to one that does; a '~all', '?all' or '+all' ending, a record with no ending or a name with no record fails.
- Check 2 of 2What an auditor asks for
Ask for
A test message sent from a server no record lists, using a sampled domain or subdomain as the envelope sender, to an external mailbox that shows authentication results.
Look at
The SPF result the receiving server records, or gives when it rejects the message.
Good evidence
The result is spf=fail for each sampled name, never softfail or neutral.
Mappings
Closest match in ISO/IEC 27001: A.8.9, Configuration management, which this control partially meets.
ISO/IEC 27001: 1 mapping
This control partially meets A.8.9.
ISM-1183 requires an organisation to publish and use hard fail SPF DNS records to specify which email servers are authorised to send for its domains (including subdomains). Annex A 8.9 requires configurations (including security configurations) for services and networks to be established, documented, implemented, monitored and reviewed, which can include DNS and email authentication settings such as SPF. ISM-1183 is one specific security configuration outcome within the broader configuration management lifecycle mandated by Annex A 8.9.
Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.




