🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
26 messages
26 total messages Started by Dr. Dimitri Vulis Sun, 19 May 1996 00:00
Re: Authenticated cancels and moderated newsgroups
#7729
Author: Dr. Dimitri Vulis
Date: Sun, 19 May 1996 00:00
235 lines
10795 bytes
This spake Olaf Titz <olaf@bigred.inka.de>:
>> previous proposals for how to cryptographically checksum messages to
>> allow them to be cancelled only by their authors have avoided any sort
>> of public-key technology.  There are good reasons for doing that, e.g.,
>> CPU intensity and patent issues.  Therefore, they've assumed that a key
>> is used to sign the original article, and then the same key is used in
>> some way to sign the cancel message and prove that it was sent by the
>> same person.  However, my item (2) above and everything after it assume
>> that there's some sort of public-key technology being used, such that
>
>This can only be done with asymmetric (i.e. public key) signing
>algorithms. The biggest problem with this is the CPU usage, especially
>for cancels. Considering how many cancels come in each day on my
>machine and how long PGP takes to verify just one signature, it simply
>can't be done with PGP. I see no way we get authenticated control
>messages unless we devise a much faster public key algorithm. Sad but
>true.

There seems to be a popular misconception that authenticated cancels must
involve some sophisticated public-key cryptography. This just isn't true!

I guess it's time for Olaf to be reminded of the elegant scheme proposed
by Taneli Hujskonen and Benjamin Franz a while back, which does not
involve any (slow) public-key algorithms.

Let H denote a one-way hash function (also known as message digest),
such as SHA1 or Snerfu. Efficient source code to compute them is readily
available and not subject to export restrictions, unlike PGP. Such
functions have the property that's it's easy (for a computer) to compute
M = H(N), but, for a given M, it's hard to find N such that M = H(N).

In other words, if you're presented with M, and later with N such that M
= H(N), then it's very likely that you knew it in advance. This trick
isn't new. This is identical to how Unix[tm] stores encrypted passwords
in /etc/passwd and verifies them.


If the poster intends to extercise his right (under RFC 1036) to cancel
an article, he needs to choose a secret passphrase that'll be required
to cancel it later. However the passphrase will not be revealed by the
cancel and can be reused. With user-friendly software, the poster might
store the passphrase in a profile and use the same passphrase for all
articles, or change it for every message.

(An example of an article which the poster might wish to cancel later
would be a 'Car for sale' ad posted into some local.forsale newsgroup.)

When an article is posted, two quantities are computed by the posting program:
M1 = H(article body + newsgroups + message-id + passphrase) and
M2 = H(M1  + message-id). (+ denotes concatenation.)
The posted article contains the header "Cancel-lock: M2".
(Taneli referred to Cancel-Challenge:, but I like Cancel-lock: better:-)

Each party that wants to be able to authorize cancels later add their
own separate Cancel-lock: headers, using their own passphrases. So, if
both the author and the local news administrator wish to be able to
cancel the article, it'll have two headers:

Cancel-lock: M2 ;author
Cancel-lock: M2' ;news admin

The above requires changes to the newsreader, assuming the posting
software generates its own message-id, as it should.

Likewise, when the author or the local news admin asks the newsreader to
to cancel/supersede a Usenet article with message-id X, he'll be asked
to supply his passphrase. The posting software computes

M1 = H(X's body + newsgroups + X's message-id + passphrase)

once again and adds the "Cancel-key: M1" header to the article
containing "Control: cancel <X>" or "Supersedes: <X>" that's being
posted. (If there are multiple Cancel-Locks in the article X, only one
of them needs to be matched, as we'll see below.)


This is what needs to be done with the newsreader; and now I'll describe
how INN or a similar NNTP server needs to be patched to authenticate
cancels/supersedes:

Whenever news server software sees an article with either "Control:
cancel <X>" or "Supersedes: <X>", it should do the following:
1. If the cancel doesn't contain a "Cancel-key: M1" header, drop it
   (don't propagate it, and don't process it)
2. Else compute MX = H(M1 + message-id).
3. Retrieve the original article <X> and looks for the "Cancel-lock: M2"
   headers in it.
4. If MX matches one of the M2 in the article, then cancel it and
   propagate the control article.
5. If none is found or none is matched, then drop the cancel, don't
   process it, and don't propagate it.


Note that it's computationally very hard to find M1 such that
H(M1+passphrase) = one of the M2's. Note also that the passphrase
is not revealed. This Cancel-Key works only for this Message-ID.
It doesn't enable the verifier to forge a cancel for another article
with a different Message-ID, even if one of its Cancel-Lock:'s uses
the same passphrase.

Here are a couple of examples:

Scenario 1.

Alice posts an article from a computer owned by Bob, an Internet
provider. Bob wants to reserve the right to cancel Alice's account and
Alice's Usenet postings without Alice's permission if Alice misbehaves.

Alice posts:
]From: alice@bob's.box
]Newsgroups: alt.sex
]Subject: Sex for recreation, not procreation, is sinful
]Message-id: X (123@bob's.box)
]Cancel-Lock: M2_a

where M2_a is the one-way H(X + M1_a), and M1_a is H of the article and of
Alice's secret passphrase, as described above.

Bob, being the sysadmin and the owner of his box, configures his NNTP
server to add automatically a second challege, in addition to Alice's:

]Cancel-Lock: M2_b

where M2_b is the one-way H(X + M1_b), and M1_b is H of Alice's article and of
_Bob's secret passphrase (known to Bob's NNTP server).

Bob asks Alice nicely to cancel the article, since such articles are not
appropriate on alt.sex. Alice may comply and issue a cancel with the header

]Cancel-Key: M1_a

which will be honored. But if Alice refuses, Bob can issue a cancel/supersede
with the header:

]Cancel-Key: M1_b

which should likewise be honored because H(X + M1_b) matches one of the two
challenges in the posted article.

Note 1: If Alice doesn't add a Cancel-Lock, and Bob does, then Alice won't be
able to cancel her own article.

Note 2: It may be a good idea to put comments on the challenges:

]From: alice@bob's.box
]Newsgroups: alt.sex
]Subject: Sex for recreation, not procreation, is sinful
]Message-id: X
]Cancel-Lock: M2_a ; alice@bob's.box
]Cancel-Lock: M2_b ; root@bob's.box


Scenario 2.

Alice submits an article to Bob, a moderator of a moderated newsgroup:

]Newsgroups: rec.food.cannibalism
]Subject: How to cook elementary school children
]Message-id: X
]Cancel-Lock: M2_a

where M2_a again is H(X + M1_a), and M1_a is H of the article and of
Alice's secret passphrase.

Bob, being either the sole moderator, or a team member, adds an approval
and a second challege, in addition to Alice's:

]Approved: Bob
]Cancel-Lock: M2_b

where M2_b is the one-way H(X + M1_b), and M1_b is H of Alice's article
and of a secret passphrase used by Bob or by the entire moderating team.

Later Bob can cancel this article by specifying
]Cancel-Key: M1_b
Alice too can cancel this article by specifying
]Cancel-Key: M1_a
(unless Bob has stripped Alice's challenge before posting her submission)
and Alice's sysadmin can cancel it too if he added his own challenge (third).


Please observe that the computations required in the NNTP server to
authenticate the cancels using this protocol are trivial, and much less
demanding than a full PGP verification; nor is it necessary for the NNTP
server to know the poster's public key.

By the way, the venerable CancelMoose says in URL:
http://www.cm.org/about-cancels.html:

]About Cancels
]*************
]
]A number of people have asked about the relationship between this project
]and spam cancels. IMHO, the point is moot.
]
]I envision unauthenticated cancel messages will rapidly become obsolete,
]once people start posting menu driven cancelbots. If we want cancels back
]we'll have to authenticate them.
]
]Taneli Huuskonen first suggested this scheme to me, and I think it's an
]excellent idea.
]
]For every posted message there is a "Cancel-Key" which is the message-id of
]the message hashed with a secret password. The MD5 of the cancel-key is the
]"Cancel-Challenge" which is posted as a header in every post you make. To
]cancel that post, the cancel message must have a copy of the Cancel-Key in
]the headers. An admin can configure his news software to add another
]Cancel-Challenge to the post, if he/she wishes to retain the rights to
]cancel it. The only people this leaves out in the cold is the moderators--
]this does not allow them to protect their newsgroup-- perhaps a public key
]based system to "prove" moderation will prove necessary, but that will
]require some MAJOR reworkings of news...
]
]Email: moose@cm.org

