MITRE D3FENDdefensive technique
D3-MAN Message Authentication
- Tactic
- Harden
Definition
Authenticating the sender of a message and ensuring message integrity.
How it works
How it works
Digital Signature
Digital signatures are used to verifying a message is from the expected sender. In email, Secure/Multipurpose Internet Mail Extensions (S/MIME) protocol is typically used to digitally sign messages. A hash value of the sender's message is created and encrypted with the sender's private key to create a digital signature. The message and the digital signature are sent to the recipient where the sender's public key is used to decrypt the digital signature and compute the hash of the message. The computed hash is compared with the hash from the received message, and any difference in the hash values signify the message did not originate from the sender and has been alerted in transit.
Message Authentication Code (MAC)
MAC is a fixed size string that is appended to a message to provide message authentication and integrity. The sender MAC signing algorithm takes as input a secret symmetric key shared between sender and recipient and the message to calculate a short tag that is appended to the message. The recipient receives the message with the appended tag, and a MAC verification algorithm is run using the symmetric key to verify the message came from the stated sender and ensure the message has not been tampered with.
Considerations
• Public keys associated with digital signatures should be verified by a Certification Authority (CA) to prevent impersonation. The CA verifies the owner of a public key and puts the sender's identity and public key into a certificate that is signed by the CA.
• Digital signatures provide non-repudiation where a third party can verify the authenticity of the message using the sender's digital certificate signed by the CA.
• Symmetric keys must be exchanged securely via a private channel and management of new symmetric keys are needed for each pair of participants wishing to exchange messages.
Related
Counters · MITRE ATT&CK (26)
- T0893 Data from Local System technique
- T0821 Modify Controller Tasking technique
- T0888 Remote System Information Discovery technique
- T0889 Modify Program technique
- T0800 Activate Firmware Update Mode technique
- T0801 Monitor Process State technique
- T0802 Automated Collection technique
- T0806 Brute Force I/O technique
- T0809 Data Destruction technique
- T0811 Data from Information Repositories technique
- T0835 Manipulate I/O Image technique
- T0836 Modify Parameter technique
- T0838 Modify Alarm Settings technique
- T0840 Network Connection Enumeration technique
- T0843 Program Download technique
- T0845 Program Upload technique
- T0846 Remote System Discovery technique
- T0858 Change Operating Mode technique
- T0861 Point & Tag Identification technique
- T0866 Exploitation of Remote Services technique
- T0868 Detect Operating Mode technique
- T0869 Standard Application Layer Protocol technique
- T0873 Project File Infection technique
- T0877 I/O Image technique
- T0878 Alarm Suppression technique
- T0885 Commonly Used Port technique
Child of · MITRE D3FEND (1)
- D3-MH Message Hardening defensive technique
Referenced by MITRE D3FEND · child of (1)
- D3-BMA Bus Message Authentication defensive technique
References
- https://tools.ietf.org/html/rfc6376 RFC 6376: DomainKeys Identified Mail (DKIM) Signatures
- https://tools.ietf.org/html/rfc3851 Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.1 Message Specification