Digital signature to e-mail.

From: Roberto Alcantara (roberto_at_fortalnet.com.br)
Date: 06/01/05

  • Next message: AndrewC: "RE: Checking when the OS was first installed"
    Date: Wed, 1 Jun 2005 16:07:45 -0300 (BRT)
    To: security-basics@securityfocus.com
    
    
    

    Guys, this is just one idea, and I would like know your comments about
    this.
    I will write one sendmail milter to test, just to fun :)

    Regards,
    Roberto.

    http://www.eletronica.org/softlab/userkeys/userkeys_english.htm

    ** BETA TEXT VERSION **
    Give me feedback about text :)

    Roberto Alcāntara
    roberto@eletronica.org
    2005, May 15.

    Digital Signature to E-mail in Server Side

    Objective: Offer one way to provide server side authentication
    with digital signature, to return-path address ('MAIL FROM'
    argument, RFC2821). SMTP protocol was not developer with
    security objectives. Your idea it's great to delivery messages,
    but very bad to security purpose. The main STMP deficiency is
    not able to cryptography message and not have security origin
    identification. Our propose is solve origin identification
    problem, using asymmetric cryptography, MTA filters and DNS
    to store public key.

    Motivation: Some options was developed to solve identification
    and cryptographic problem, like PGP and GNUPG. Althought
    excellent options they had not become popular, therefore they
    need new software ('plugin') in client side and did not have
    safe and distribuided place for public keys publication. Other
    solution like Domain Keys[1] providers a mechanism for verifying
    both the domain of email sender and the integrity of the sent
    message, but not the sender.

    How it works:

    Setup: Each protected e-mail (user@domain) have one public and
    private key are stored in server side. Public key is stored in
    user.userkeys.domain in TXT DNS record (RFC1035). User names
    with dot will have some extra characters to fix url. Private
    key is stored in secure local database (User Key Database,
    UKD), with username/mail from/private key. Each client have
    one password to access your SMTP account (SMTP Authentication,
    RFC2554).

    Sending: e-mail client connect to SMTP server using
    authentication and send your message. Server will look in your
    UKD if this user have permission to send messages from informed
    'MAIL FROM'. After this, server will sign message and add this
    signature in e-mail header.

    Receiving: When MTU delivery message to MX server,
    this will find signature header. One DNS query will
    be sent to user.userkeys.domain looking public key to
    user@domain address. With public key, server can check sender
    identification, adding result in message header or body. One
    additional flag in DNS entry say what e-mail owner recommend
    MX do when signature can't be found or signature check fail.

    Cryptographic problem can be solve with asymmetric keys
    but not with this solution, because comunication between Client
    and SMTP server it is not safe to envelope of a message.

    [1] http://antispam.yahoo.com/domainkeys


  • Next message: AndrewC: "RE: Checking when the OS was first installed"

    Relevant Pages

    • Re: Is this protocol okay?
      ... >> 4096-bit RSA public key. ... The server may or may not have access to M's public ... Using M's private key to generate the signature. ... Using S's private key to generate the signature, ...
      (sci.crypt)
    • Re: TIPS FOR THE NEWCOMER
      ... As long as the private key is readable by the ssh client when it comes ... When the ssh client connects to the server, ... private key which matches the public key. ...
      (SSH)
    • Re: FreeBSD 7.1 and BIND exploit
      ... The server may be specified by name or IP address. ... and by default is configured as a resolver only. ... can we have a stub resolver in FreeBSD that will "do the DNSSEC thing" regardless of what kind of resolving name server it's sitting behind? ... If the signature validates, then there are no "issues," you just pass the answer back to the stub and you're done. ...
      (freebsd-stable)
    • Re: Soft signatures
      ... now, digital signature, typically just represents that you (in ... For some time there were arguments that if a certificate contained the ... certificate with your public key and the non-repudiation flag in it. ... for a number of different business purposes. ...
      (sci.crypt)
    • Re: Where are DC signatures stored in AD ? Can then be edited using adsiedit ?
      ... We took a NTBackup of the DC and restored it onto a server with the ... There were no errors apart from the decomissioned signature ... started having problems with the test network at the point of demoting the ... having and using a new signature, it registers it's CNAME entry in DNS ...
      (microsoft.public.windows.server.active_directory)