Well, I heard a rumor that Ron Rivest's MD5 has been cracked, but
another hash function, such as SHA1, can be used instead.

As CM points out, this leaves out the case when someone posts an
"unauthorized" article in a moderated newsgroup, and the moderator
wishes to issue a cancel.

In my humble opinion, a sufficiently efficient protocol would be:

1. The moderator(s) previously make their public PGP key known to several
trusted despammers who issue NoCeMs for spam (such as the CancelMoose).

2. The trusted despammer(s) issue a NoCeM with a special type (unauthorized
post?), which will be processed by thousands of readers who trust them.

There's no need for a central authority keeping track of moderators or
despammers.

Re: Authenticated cancels and moderated newsgroups
#7762
Author: Mary Conner
Date: Mon, 20 May 1996 00:00
28 lines
1996 bytes
In article <4nqp9j$klf@cougar.vut.edu.au>,
David Gerard <gerdw@cougar.vut.edu.au> wrote:
>It probably won't arrive that far ahead.

Well, even if it arrives one post ahead, you still have to decide what
to do with it.  Various possibilities include ignoring it, entering
the Message-ID in the history file without verifying the hash, or
finding some way to have the hash(es) saved somewhere so that when
the post does arrive it can be verified.  I think some variant of the
last is best, but if someone's already done the deep thought about
this, I'd appreciate knowing before I waste a lot of time on it.

>From being on alt.religion.scientology (home of the original Cancelbunny),
>I used to think that authenticated cancels were a wonderful idea.

>However, from reading news.admin.net-abuse.misc, and finding out just how
>much spam actually goes on, I'm having second thoughts. In a BIG way.

Well, obviously, there would have to be some provisions made for those
who handle spam to continue their work.  If I end up being the one to
release it, authenticated cancels and a new method of dealing with all
kinds of net abuse will be released together.
-- 
Mary Conner
trif@serv.net

Re: Authenticated cancels and moderated newsgroups
#7766
Author: Dr. Dimitri Vulis
Date: Mon, 20 May 1996 00:00
40 lines
2497 bytes
Quoth trif@serv.net (Mary Conner):
>In article <B617ND43w165w@bwalk.dm.com>,
>Dr. Dimitri Vulis <dlv@bwalk.dm.com> wrote:
>>I guess it's time for Olaf to be reminded of the elegant scheme proposed
>>by Taneli Hujskonen and Benjamin Franz a while back, which does not
>>involve any (slow) public-key algorithms.
>
>I happy to note that someone has actually done the work for this.  I
>had come up with a similar scheme myself, but I'd prefer not to reinvent
>the wheel.

Glad to be of service. Should I set up a cron job to re-post this weekly,
so more admins will become aware that a good solution has already been
designed and just needs to be coded? (Seriously.)

BTW, Tom Fitzgerald pointed out a couple of little problems in the
writeup, which we then fixed.

>The only hole I see in this scheme is what happens if the cancel arrives
>ahead of the post it is to be cancelling?

I suppose, something similar to what happens when vanilla INN 1.4 gets
a cancel for an article that it hasn't received. (I understand there's a
patch that makes INN remember the message-id being cancelled and drop
this article if it comes in later, which is not compatible with the
paranoid setting (checking sender)). It can't cancel the article,
but it propagates the cancel. I guess with authentication it should
propagate the cancel only if it includes Cancel-Key:. It would be good
to figure out a way to keep it for a short while and cancel the article
if it does show up later.

>Mary Conner
>trif@serv.net

---

<a href="mailto:dlv@bwalk.dm.com">Dr. Dimitri Vulis</a>

Re: Authenticated cancels and moderated newsgroups
#7772
Author: Mary Conner
Date: Mon, 20 May 1996 00:00
18 lines
1458 bytes
In article <B617ND43w165w@bwalk.dm.com>,
Dr. Dimitri Vulis <dlv@bwalk.dm.com> wrote:
>I guess it's time for Olaf to be reminded of the elegant scheme proposed
>by Taneli Hujskonen and Benjamin Franz a while back, which does not
>involve any (slow) public-key algorithms.

I happy to note that someone has actually done the work for this.  I
had come up with a similar scheme myself, but I'd prefer not to reinvent
the wheel.

The only hole I see in this scheme is what happens if the cancel arrives
ahead of the post it is to be cancelling?
-- 
Mary Conner
trif@serv.net

Re: Authenticated cancels and moderated newsgroups
#7799
Author: kremžská HOŘČICE
Date: Tue, 21 May 1996 00:00
36 lines
2704 bytes
On 21 May 1996, David Gerard wrote:

> From being on alt.religion.scientology (home of the original Cancelbunny),
> I used to think that authenticated cancels were a wonderful idea.
> 
> However, from reading news.admin.net-abuse.misc, and finding out just how
> much spam actually goes on, I'm having second thoughts. In a BIG way.

    Due to the, um, nature of the way I get news, it's pretty obvious when
a spam rolls in, when hundreds of Message-IDs from the same host appear in
the same log message.  Happens frightfully often too.  Soon after, a
similarly appearing bunch of cancels rolls in, but sometimes I see only
the latter, several times an hour.  Don't think I want to aim for being a
Site of Virtue.  Hell, if I don't have the bandwidth to bring in the pink 
smut, I sure don't want to waste it on the pink spam.  Anyway,
control.cancel is one of my favorite groups.

    The spam-cancellers have provided means by which their advisory
cancels can be ignored.  But suppose one wants to do the opposite -- to
trust spam cancels (perhaps implying certification), but not others, or
not those to particular groups, or from particular sites, or particular
poodles at particular sites, or however.  Is there a simple way of doing
this (probably, but I'm lazy), or does it require extensive hacks?

    If anything, I'd be in favor of the spam cancellers certifying their
messages to avoid crafty content-censors from faking such a ``trusted''
cancel message as appearing to be a welcome spam cancel, in the manner of
Dave Lawrence's use of PGP.  The battle is only beginning, again.


Barry Bouwsma  <barryb@tuke.sk>
SP-wannabee


Re: Authenticated cancels and moderated newsgroups
#7808
Author: kEvin
Date: Tue, 21 May 1996 00:00
23 lines
1747 bytes
In article <B617ND43w165w@bwalk.dm.com>,
Dr. Dimitri Vulis <dlv@bwalk.dm.com> wrote:

[ method of verifying cancels using one way hashes - feasible AFAIK ]

What happens when someone forges a racist message in my name and
using maximal crossposting distributes it a large number of newsgroups
with a BI of 19 ? Since I don't know the one-way hash that the forger
used, I can't cancel the message myself.

I think forging of messages is more of a problem than forging of
cancels, and while I like the idea of tightening up cancel verification,
removing a forgery victim's ability to cancel the crap posted in
his name isn't a step forward. Unless forgery gets a lot harder
to do, I don't think this is a good idea, and if forgery gets a lot
harder to do, forged cancels will be harder as well.


kEvin
elvis@netcom.com

Re: Authenticated cancels and moderated newsgroups
#7809
Author: Dr. Dimitri Vulis
Date: Tue, 21 May 1996 00:00
65 lines
3641 bytes
In article <4nre26$a9g@imp.serv.net>, trif@serv.net (Mary Conner) wrote:
>In article <4nqp9j$klf@cougar.vut.edu.au>,
>David Gerard <gerdw@cougar.vut.edu.au> wrote:
>>It probably won't arrive that far ahead.
>
>Well, even if it arrives one post ahead, you still have to decide what
>to do with it.  Various possibilities include ignoring it, entering
>the Message-ID in the history file without verifying the hash, or
>finding some way to have the hash(es) saved somewhere so that when
>the post does arrive it can be verified.  I think some variant of the
>last is best, but if someone's already done the deep thought about
>this, I'd appreciate knowing before I waste a lot of time on it.

I see at least two choices:

1. Do what RFC 1036 says and don't propagate the cancel if you don't
currently have the article it's for. (There's valid bandwidth-saving
reasoning behind this rule.)

2. If the cancel has Cancel-Key:, but your site doesn't have the
original article, then put the article in some sort of a holding area.
Periodicaly (ever few hours) pretend that the cancels in the holding
area have just arrived and look for their target articles again.
Expire the holding area after a day or so.

This would not be hard to program for INN. This would eat up a
lot of resources with the current torrent of cancels, but would
not be expensive for only the authenticated authors' cancels.

But what happens if an incoming article has a "Supersedes: M", not
"Control: cancel M"?  I suggest the following:

1. Has Cancel-Key? If not, drop the article and don't propagate it.
They've been used for sneaky hard-to-catch cancellations too many times.

2. Is the article being superseded at our site? If not, post the
incoming article and propagate it.

3. Does the Cancel-Key match one of the Cancel-Lock's? If not, drop the
incoming article and don't propagate it.

4. (Matches one of the locks.) Delete the old article, post and propagate
the incoming one.

>>From being on alt.religion.scientology (home of the original Cancelbunny),
>>I used to think that authenticated cancels were a wonderful idea.
>
>>However, from reading news.admin.net-abuse.misc, and finding out just how
>>much spam actually goes on, I'm having second thoughts. In a BIG way.
>
>Well, obviously, there would have to be some provisions made for those
>who handle spam to continue their work.  If I end up being the one to
>release it, authenticated cancels and a new method of dealing with all
>kinds of net abuse will be released together.

NoCeM is here. It's better than 3rd party cancels. Let's all switch to it.

If you end up coding this for some common newsreaders and INN, your
efforts will be deservedly appreciated by hundreds of thousands of people.

>Mary Conner
>trif@serv.net

Re: Authenticated cancels and moderated newsgroups
#7811
Author: Ed Falk
Date: Tue, 21 May 1996 00:00
61 lines
3120 bytes
In article <B617ND43w165w@bwalk.dm.com>,
Dr. Dimitri Vulis <dlv@bwalk.dm.com> wrote:
>
>I guess it's time for Olaf to be reminded of the elegant scheme proposed
>by Taneli Hujskonen and Benjamin Franz a while back, which does not
>involve any (slow) public-key algorithms.
>
>	[excellent & elegant algorithm deleted]
>
> ...
>Each party that wants to be able to authorize cancels later add their
>own separate Cancel-lock: headers, using their own passphrases. So, if
>both the author and the local news administrator wish to be able to
>cancel the article, it'll have two headers:

A sneaky admin could add their own header to every message that passes
through their site, giving them the ability to cancel any downstream
message they please.  Not a big flaw, but an interesting point.


>Whenever news server software sees an article with either "Control:
>cancel <X>" or "Supersedes: <X>", it should do the following:
>1. If the cancel doesn't contain a "Cancel-key: M1" header, drop it
>   (don't propagate it, and don't process it)

Better to do this only for messages that have a Cancel-lock: header,
otherwise messages from older news software would be uncancellable.


Other flaws:

o Alice forges a racist troll under Bob's name, and posts it to hell
  and back.  Bob's reputation is trashed unless he can convince a
  trusted canceller to post a NoCeM.

o Bob forges an Approval: header for an article he posts to Alice's
  moderated group.  Again, alice must rely on a trusted canceller.

    Fixes: if we're going to add verification to news readers and
    forwarding software, let's add these features too:

    For each moderated newsgroup, publish an authentication hash for
    each moderator (like a public key?).  I'll have to think about how
    this might be done without expensive public-key systems.


>Well, I heard a rumor that Ron Rivest's MD5 has been cracked, but
>another hash function, such as SHA1, can be used instead.

I would very much like to hear more about this.



-- 
	-ed falk, sun microsystems -- falk@sun.com
	"What are politicians going to tell people when the
	Constitution is gone and we still have a drug problem?"
			-- William Simpson, A.C.L.U.

Re: Authenticated cancels and moderated newsgroups
#7819
Author: David Gerard
Date: Tue, 21 May 1996 00:00
34 lines
2085 bytes
On 20 May 1996 10:25:59 -0700, Mary Conner (trif@serv.net) wrote:
:In article <B617ND43w165w@bwalk.dm.com>,
:Dr. Dimitri Vulis <dlv@bwalk.dm.com> wrote:

:>I guess it's time for Olaf to be reminded of the elegant scheme proposed
:>by Taneli Hujskonen and Benjamin Franz a while back, which does not
:>involve any (slow) public-key algorithms.

:I happy to note that someone has actually done the work for this.  I
:had come up with a similar scheme myself, but I'd prefer not to reinvent
:the wheel.
:The only hole I see in this scheme is what happens if the cancel arrives
:ahead of the post it is to be cancelling?

It probably won't arrive that far ahead.



From being on alt.religion.scientology (home of the original Cancelbunny),
I used to think that authenticated cancels were a wonderful idea.

However, from reading news.admin.net-abuse.misc, and finding out just how
much spam actually goes on, I'm having second thoughts. In a BIG way.



--
Rev Dr David Gerard KoX SP4.04 kOh; VUT SRC Media Officer; +61 (3) 9688 4071
July 5, 1998, 7 AM. Saucers. End of the world. Your US$30 is your trip ticket.
gerdw@cougar.vut.edu.au      fun@suburbia.net      http://www.vut.edu.au/~src/
Please email ALL followups or I'll probably never see them -- *BAD* newsfeed.

Re: Authenticated cancels and moderated newsgroups
#7854
Author: bill davidsen
Date: Wed, 22 May 1996 00:00
34 lines
2419 bytes
In article <4ntsas$i7v@paperboy.osf.org>, Rich Salz <rsalz@osf.org> wrote:
| In <elvisDrqB6D.A3K@netcom.com> elvis@netcom.com (kEvin) writes:
| > Unless forgery gets a lot harder to do
| 
| Forgery can be made VERY hard to do:  Use PGP or similar and sign all
| your articles.

Until message passing and reading software commonly verifies such
sigs and rejects invalid sigs, I can pull a key out of my... that is
out of the air, use it, and unless you are VERY motivated to get my
key and check it, you will assume it's from me.

Moreover, I can forge a message from me, using another key, and
everyone will think I didn't post it, when in fact I did. So the
technology is there, but the infrastructure isn't.

I would certainly pay for a newsfeed which would do the checking, be
a key repository, etc, and add/set a header to the message which
said validated, unchecked, or forgery. And then digitally signed it.
While I wouldn't keep the keys for a million posters online, I would
keep the keys for a few dozen validating sites.

Note that until "one person one key" is enforced, all we can say is
that each account will have a key, and people who want to have an
alias certainly will have lots of them, which solves the forgery
problem but not the "I never want to see a post from XXX
regardless" problem.
--
	Bill Davidsen (davidsen@tmr.com)
Davidsen's first rule of system administration:
  He learns to swim fastest who is thrown in the deepest water.

Re: Authenticated cancels and moderated newsgroups
#7856
Author: Evan Kirshenbaum
Date: Wed, 22 May 1996 00:00
50 lines
3388 bytes
In article <B617ND43w165w@bwalk.dm.com>,
Dr. Dimitri Vulis <dlv@bwalk.dm.com> wrote:
>
>When an article is posted, two quantities are computed by the posting program:
>M1 = H(article body + newsgroups + message-id + passphrase) and
>M2 = H(M1  + message-id). (+ denotes concatenation.)
>The posted article contains the header "Cancel-lock: M2".
>(Taneli referred to Cancel-Challenge:, but I like Cancel-lock: better:-)

Since all of the information except for the pass phrase is externally
apparent, wouldn't this lead to dictionary attacks on famous users or
sites (assuming that the passphrase is changed infrequently)?  If the
pass phrase is compromised, the user's entire body of postings is
subject to (automaticaly approved) cancellation. Of course, you can
tell people to use good passphrases, but that tends not to work as
well as one might like.

It would seem to be more secure (and little more overhead) to have the
passphrase generated randomly each time and a table mapping message-id
to passphrase kept on the local system.  This table would only get
large for individuals or sites which generate thousands of messages,
but these would be the people who would seem to be most likely to be
attacked, and anyway, the system could be configured to only keep the
keys for the n most recent posts.

I'd probably go a little further here and say that M1 should only be
the randomly generated key.  This ensures that a server which changes
the article (folding long lines, truncating newsgroups line, etc.)
cannot render an article uncancelable.  Since the message id is used
in computing M2, it would seem to be proof against replays.

You still have the problem that any site that the message passes
through can add its own lock, and this doesn't solve the problem of
cancelling forgeries, forged approvals in moderated groups, spam or
binaries, but something akin to NoCeM would seem to be the best idea
for these anyway. 

----
Evan Kirshenbaum                       +------------------------------------
    HP Laboratories                    |There are just two rules of
    1501 Page Mill Road, Building 1U   |governance in a free society: Mind
    Palo Alto, CA  94304               |your own business. Keep your hands
                                       |to yourself.
    kirshenbaum@hpl.hp.com             |             P.J. O'Rourke
    (415)857-7572

    http://www.hpl.hp.com/personal/Evan_Kirshenbaum/

Re: Authenticated cancels and moderated newsgroups
#7859
Author: Rich Salz
Date: Wed, 22 May 1996 00:00
9 lines
1046 bytes
In <elvisDrqB6D.A3K@netcom.com> elvis@netcom.com (kEvin) writes:
> Unless forgery gets a lot harder to do

Forgery can be made VERY hard to do:  Use PGP or similar and sign all
your articles.
	/r$

Re: Authenticated cancels and moderated newsgroups
#7877
Author: Dr. Dimitri Vulis
Date: Wed, 22 May 1996 00:00
87 lines
4805 bytes
Ine article <DrsBCG.4zw@hplabsz.hpl.hp.com>, evan@hpl.hp.com (Evan Kirshenbaum) writes:
>In article <B617ND43w165w@bwalk.dm.com>,
>Dr. Dimitri Vulis <dlv@bwalk.dm.com> wrote:
>>
>>When an article is posted, two quantities are computed by the posting program:
>>M1 = H(article body + newsgroups + message-id + passphrase) and
>>M2 = H(M1  + message-id). (+ denotes concatenation.)
>>The posted article contains the header "Cancel-lock: M2".
>>(Taneli referred to Cancel-Challenge:, but I like Cancel-lock: better:-)
>
>Since all of the information except for the pass phrase is externally
>apparent, wouldn't this lead to dictionary attacks on famous users or
>sites (assuming that the passphrase is changed infrequently)?  If the

It definitely would, although brute-searching a 40-byte passphrase
space would be pretty expensive.

>pass phrase is compromised, the user's entire body of postings is
>subject to (automaticaly approved) cancellation. Of course, you can

Rather, the entire body of postings with the compromised passphrase,
which may be all postings from the given site, it it's the server's
passphrase that's been picked.

I also suspect that one can find P' that will give the same hash as P
for some articles, but not for others. (H is not none-to-one.)

>tell people to use good passphrases, but that tends not to work as
>well as one might like.

I suppose if/when this proposal gets implemented in newsreaders and servers,
it's important to use the same techniques for enforcing good passphrase
selection that are used for logon passwords, such as:

* no less than a certain number of bytes

* must contain some digits and punctuation marks

* must be changed periodically (or else it can't be used to post)

Note also that an article without the Cancel-Lock: header would be
uncancellable. I expect a number of people (like myself) to choose
to make their articles uncancellable, unless they explicitly intend
to cancel them before expiration (as in the for-sale ad example).

...
>You still have the problem that any site that the message passes
>through can add its own lock, and this doesn't solve the problem of
>cancelling forgeries, forged approvals in moderated groups, spam or
>binaries, but something akin to NoCeM would seem to be the best idea
>for these anyway.

1. Yes, a site can add their own locks, and sometimes it may be
acceptable. The moment it becomes a problem for the downstream sites,
they can get their feed elsewhere.

2. Both I and my wife have been forged many times in vicious ways.
I don't believe that cancelling forgeries does any good, except
making the victim feel better.

3. I just though of another note for moderated newsgroups, which I
should have remembered sooner. Right now, there's a service called
PGPMoose used by several moderated newsgroups (e.g., misc.legal.moderated
- please look at it for header examples). Here's how it currently works:

First, the moderators let their public keys known to the maintainer of
the PGPmoose. (Note that we needn't assume that there's one PGPmoose
deamon, nor that all maintainers have the same list of moderators.)

During the newsgroup operation, whenever the moderators approve and post
an article, they put a special kind of PGP signature as one of its
headers.

The PGPmoose deamon scans the moderated newsgroups on its list. Whenever
it sees a new article, it checks if it includes the special header with
a PGP signature that it can verify. If it can't verify the signature,
then the deamon issues a cancel for the article.

This is used even with one robomoderated newsgroup, whose robot puts
its PGP key in the headers.

The only thing to change it to have the PGPMoose deamon issue NoCeM's
instead of cancels. If enough people honor the PGPMooses' NoCeM's,
the "unauthorized" articles won't be seen.

Re: Authenticated cancels and moderated newsgroups
#7903
Author: C. Ewen MacMillan
Date: Thu, 23 May 1996 00:00
56 lines
3154 bytes
In article <4nre26$a9g@imp.serv.net>, Mary Conner <trif@serv.net> wrote:
>In article <4nqp9j$klf@cougar.vut.edu.au>,
>David Gerard <gerdw@cougar.vut.edu.au> wrote:
>>It probably won't arrive that far ahead.
>
>Well, even if it arrives one post ahead, you still have to decide what
>to do with it.  Various possibilities include ignoring it, entering
>the Message-ID in the history file without verifying the hash, or
>finding some way to have the hash(es) saved somewhere so that when
>the post does arrive it can be verified.  I think some variant of the
>last is best, but if someone's already done the deep thought about
>this, I'd appreciate knowing before I waste a lot of time on it.
>

 But neither deals really with the problem of forgery - I have been
 forged personally two times this year - should I not be able to 
 cancel things posted in my own name? <rhetorically> This was intended
 to be one of the most common uses of cancel.


>>From being on alt.religion.scientology (home of the original Cancelbunny),
>>I used to think that authenticated cancels were a wonderful idea.
>
>>However, from reading news.admin.net-abuse.misc, and finding out just how
>>much spam actually goes on, I'm having second thoughts. In a BIG way.
>
>Well, obviously, there would have to be some provisions made for those
>who handle spam to continue their work.  If I end up being the one to
>release it, authenticated cancels and a new method of dealing with all
>kinds of net abuse will be released together.
>-- 
>Mary Conner
>trif@serv.net


 But, as much as I respect the despammers doesn't any schema which
 makes a special provision for despamming put us in the position of
 appointing editors? Again, I am being somewhat rhetorical, but if
 I may provide a what-if. Some of us recall the days before 
 Gruboursy, point being - everything changes. People change without
 warning, provocation, or sensibility. No one can be trusted.

 I know that you are not meaning what the above paragraph suggests,
 so I am all ears as to what you might propose, if anything as
 a complete solution to both spamming/email-spamming and unauthorized
 cancellations.
 
 

-- 
C. Ewen MacMillan         Vox  : (312)850-0181
Chief of Operations,      Email: ilixi@tezcat.net
Tezcatlipoca, Inc.        Whois: CEM

Re: Authenticated cancels and moderated newsgroups
#7906
Author: C. Ewen MacMillan
Date: Thu, 23 May 1996 00:00
45 lines
2846 bytes
In article <elvisDrqB6D.A3K@netcom.com>, kEvin <elvis@netcom.com> wrote:
>In article <B617ND43w165w@bwalk.dm.com>,
>Dr. Dimitri Vulis <dlv@bwalk.dm.com> wrote:
>
>[ method of verifying cancels using one way hashes - feasible AFAIK ]
>
>What happens when someone forges a racist message in my name and
>using maximal crossposting distributes it a large number of newsgroups
>with a BI of 19 ? Since I don't know the one-way hash that the forger
>used, I can't cancel the message myself.
>
>I think forging of messages is more of a problem than forging of
>cancels, and while I like the idea of tightening up cancel verification,
>removing a forgery victim's ability to cancel the crap posted in
>his name isn't a step forward. Unless forgery gets a lot harder
>to do, I don't think this is a good idea, and if forgery gets a lot
>harder to do, forged cancels will be harder as well.
>
>

 Agreed - this is probably the (aside from the hopeless task of
 educating millions of individuals) the principal issue.

 I have a client who suffers routine forgeries from a complete
 lulu-nut-case. Additionally, at least three other individuals who
 post to the same newsgroup as my client (the newsgroup relates
 to an activity completely within both the bounds of US law, and 
 reasonable acceptable behavior in the US, smoking tobacco) have 
 been the victims of forgeries and cancelations.

 No schema which ignores the ease of forgery will be acceptable - in 
 fact, I will be bound by honor and client relations to oppose such 
 a schema by any means available to me. 

 It must always be easier to cancel an article posted as forgery
 than to create a forgery which cannot be cancelled, or else we
 have thrown the very (individual) nature of the Usenet out the window.

-- 
C. Ewen MacMillan         Vox  : (312)850-0181
Chief of Operations,      Email: ilixi@tezcat.net
Tezcatlipoca, Inc.        Whois: CEM

Re: Authenticated cancels and moderated newsgroups
#7908
Author: Dr. Dimitri Vulis
Date: Thu, 23 May 1996 00:00
119 lines
7510 bytes
(Newsgroups restored. If and when news.software.misc is created, this thread
will belong there. Until then it needs to be cross-posted to hell and back. :-)

In article <4o0llt$175@fugue.clari.net>, brad@clarinet.com (Brad Templeton) writes:
>When I first proposed this in the 80s I ended up recommending against it
>because, as I predicted, we would some day need cancelbots and authenticated
>control messages.   That's certainly become true.

That's relative. We could have used them back then. We could be without
them now. We would have been better off with them then, and we'd be
much much better off with them now.

>And since we need these things, there is no way to do it without public
>key digital signature.  Private key cryptosystems can only be used to
>verify cancels, and we have a much bigger problem with bad messages we
>want to cancel than with bad cancels for valid messages -- though of course
>the latter problem is invisible.
>
>So let's not go halfway.  Go all the way to digital signature.  PGP is
>probably not suitable since all commercial users would have to buy the
>ViaCrypt version, possibly the NIST algorithm or some other non-encrypting
>(sign-only) system which can be used.  Frankly, we don't care a lot about
>how super-strong it is.  If somebody wants to brute-force break shortish
>keys in order to forge or cancel messages after a week of processing,
>so be it.

If we had used digital signatures to identify both the poster of the
original message, and the poster of the cancel, you still may not know
whether the cancel is authorized. A person other than the original
poster may be authorized to cancel his articles. Let me illustrate:

Suppose "Andrey" posts something to Usenet from this domain, and suppose
I decide to cancel it. Suppose "Andrey" signs his post and I sign my
cancel. Where in the signatures are we supposed to indicate that I'm
his "local news admin" and am authorized to cancel his posts? Should
there be a database available to every news server identifying "Andrey"
as my user and authorizing me to cancel his postings?

Identifying posters has little to do with authenticating cancels.

>Of course the problem with this (or even with PGP) is you certainly can't
>have every site validating every message.  The CPU requirements are too high,
>and news eats enough already.

This will probably be the case 'forever'. My official Ph.D.-in-crypto
expert opinion is that any public-key-based digital signature scheme
that can be verified fast enough to make it viable to verify many Usenet
article at many sites would therefore be so vulnerable to brute-forcing
as to make the signatures almost meaningless.

>So the answer is to distribute the verification around the net.  Get N sites
>to verify messages.   Each site will take a hash of the message-id to decide
>if it is to verify, so that any given message is only verified by M of the
>sites with M sufficiently small that each site doesn't have a heavy workload.
>
>If it sees a message that is bad, it sends out a cancel, which it signs.
>Every site has to verify these cancels, of course, but they should be few
>enough -- in fact almost non-existent -- that this is no burden.

Let's consider how the various authenticated cancels and authenticated
moderator approval schemes that various folks have been proposing might
work with in the ClariNet context. (I don't have clari.* here, so I
looked at another site which has it.)

1. ClariNet posts an article to clari.* and later issues a cancel for
it. This will continue to work fine, except if an authenticated cancels
scheme like the Hujskonen one gets widely adapted, Brad will have to
modify his software to add a Cancel-Lock: header to his postings and a
Cancel-Key: header to his cancels; otherwise the cancels will have less
and less effect. (Note that whatever scheme Brad adapts will probably
become the de facto standard for the rest of us. He could endorse the
scheme by adding these headers to clari.* traffic.)

2. A non-ClariNet person issues a cancel for a clari.* article. In the
present system, the cancel is honored by most Usenet sites, the article
disappears, and no one probably notices. (E.g., a company might want to
cancel some negative report about itself.) The cancel would not be
honored by sites that adapt the authenticated cancels scheme.

3. Someone reposts a clari.* article to another newsgroup. Among other
things, Brad can (and should) issue a NoCeM of type 'copyright-violation'.

4. A non-ClariNet person (cross-)posts an unauthorized article to on of
clari.* newsgroups, adding the "Approved:" header. Brad is welcome to
issue a cancel, but it won't have much effect under the authenticated
cancels scheme. What Brads needs to do (and ought to do now, since the
technology is available) is to start putting little PGP signatures in
the headers of all of his clari.* articles. One or more deamons (known
popularly as PGPMoose) would scan clari.* for all new articles and
verify these PGP signatures. (You might have to pay them e-cash to do
that :-) Whenever it sees an articles without the signature, it issues a
NoCeM saying 'unauthorized posting in a moderated newsgroup'. Most
readers will probably honor the NoCeM. Some sites may even delete the
unauthorized article from their spools. (Check out misc.legal.moderated
as an example of a moderated newsgroup that does it.)

5. Someone forges an article is Brad's name on alt.sex. The way these
can be combatted, in my opinion, is to set up PGPMoose-like deamons that
will scan the entire newsfeed for articles that appear to be from
certain people (who requested this service, and might even be paying for
it), to verify their PGP signatures (which they surely use if they're
concerned abotu forgery) and to issue NoCeM's of the type 'forgery'
whenever they see what looks like one. (A site admin might even give
a list of valid userids to one of such deamons and say that anything
posted from an address not on this list is to be treated as forgery.)

6. Some evildoer forges Brad (or one of his appointees) and posts
a newgroup or rmgroup control article for a newsgroup in the clari.*
hierarchy. (I don't see this happening because everybody likes Brad,
but things can happen.) Brad should consider PGP-signing his newgroup/
rmgroup control articles now, the way tale (spit) does.

---

<a href="mailto:dlv@bwalk.dm.com">Dr. Dimitri Vulis</a>
Brighton Beach Boardwalk BBS, Forest Hills, N.Y.: +1-718-261-2013, 14.4Kbps

Re: Authenticated cancels and moderated newsgroups
#7914
Author: C. Ewen MacMillan
Date: Thu, 23 May 1996 00:00
243 lines
11234 bytes
In article <B617ND43w165w@bwalk.dm.com>,
Dr. Dimitri Vulis <dlv@bwalk.dm.com> wrote:
>This spake Olaf Titz <olaf@bigred.inka.de>:
>>> previous proposals for how to cryptographically checksum messages to
>>> allow them to be cancelled only by their authors have avoided any sort
>>> of public-key technology.  There are good reasons for doing that, e.g.,
>>> CPU intensity and patent issues.  Therefore, they've assumed that a key
>>> is used to sign the original article, and then the same key is used in
>>> some way to sign the cancel message and prove that it was sent by the
>>> same person.  However, my item (2) above and everything after it assume
>>> that there's some sort of public-key technology being used, such that
>>
>>This can only be done with asymmetric (i.e. public key) signing
>>algorithms. The biggest problem with this is the CPU usage, especially
>>for cancels. Considering how many cancels come in each day on my
>>machine and how long PGP takes to verify just one signature, it simply
>>can't be done with PGP. I see no way we get authenticated control
>>messages unless we devise a much faster public key algorithm. Sad but
>>true.
>
>There seems to be a popular misconception that authenticated cancels must
>involve some sophisticated public-key cryptography. This just isn't true!
>
>I guess it's time for Olaf to be reminded of the elegant scheme proposed
>by Taneli Hujskonen and Benjamin Franz a while back, which does not
>involve any (slow) public-key algorithms.
>
>Let H denote a one-way hash function (also known as message digest),
>such as SHA1 or Snerfu. Efficient source code to compute them is readily
>available and not subject to export restrictions, unlike PGP. Such
>functions have the property that's it's easy (for a computer) to compute
>M = H(N), but, for a given M, it's hard to find N such that M = H(N).
>
>In other words, if you're presented with M, and later with N such that M
>= H(N), then it's very likely that you knew it in advance. This trick
>isn't new. This is identical to how Unix[tm] stores encrypted passwords
>in /etc/passwd and verifies them.
>
>
>If the poster intends to extercise his right (under RFC 1036) to cancel
>an article, he needs to choose a secret passphrase that'll be required
>to cancel it later. However the passphrase will not be revealed by the
>cancel and can be reused. With user-friendly software, the poster might
>store the passphrase in a profile and use the same passphrase for all
>articles, or change it for every message.
>
>(An example of an article which the poster might wish to cancel later
>would be a 'Car for sale' ad posted into some local.forsale newsgroup.)
>
>When an article is posted, two quantities are computed by the posting program:
>M1 = H(article body + newsgroups + message-id + passphrase) and
>M2 = H(M1  + message-id). (+ denotes concatenation.)
>The posted article contains the header "Cancel-lock: M2".
>(Taneli referred to Cancel-Challenge:, but I like Cancel-lock: better:-)
>
>Each party that wants to be able to authorize cancels later add their
>own separate Cancel-lock: headers, using their own passphrases. So, if
>both the author and the local news administrator wish to be able to
>cancel the article, it'll have two headers:
>
>Cancel-lock: M2 ;author
>Cancel-lock: M2' ;news admin
>
>The above requires changes to the newsreader, assuming the posting
>software generates its own message-id, as it should.
>
>Likewise, when the author or the local news admin asks the newsreader to
>to cancel/supersede a Usenet article with message-id X, he'll be asked
>to supply his passphrase. The posting software computes
>
>M1 = H(X's body + newsgroups + X's message-id + passphrase)
>
>once again and adds the "Cancel-key: M1" header to the article
>containing "Control: cancel <X>" or "Supersedes: <X>" that's being
>posted. (If there are multiple Cancel-Locks in the article X, only one
>of them needs to be matched, as we'll see below.)
>
>
>This is what needs to be done with the newsreader; and now I'll describe
>how INN or a similar NNTP server needs to be patched to authenticate
>cancels/supersedes:
>
>Whenever news server software sees an article with either "Control:
>cancel <X>" or "Supersedes: <X>", it should do the following:
>1. If the cancel doesn't contain a "Cancel-key: M1" header, drop it
>   (don't propagate it, and don't process it)
>2. Else compute MX = H(M1 + message-id).
>3. Retrieve the original article <X> and looks for the "Cancel-lock: M2"
>   headers in it.
>4. If MX matches one of the M2 in the article, then cancel it and
>   propagate the control article.
>5. If none is found or none is matched, then drop the cancel, don't
>   process it, and don't propagate it.
>
>
>Note that it's computationally very hard to find M1 such that
>H(M1+passphrase) = one of the M2's. Note also that the passphrase
>is not revealed. This Cancel-Key works only for this Message-ID.
>It doesn't enable the verifier to forge a cancel for another article
>with a different Message-ID, even if one of its Cancel-Lock:'s uses
>the same passphrase.
>
>Here are a couple of examples:
>
>Scenario 1.
>
>Alice posts an article from a computer owned by Bob, an Internet
>provider. Bob wants to reserve the right to cancel Alice's account and
>Alice's Usenet postings without Alice's permission if Alice misbehaves.
>
>Alice posts:
>]From: alice@bob's.box
>]Newsgroups: alt.sex
>]Subject: Sex for recreation, not procreation, is sinful
>]Message-id: X (123@bob's.box)
>]Cancel-Lock: M2_a
>
>where M2_a is the one-way H(X + M1_a), and M1_a is H of the article and of
>Alice's secret passphrase, as described above.
>
>Bob, being the sysadmin and the owner of his box, configures his NNTP
>server to add automatically a second challege, in addition to Alice's:
>
>]Cancel-Lock: M2_b
>
>where M2_b is the one-way H(X + M1_b), and M1_b is H of Alice's article and of
>_Bob's secret passphrase (known to Bob's NNTP server).
>
>Bob asks Alice nicely to cancel the article, since such articles are not
>appropriate on alt.sex. Alice may comply and issue a cancel with the header
>
>]Cancel-Key: M1_a
>
>which will be honored. But if Alice refuses, Bob can issue a cancel/supersede
>with the header:
>
>]Cancel-Key: M1_b
>
>which should likewise be honored because H(X + M1_b) matches one of the two
>challenges in the posted article.
>
>Note 1: If Alice doesn't add a Cancel-Lock, and Bob does, then Alice won't be
>able to cancel her own article.
>
>Note 2: It may be a good idea to put comments on the challenges:
>
>]From: alice@bob's.box
>]Newsgroups: alt.sex
>]Subject: Sex for recreation, not procreation, is sinful
>]Message-id: X
>]Cancel-Lock: M2_a ; alice@bob's.box
>]Cancel-Lock: M2_b ; root@bob's.box
>
>
>Scenario 2.
>
>Alice submits an article to Bob, a moderator of a moderated newsgroup:
>
>]Newsgroups: rec.food.cannibalism
>]Subject: How to cook elementary school children
>]Message-id: X
>]Cancel-Lock: M2_a
>
>where M2_a again is H(X + M1_a), and M1_a is H of the article and of
>Alice's secret passphrase.
>
>Bob, being either the sole moderator, or a team member, adds an approval
>and a second challege, in addition to Alice's:
>
>]Approved: Bob
>]Cancel-Lock: M2_b
>
>where M2_b is the one-way H(X + M1_b), and M1_b is H of Alice's article
>and of a secret passphrase used by Bob or by the entire moderating team.
>
>Later Bob can cancel this article by specifying
>]Cancel-Key: M1_b
>Alice too can cancel this article by specifying
>]Cancel-Key: M1_a
>(unless Bob has stripped Alice's challenge before posting her submission)
>and Alice's sysadmin can cancel it too if he added his own challenge (third).
>
>
>Please observe that the computations required in the NNTP server to
>authenticate the cancels using this protocol are trivial, and much less
>demanding than a full PGP verification; nor is it necessary for the NNTP
>server to know the poster's public key.
>
>By the way, the venerable CancelMoose says in URL:
>http://www.cm.org/about-cancels.html:
>
>]About Cancels
>]*************
>]
>]A number of people have asked about the relationship between this project
>]and spam cancels. IMHO, the point is moot.
>]
>]I envision unauthenticated cancel messages will rapidly become obsolete,
>]once people start posting menu driven cancelbots. If we want cancels back
>]we'll have to authenticate them.
>]
>]Taneli Huuskonen first suggested this scheme to me, and I think it's an
>]excellent idea.
>]
>]For every posted message there is a "Cancel-Key" which is the message-id of
>]the message hashed with a secret password. The MD5 of the cancel-key is the
>]"Cancel-Challenge" which is posted as a header in every post you make. To
>]cancel that post, the cancel message must have a copy of the Cancel-Key in
>]the headers. An admin can configure his news software to add another
>]Cancel-Challenge to the post, if he/she wishes to retain the rights to
>]cancel it. The only people this leaves out in the cold is the moderators--
>]this does not allow them to protect their newsgroup-- perhaps a public key
>]based system to "prove" moderation will prove necessary, but that will
>]require some MAJOR reworkings of news...
>]
>]Email: moose@cm.org
>
>Well, I heard a rumor that Ron Rivest's MD5 has been cracked, but
>another hash function, such as SHA1, can be used instead.
>
>As CM points out, this leaves out the case when someone posts an
>"unauthorized" article in a moderated newsgroup, and the moderator
>wishes to issue a cancel.
>
>In my humble opinion, a sufficiently efficient protocol would be:
>
>1. The moderator(s) previously make their public PGP key known to several
>trusted despammers who issue NoCeMs for spam (such as the CancelMoose).
>
>2. The trusted despammer(s) issue a NoCeM with a special type (unauthorized
>post?), which will be processed by thousands of readers who trust them.
>
>There's no need for a central authority keeping track of moderators or
>despammers.


-- 
C. Ewen MacMillan         Vox  : (312)850-0181
Chief of Operations,      Email: ilixi@tezcat.net
Tezcatlipoca, Inc.        Whois: CEM

Re: Authenticated cancels and moderated newsgroups
#7918
Author: Ed Falk
Date: Thu, 23 May 1996 00:00
28 lines
1850 bytes
In article <4ntsas$i7v@paperboy.osf.org>, Rich Salz <rsalz@osf.org> wrote:
>In <elvisDrqB6D.A3K@netcom.com> elvis@netcom.com (kEvin) writes:
>> Unless forgery gets a lot harder to do
>
>Forgery can be made VERY hard to do:  Use PGP or similar and sign all
>your articles.
>	/r$

PGP is enough of a nuisance to use that most people don't bother for
most posts.  I notice that you didn't sign your post.  I'm not signing
this one.

Until and if pgp-signing is universal, unsigned posts won't be
regarded as suspicious.

I think it would be easier to have authenticated newsfeeds all around
than to have signed posts all around.  Closing down the open NNTP
servers would go a long way.  Teaching news software to insert
valid "Sender:" lines would go even further.

-- 
	-ed falk, sun microsystems -- falk@sun.com
	"What are politicians going to tell people when the
	Constitution is gone and we still have a drug problem?"
			-- William Simpson, A.C.L.U.

Re: Authenticated cancels and moderated newsgroups
#7924
Author: Tim Pierce
Date: Thu, 23 May 1996 00:00
19 lines
1849 bytes
In article <4o1g8r$51s@xipe.tezcat.com>,
C. Ewen MacMillan <ilixi@tezcat.com> wrote:

> I have thought of making it a requirement (as an experiment) that all
> postings leaving my site must bear a PGP signature, but the client
> side software is not yet up to the task. The majority of people can
> barely manage to use Netscape. Is it reasonable for us to expect them
> to use something as complex as PGP? 

Regardless, it is not reasonable to require the use of PGP when it
its implementation in Usenet is so atrocious.

-- 
By sending unsolicited commercially-oriented e-mail to this address, the 
sender agrees to pay a $100 flat fee to the recipient for proofreading 
services.

Re: Authenticated cancels and moderated newsgroups
#7926
Author: C. Ewen MacMillan
Date: Thu, 23 May 1996 00:00
36 lines
2242 bytes
In article <4ntsas$i7v@paperboy.osf.org>, Rich Salz <rsalz@osf.org> wrote:
>In <elvisDrqB6D.A3K@netcom.com> elvis@netcom.com (kEvin) writes:
>> Unless forgery gets a lot harder to do
>
>Forgery can be made VERY hard to do:  Use PGP or similar and sign all
>your articles.
>	/r$

 With all (voluminous) respect intended, you are assuming clue
 on the part of the reader.

 I am not suggesting bowing to the lowest common denominator, but
 reality is more horrifying than even we can imagine.

 I don't bother signing my messages any longer, as it has been demonstrated
 to me on at least one occasion that the vast majority of individuals will
 not actually verify a PGP signature before sending you hate mail. I cannot
 imagine what life must be like for those who are disliked enough that they
 are forged routinely. It must be an hell of a life.

 I have thought of making it a requirement (as an experiment) that all
 postings leaving my site must bear a PGP signature, but the client
 side software is not yet up to the task. The majority of people can
 barely manage to use Netscape. Is it reasonable for us to expect them
 to use something as complex as PGP? 



 
-- 
C. Ewen MacMillan         Vox  : (312)850-0181
Chief of Operations,      Email: ilixi@tezcat.net
Tezcatlipoca, Inc.        Whois: CEM

Re: Authenticated cancels and moderated newsgroups
#7932
Author: Mary Conner
Date: Fri, 24 May 1996 00:00
80 lines
4891 bytes
In article <4o1egm$4sf@xipe.tezcat.com>,
C. Ewen MacMillan <ilixi@tezcat.com> wrote:
> But neither deals really with the problem of forgery - I have been
> forged personally two times this year - should I not be able to 
> cancel things posted in my own name? <rhetorically> This was intended
> to be one of the most common uses of cancel.

No it doesn't deal with the problem of forgery.  But I think that
realistically, two possible futures are in store for us.  Either cancels
become increasingly ineffective as more and more sites turn them off,
or they get authenticated.  Under the first scenario, you've lost your
ability to cancel forgeries with no alternative available.  Under the
second, you've at least got a fighting chance.  Here's an idea:  since
in order to allow moderators to cancel messages in their groups, and
to allow despammers to do their jobs, there will have to be something
in addition to authenticated cancels, we can rope the same scheme into
making sure that people can still cancel forgeries in their name.

(trying to think of all the little nits and get them nailed down in my
head... this is why we need to have public discussion, as I don't think
any one person can think of everything).

Okay, here's a completely rose-colored future scenario.  You see a
forgery in your name and hit whatever cancel key your newsreader uses.
The newsreader computes the proper hash key, and then notes that your
hash won't cancel that message, therefore it must be a forgery.  The
newsreader generates the old usual cancel message (for those sites who
haven't adopted authenticated cancels yet) and notifies you that it is
sending mail to the forgery-cancel bot.  The forgery-cancel bot
replies with a key that must be included in the return-mail (to prove
that you do indeed have access to that account).  When you have
replied with that key, the forgery-cancel bot sends out a "newcancel"
message for the forgery, and it is honored everywhere that has
authenticated cancels, because obeying this bot has also been included
with the code to do authenticated cancels.

Whew.  Now note that this is off the top of my head with about 5 minutes
of thought in it.  I will not take it personally if someone finds a
glaring hole, or even comes up with a different scheme altogether.
That's what public discourse is for.  

This could also be set up so that the forgery-cancel bot would allow the
postmaster account (you all do have a postmaster account, right?) to
cancel anything from that site.

In any event, as others have pointed out, cancelling a forgery is often
not the best solution.  Too many people will have already read it and
a followup'ed disclaimer and pointing out of the forgery is often a
better solution.

> But, as much as I respect the despammers doesn't any schema which
> makes a special provision for despamming put us in the position of
> appointing editors? Again, I am being somewhat rhetorical, but if
> I may provide a what-if. Some of us recall the days before 
> Gruboursy, point being - everything changes. People change without
> warning, provocation, or sensibility. No one can be trusted.

Individual admins will have to decide for themselves whose despamming
messages they want to accept.  That's no worse than we have now.  I'd
have no hesitation at accepting messages from Chris Lewis.  I'd have
to think harder about JEM and Richard Depew.  Both have shown themselves
to be a bit fast and loose with cancels in the past.  If I could count
on some kind of watchdog group of people to watch the watchers, I'd
be much more comfortable.

> I know that you are not meaning what the above paragraph suggests,
> so I am all ears as to what you might propose, if anything as
> a complete solution to both spamming/email-spamming and unauthorized
> cancellations.

The scheme I propose is like NoCeM, except that it would be a control
message, and it would allow for a killfile-like filtering in addition
to being able to specify lists of Message-ID's.

-- 
Mary Conner
trif@serv.net

Re: Authenticated cancels and moderated newsgroups
#7946
Author: Adam Bailey
Date: Fri, 24 May 1996 00:00
32 lines
2093 bytes
In article <4o1g8r$51s@xipe.tezcat.com>, ilixi@tezcat.com (C. Ewen
MacMillan) wrote:

>  I have thought of making it a requirement (as an experiment) that all
>  postings leaving my site must bear a PGP signature, but the client
>  side software is not yet up to the task. The majority of people can
>  barely manage to use Netscape. Is it reasonable for us to expect them
>  to use something as complex as PGP? 

I generally do not consider myself to be a clueless person. I am a slow
learner when it comes to new stuff, but I usually stick with it and keep
trying until I figure it out. Once I get the basics, I can usually breeze
through the rest.

A couple of weeks ago, I finally decided to set out and learn PGP. I
didn't go to bed until 6 AM, reading everything I could find.

When I finally switched off the computer, I ended up with a reasonable
knowledge of what PGP was, but no idea of how to start using it on my Mac.

I guess I'll have to try again eventually.

--
Adam Bailey

   adamb@tezcat.com              adamkb@aol.com
   wysiwyg@ripco.com      www.tezcat.com/~adamb

~I'm not paranoid, it's just that everyone's out to get me...~

Re: Authenticated cancels and moderated newsgroups
#7960
Author: Rich Salz
Date: Sat, 25 May 1996 00:00
24 lines
1831 bytes
In <4o29h0$ldd@engnews1.Eng.Sun.COM> falk@peregrine.eng.sun.com (Ed Falk) writes:
>PGP is enough of a nuisance to use that most people don't bother for
>most posts.  I notice that you didn't sign your post.  I'm not signing
>this one.

The original poster was worried about someone forging articles from
them.  If the preceived threat is real enough, then they can sign
all their articles, overcoming the nuisance factor of PGP or perhaps
writing (or helping to get written) a tool of their own.

As for me, I've never bothered to sign anything.  Forged postings aren't
part of my threat model.

>  Teaching news software to insert
>valid "Sender:" lines would go even further.

Short of a distributed authentication scheme, trusting the Sender can
be misleading.  INN gives you enough of a trust chain so you can decide
if you trust the Sender, but it still requires you to know that there are
no rogue machines within an enterprise.
	/r$

Re: Authenticated cancels and moderated newsgroups
#7976
Author: Riku Saikkonen
Date: Sun, 26 May 1996 00:00
36 lines
2736 bytes
Dr. Dimitri Vulis (dlv@bwalk.dm.com) wrote:
>I suppose if/when this proposal gets implemented in newsreaders and servers,
>it's important to use the same techniques for enforcing good passphrase
>selection that are used for logon passwords, such as:

Why does the user have to choose the passphrase? Couldn't the whole thing be
done automatically by the news server? The server could choose a suitably
long random passphrase for every post that is POSTed to it (or one
passphrase for one day's posts, or some other policy), and add the Cancel-*
headers to it automatically. Then when a user wants to cancel his post, the
server looks up (from a table) the passphrase used for that post (and some
sort of authentication for the user, from ident info + hostname or NNTP
AUTH, for example), and creates the cancel message.

With some hacking of the server, this wouldn't even need modifications to
newsreaders, since the server could add the Cancel-headers (also to a
headerless cancel message generated by a newsreader).

This scheme wouldn't even need a separate passphrase for the entire site,
because the only thing an admin needs to cancel a post is the passphrase
from the table (which should be in a file on the news server). Something may
be needed for upstream sites, though. Maybe an upstream site could require a
copy of all the passphrases (for the sites it is directly feeding), and
check them against the messages.

Problems would be that if someone gets hold of the file, he can cancel
anything posted by the site, and that if the file is deleted or damaged, the
site's articles are uncancellable (unless an upstream site has another
cancel passphrase, or a copy of the file).

-- 
-=- Rjs -=- rjs@spider.compart.fi - http://isil.lloke.dna.fi/rjs/
I oppose all regulation of encryption.

Re: Authenticated cancels and moderated newsgroups
#7992
Author: Olaf Titz
Date: Mon, 27 May 1996 00:00
37 lines
2478 bytes
Dr. Dimitri Vulis (dlv@bwalk.dm.com) wrote:
> > apparent, wouldn't this lead to dictionary attacks on famous users or
> > sites (assuming that the passphrase is changed infrequently)?  If the
>
> It definitely would, although brute-searching a 40-byte passphrase
> space would be pretty expensive.

Since the signing happens via a hash function, the effective key space
size is the range of the hash function. I.e. if MD5 is used, 128 bits.
The term "passphrase" is a bit misleading here, I prefer "key".

128 bit is less than 40 bytes but still much too much to brute-force
search, especially for every message.

Riku Saikkonen <rjs@spider.compart.fi> wrote:
> Why does the user have to choose the passphrase? Couldn't the whole thing be
> done automatically by the news server? The server could choose a suitably
> long random passphrase for every post that is POSTed to it (or one
> passphrase for one day's posts, or some other policy), and add the Cancel-*

Yes, picking of the keys could be delegated to software entirely.
Since I have a machine with a SRNG in the OS, I always automatically
think "dd if=/dev/random bs=16 count=1 | md5sum" when the notion of
"key" is invoked. :-)

(In this case, the half-strong /dev/urandom would suffice IMHO.)

olaf
[not much of a news issue anymore, F'up: sci.crypt]
-- 
___        Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de       ____
__ o           <URL:http://www.inka.de/~bigred/>     <IRC:praetorius>
__/<_              >> Just as long as the wheels keep on turning round
_)>(_)______________ I will live for the groove 'til the sun goes down << ____

Re: Authenticated cancels and moderated newsgroups
#7999
Author: Olaf Titz
Date: Mon, 27 May 1996 00:00
64 lines
3838 bytes
Dr. Dimitri Vulis <dlv@bwalk.dm.com> wrote:
> >check for X=Y(n). I don't see the need for the additional inclusion of
> >mid here, btw.]
> Suppose you computed M1=H(article+secrey passphrase) and just M2=H(M1)
> (no message-id). Then it would be possible for attackers to pre-compute
> a (huge) look-up table with many pairs of M1's and M2's. Here the
> addition of message-id forces a brute-force attacker to search through

Okay, message-id is a "salt" value here, I see.

> >  - Making unsigned messages cancelproof is obviously wrong.
> This is not obvious to me. That's what I would do. Please explain.

I think that the cancel protocol serves a purpose and making any
messages cancelproof is wrong. It's also a backward compatibility/
unexpected behaviour problem. These are not purely philosophical
problems as they may seem; spammers/forgers could (i.e. will) find
a path to insert articles into the news flow at a server which doesn't
add its own signature (i.e. just an old one), so making them
uncancellable even just in a part of the Net is not acceptable.

> >Another rogue-site problem could be that someone adds signatures that
> >allow him to cancel the article to every article passing through his
> >system. This works because of the above-mentioned authentication
> I can imagine situations where this is appropriate - e.g. a one-person
> site acting as a leaf node behind a bigger site. The bigger site would
> then be a "local news administrator" in the meaning of RFC 1036.

In this context it is OK, problems are backbone-near sites.

> >Such abuses _will_ happen, you can easily imagine a system in a
> >backbone position that goes by the "we reserve to cancel everything
> >that we consider illegal" philosophy...
> Suppose a major backbone like MCI or Sprint tries that. Everyone
> who feeds off of that backbone will drop it like a hot potato and
> get their feeds elsewhere.

Where this is feasible, of course. I strongly suspect most users
simply won't care.

> The opposite problem would be for a site to strip Cancel-Lock: headers
> from the article that pass through it, rendering them uncancellable.
> I guess the only solution is not to accept feeds from such a site.

As explained above, I don't think they should become uncancellable.
But "not accepting a feed" is not as big a problem as "not accepting
_anything_ going through it", a.k.a. UDP. This would be necessary in
the case you describe.

> [Would you accept a feed from a site that adds a "Comment: buy our
> product" header to every article that passes through it?]

I know enough people who would even alias out such a site. Perhaps
that's the reason nobody does it...

oalf
-- 
___        Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de       ____
__ o           <URL:http://www.inka.de/~bigred/>     <IRC:praetorius>
__/<_              >> Just as long as the wheels keep on turning round
_)>(_)______________ I will live for the groove 'til the sun goes down << ____

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads