« first day (1328 days earlier)      last day (3857 days later) » 

00:12
cc:\ @Simon
 
5 hours later…
05:33
6
A: Is it safe to send clear usernames/passwords on a https connection to authenticate users?

kasperdMost of the sites usually considered to be secure take pretty much the approach you are describing. Or put differently, you have simply described established industry standard. I would recommend against using an approach less secure than the one you mention. (Whether bcrypt is better or worse th...

> "Protecting the server against DoS attacks by offloading most of the computation during validation to the client. I.e. don't iterate hashing on the server side, only iterate on client side and perform last step of hashing on server."
^ for some reason, I do not trust this.
but it's just a feeling. Could someone back this up? Or even, is there a counter argument that it might be ok?
@HamZa You can't guarantee that the client does the hashing properly.
@TerryChia nice (JS disabled?). It also reveals my algo, but that's security through obscurity
@HamZa Essentially whatever the client is presenting becomes the "password". So the attacker only has to crack that last step of hashing to gain access.
@TerryChia you mean if the hacker could ever read the "secure" line? Like when easing BEAST or ssl-strip?
@HamZa No. I mean the classic "I dumped your database because you were too stupid to prevent SQL injections" attack.
Remember, hashing is specifically to protect against offline cracking.
05:44
@TerryChia lol, I see
Has this room changed [looking at the starboard]? :)
 
2 hours later…
07:30
Starting the day with a nice Venn Diagram...
If it works (client performance and ability to run the hash on the client), client side hashing is clearly preferable over server side hashing.
@TerryChia If a client prefers to use a weaker hash the only thing they do is weakening their own account. Why should the developer give a damn about that? The client could just as easily post their password in the newspaper.
@CodesInChaos You can't prove that the client side hash was properly done though. And that makes it trivial to ignore.
@Arperum Why should I care about that?
@CodesInChaos IMO It's a joke if a big bank website doesn't work without javascript
@CodesInChaos Because you are hashing to increase security. a client side hash does not increase security.
Why do you even bother to spend time hashing if you are going to make it trivial to circumvent. Always assume that a client machine has bad intentions.
07:35
@Arperum A client can only weaken their own account by omitting hashing. They already have so many ways of doing that, so deliberately rewriting their client to omit hashing strikes me as ridiculously convoluted.
@Arperum Because you can't omit the hashing when you attack somebody else's account whose used the hashing when setting the password
@CodesInChaos A normal client isn't going to bother. You are not hashing for the normal client. You are hashing to stop hackers.
@Arperum If the client program contains the hashing code, it's additional effort to omit the hashing by rewriting the client with the only effect of weakening your own account. Why would anybody do that?
@CodesInChaos If I got the hash you've sent to the server somehow, I don't even need your password anymore, I just use that hash as a password. Which it actually is.
@Arperum Obviously, but that doesn't help the attacker.
They can't sniff the hash due to transport encryption, and the only efficient way of guessing the hash is performing the expensive hashfunction on the password+salt.
@CodesInChaos No, it's that from the point of view of the server, whatever the client is presenting is the "password". If I dump your database I just have to crack that "last step of hashing" to obtain what the server thinks the password is.
07:39
@CodesInChaos I'm not saying you should remove it, just that it's not really adding much to your security. You should do server side hashing, never trust a client. Client lie and decieve
@TerryChia And how do you propose to do that? By enumerating 2^128 intermediate values?
The only feasible way of producing the one-before-last hash is by starting with the password+salt and hashing them (expensive) or by sniffing it. Direct enumeration is just as infeasible as enumerating AES keys.
@CodesInChaos By using some proper hashing on the server (Bcrypt or PBKDF2)
Doing everything except the last iteration of the hash on the client does not weaken security. If you combine it with SRP it even strengthens security.
@CodesInChaos Does your server do any final hashing step? If not: you are basically saving passwords in plaintext in your DB.
The server does one cheap unsalted hash on the hash the client sent. SHA-2 for example.
07:45
@CodesInChaos Say hello to rainbow tables!
@CodesInChaos Ok, right. I was wrong on that point.
But if it's a browser environment you can't guarantee that the client does the hashing properly though.
@Arperum The hash on the client is still salted and thus non vulnerable to multi target attacks (including rainbow tables). The final hashing step is not vulnerable to rainbow tables since there are simply far too many values to compute one.
@TerryChia In a browser there are two complications. Supporting users who disabled javascript, which only matters if the rest of the application works without javascript. And performance, since the legitimate password hashing implementation must be as fast as possible in order to support many iterations.
This discussion might deserve a question on Sec.se
@CodesInChaos Was the original question that sparked this discussion not about a browser environment? Sorry, I didn't click the link.
*yawn* morning
07:58
@TerryChia Neither did I. But people claiming that client hashing is insecure per-se is one of my pet peeves.
@CodesInChaos Yeah, I was wrong on that point. Cheers for clarifying.
3
all of the text currently visible in this chat room is far too geeky for 9am
an unacceptable level of geek
you've ruined one of the best nights sleep I've had this week by subjecting me to this nonsense so soon after awakening
@kalina Go back to sleep again?
it won't be the same
@kalina stop complaining?
08:07
@HamZa lol
this isn't complaining
would you like to see complaining?
@kalina no thanks. There are better things to do/worry about in this world
better than complaining?
you must be mad
there is only one thing better than complaining and that's make up sex
4
@kalina wow
no, world of warcraft isn't even on the list
08:10
WoW, LoL, dota and all that shizzle is a waste of time
and in some cases waste of money
huh, we agree on something, what an unusual turn of events
lolwut
my feelings exactly
well, I articulate them better
but fundamentally...
@kalina are you a troller?
@HamZa Isn't everybody in this room a troll?
08:15
no
@CodesInChaos there are exceptions I guess. Also it's been quite a long time since I've been here.
well, I can troll, but not until after consuming multiple coffees and several other unnamed criteria are met
because at this time of day I am too busy fighting with myself over the decision to sleep more or get dressed
@kalina go workout, might do the job
@kalina sorry for being so boring :)
"work out"
I don't need to workout
and you are quite boring
but I forgive you
why does fast food literally degrade into sludge over night
08:46
god it's so boring in here
@kalina for you...
 
2 hours later…
11:19
Has anybody noticed that whenever @kaliana is here, things get boring?
By her own account.
@Adnan true 'dat
@Braiam Is your name Jose?
I've seen that avatar in some forum
the dude's name was Jose
@Adnan .... no
@Braiam Hmm.. it's probably a picture with a similar "style".
Anyway, soo.. there was a storm yesterday right after the heatwave
it destroyed the flag on my porch :(
I spent hours installing it
11:35
Bertha?
@AviD @RoryA Could you guys please fix the migration on this one? security.stackexchange.com/posts/64673/revisions
For some reason, 3 people marked it to migrate to SU, while it's clearly an SO question.
not that I'm here now, but how in hell is that an SO question?
if anything it should have been sent to apple.se, but truthfully it is such a crap question I dont think it should have been migrated at all.
and, to answer your question in general, once a q has been migrated, we can't do anything about it on this end, unless it is rejected over there.
12:07
@AviD PhoneGap is a JS library
it's used to write Android and iPhone apps with JS and HTML5 stuff
@Adnan oh is it? derp.
I know of a different phonegap.
@AviD The one you know doesn't belong on the SE network at all
why not?
@AviD Oh, then I know a different phonegap as well
hahaha
hmm I think I'm thinking of something else, phone....something.
kind of used for authentication-ish.
12:20
dont remember the name, thought it was that.
nevermind, anyway it was a crap question to begin with, SO even more so.
The top comment on that video oh god
@Nick thats a bit optimistic
@AviD what is?
12:22
that video.
@Nick That's just. wat.
or at least the opening lines.
emphasis on "if they've done it right". big IF.
@AviD he over simplifies it for the mere mortals to understand haha
@AviD That's not the point of the video.. dickhead
Lots of non-techies watch that channel
I'm glad somebody is spreading those concepts to the masses
heh, you're so sweet today
12:25
I'm just pissed at AngularJS
@Adnan that part is spot on. I was just pointing out that "all these companies do it right" is a bit optimistic.
@Adnan so who isnt?
@Arperum yup
@AviD Probably one dude who's a superduper guru on it.
This is amusing.
64
Q: Why does Windows think that my wireless keyboard is a toaster?

ydaetskcoRI've inherited an old PC from my girlfriend's dad and when setting up the printer I got a bit of a surprise: Two questions spring to mind here: Why does Windows think my wireless keyboard is a toaster? Why does Windows even have an icon for a toaster in the devices menu?

> Reason 2

Look at the back of the keyboard and look for some place to insert a slice of bread...
12:28
@AviD Yeah, I need to buy me a toaster keyboard.
@TerryChia Damn, 64 upvotes already, it had 2 three hours ago.
@TerryChia goes well with the coffee holder.
@Arperum It got on HN.
Maaan.. a wireless toaster!
Tells you when your bread is ready
@AviD Is there a mouse that holds butter too?
12:29
maybe even with an SE chat bot that tells us who toasting what and when
@TerryChia As expected.
@Adnan Sounds like your startup idea.
@TerryChia goes well with my Smart Refrigerator idea I specc'ed out in 1998.
@TerryChia KickStarter -> 2 Million dollars -> Deliver shitty product for the backers -> Nothing happens, KickStarter doesn't care.. yaaay
@Adnan just include some potato salad. that will solve it.
12:31
@Adnan Wrong wrong wrong wrong wrong. Pitch to VC -> Raise 10 Million in funding -> Sell to Google for 10 billion in 2 years.
@TerryChia I don't think Google will buy a wireless toaster
@Adnan No, they want the data that comes with it. Imagine what they can do if they know at what time during the day you eat bread?
@TerryChia I think selling to facebook would be the better plan. They'll buy it for the social aspect of eating bread.
@Arperum with potato salad.
then they push updates so they also know what kind of bread you use, and how long you toast it for. So they can give you better ads.
@TerryChia @Adnan phhhbt you're both wrong IndieGogo -> 2 Million Dollars -> don't bother delivering anything to backers -> hide amongst the huge number of shitty "never gonna happen" projects on IndieGogo that won't deliver.
12:39
@RоryMcCune 10 billion > 2 million.
@RоryMcCune Wait wait.. so you have no obligation to deliver?
@AviD Let's file for a patent and sue the guy that actually does this in 10 years.
@Adnan It's more like there's no practical measure against you if you fail to deliver.
The sad part is that all these things happen all the time :(
@TerryChia @RоryMcCune you can do both.
@Adnan well looking at some of the projects that are on there now, I have a feeling there's going to be a lot of non-deliveries. But even on kickstarter there's projects that have taken $300k and never delivered over 3 years after closing, no update in over a year and apparently nothing that can be done about it 'cause they say they're still working on it....
@TerryChia yeah but you'd hope google had more of a clue than indiegogo backers!
12:41
@RоryMcCune why, does facebook?
@RоryMcCune Facebook bought WhatsApp for 16 fucking billion. No, they don't have a clue either.
@AviD well ... yeah, I mean have you seen some of the projects that got 10x asked for funding the in indiegogo tech section...
@TerryChia 19. and my point exactly.
That stupid "Yo" app raised 1 million in funding.
@AviD Ah, it's 19? That's even worse. :)
Interesting
> Kickstarter doesn’t evaluate a project’s claims, resolve disputes, or offer refunds — backers decide what’s worth funding and what’s not.
From their ToS
12:54
@Adnan well they offer refunds, but only if the project creator willingly cancels it
@Nick Nope
ToS is clear
Campaign creators are responsible for any refunds
@Nick It's up to the project creator to do refunds.
> Can Kickstarter refund the money if a project is unable to fulfill?
>
> No. Kickstarter doesn't issue refunds as transactions are between backers and creators directly. Creators receive all funds (less fees) soon after their campaign ends. Creators have the ability to refund backers through Amazon Payments (for US projects) and Kickstarter (for non-US projects).
Can you imagine Kickstarter's liability if this wasn't the case?
@TerryChia the only way they could handle it would be to manage apportioning the money out to projects and there's no way they'd want to get involved in that...
that said kickstarter/indiegogo are (i predict) in for some rough times as projects fail and the backers start howling for their money back
12:59
@RоryMcCune Yup, and there's always the chance that a disgruntled backer sues KS itself.
there will be a clamour from consumer groups to have legislation put in place to stop the scammers...
@RоryMcCune The whole crowdfunding model on KS and indiegogo is stupid because it's mostly presented as a pre-order.
@RоryMcCune Money isn't transferred from backers until the end of the funding
Whatever KS and indiegogo themselves say, that's the impression you get when looking at the page.
@Adnan yep but that's generally the start of them actually trying to deliver
13:00
So when the project fails, they don't get their money back
The money hasn't left them in the first place
@Adnan No, fail as in fail to deliver, not fail to reach funding goal.
@Adnan ... that's not how it works AFAIK
@TerryChia Oh, I thought @RоryM meant fail to fund
Plus Indiegogo has an option where you get to keep whatever funds you get even if you fail to reach your goal.
@Adnan nope, sorry, failed to deliver
13:01
I didn't even notice that until someone in this room pointed it out to me.
@TerryChia yeah that's genius for the scammy projects, they always get something
@TerryChia Wait.. what?!
Do we have a standard policy on dealing with tag wiki proposals that are copied straight from Wikipedia? Are they generally acceptable/not acceptable, or a case-by-case basis?
As in "before reaching your funding goal"?
@Xander Not acceptable.
13:02
@TerryChia Except that the vast majority of our tag wikis are actually copied form wikipedia
@Adnan Yup. At the ending of the funding period you keep whatever you manage to raise even if you fail to meet your goal.
@Adnan There was a meta post (I think?) about that.
@TerryChia Whoa! I'm now really interested
@Adnan Scammer!
@TerryChia No. I'll work as hard as I can to finish the project and deliver to my backers
@Adnan Righttttttt!
I prefer the gittip model of crowdfunding.
13:06
I've heard that many people actually use their own investment money and fund their own campaigns (ask friends to do it, or do it with fake accounts) to make it look like they're successful from the beginning.
Because you actually get to support people doing worthwhile stuff.
@Adnan Yeah, it's easier to attract backers if you give the impression that a lot of people are backing you I imagine.
indiegogo.com/projects/solar-roadways#home <--- this is an interesting one.
probably not a scam but they got $2.2m funding for their project without giving away any equity or promising anything apart from things like t-shirts
@RоryMcCune "Probably not a scam"???
goes to show the power of "going viral"
@TerryChia well they've delivered nothing so far so no way to know
They have zero technical details on the page. Only artist renditions.
13:08
when you read their site they sound relatively legit
That does not inspire confidence.
they do have a site with technical details/history
@RоryMcCune Ah, that link wasn't prominent.
personally I have a feeling they are being way too ambitious and it won't succeed
I'm not so sure about the the question mark in the title
> Solar panels that you can drive, park, and walk on. They melt snow and... cut greenhouse gases by 75-percent?!!!
13:10
but I guess that's not a crime :)
The Web 1.0 look and feel does not inspire much confidence as well.
@TerryChia yeah that was one of the things that made me think it's not a scam... the scammers are generally way slicker :)
@RоryMcCune That's true.
@RоryMcCune Just gave that project a closer look
Looks like a scam
All of the rewards have almost nothing to do with the project itself (delivery/progress-wise)
You get a thank you, a thank you in a video, a piece of glass in a necklace, etc.
only the last one (for 10k) you get a piece of glass with LED in it
@Adnan indeed, not sure it's a scam in the sense that they're not trying to deliver the project, although can't really see why anyone would back it (especially not for 10k!!)
13:21
@RоryMcCune 12 people backed the 10k reward, and 122 backed the 1k reward
@Adnan wow... fools and their money :)
Hmm.. making a scam like that can cost about 30k dollars, I assume
video, website, fake prototype, efforts for updates/comments, social media stuff, etc
Hey, @David, we should really make that smart vibrator thing.
@RоryMcCune They totally botch their sales pitch, though. Greenhouse effect gases, bah !
It really is the freaking paving on which Michael Jackson dances while singing Billie Jean
@ThomasPornin well "botch" is relative, they got $2.2m :)
@DavidFreitag Yes I looooove that track.
13:34
@RоryMcCune yeah - I saw it as a way for folks to be a part of 'saving the planet'
:-)
14:09
The C# port of Bouncy Castle has a ton of issues mentioned here, which is why I'm asking the question: security.stackexchange.com/q/64708/396
-1
Q: What cryptographic operations does a poor random number generator affect, and how do I measure loss of security?

makerofthings7Suppose a given random number generator has poor entropy, and is compressible by any compression algorithm (zlib, bzip2, lzma, etc)... the obvious signs that a given RNG is a poor choice for cryptographic operations. Specifically the issues are: Bad entropy Bad seed size Failure to use multi...

Bad seeding doesn't lead to compressible output. It doesn't even cause detectable biases.
And reseeding is generally not necessary at all.
According to the smart people on the C# Bouncy Castle listsrv, the RNG is compressible
14:50
Compressible output can only be caused by choosing a shitty PRNG/stream cipher for the output, not by insufficient entropy in the seed.
15:13
@Adnan Okie dokie
@Simon its soooo goood :o
15:55
@Adnan Love it!
that was worth QOTW making me think i had a friend
why does kAyniss some familiar
is that 'start'?
as in the start button on finnish XP
kAynnistA
16:19
@TerryChia Soo.. you're name is really Sven?
@Adnan I cannot confirm nor deny that.
@TerryChia Well, the project was started today
I think right after our conversation earlier
@Adnan Oi oi oi, you were the one that wanted to do the whole scamming thing.
@TerryChia You think I'd scam people for only 1$ each (max pledge award)? :D
On a different news: I DID IT!
That's their fake chart. They're happy with it -> I'm happy as well.
@Adnan Why are you happy?
16:24
@TerryChia When the people who pay my salary are happy, this means I keep getting my salary.. which makes me happy
because with my salary, I can buy food, beer, and nice things
like a kilt
and a sporran... with which I can run around and ask people "Do you want to touch my sporran?"
4
@Adnan I'd be banging my head against a hard surface right about now if I were you.
@TerryChia You wouldn't. You would be very happy wearing your kilt and eating tasty food cooked by you and have awesome sex with @Kisu
@Adnan I do not know how to respond to that statement.
@TerryChia Best thing you can do is to carry own with your life, bearing the hope that one day you'll become me.
Which should terrify you, by the way.
@Adnan My life isn't nearly as sad as that.
16:31
why oh why is
22
A: Is it safe to send clear usernames/passwords on a https connection to authenticate users?

AJ HendersonYes, this is the standard practice. Doing anything other than this offers minimal additional advantage, if any (and in some cases may harm the security). As long as you verify a valid SSL connection to the correct server, then the password is protected on the wire and can only be read by the se...

not offering a "continue discussion in chat" option
@Terry But but but.. think of all the awesome things you can be if you were me. You'd be an amazing cook, be able to make great pancakes, get to shoot nice guns, be a douchbag and brag about how awesome you are on a public chat room
it's going to need major comment cleanup
@AJHenderson Too many people involved.
The chat option only shows up when it's two people continually replying to each other.
@AJHenderson Shitty questions. Expected you to right an answer. You didn't disappoint me.
Nothing to do there. Let it go
16:33
@AJHenderson Thanks for reminding me that I know too much about SE.
@FEichinger but you still didn't know about that auto-chat owner
(granted, neither did I)
@AJHenderson Fair point! But now I do ..
well, I did the manual room creation thing
16:49
@AJHenderson Just scroll up. I already had that discussion in the DMZ this morning.
@CodesInChaos yeah, I was more talking about the silly objections that the low rep users were pointing out. I still feel a little ookie about it, if only because it makes it far more complex and puts far more ways to screw the thing up
but it CAN be done securely
and does offer some slight (in comparison to the complexity) advantages
but man are there a lot of ways you could screw it up
I'm mainly annoyed by the "never trust the client so this is insecure" crowd
Especially since I'm a "never trust the server" kind of guy.
well, you do never trust the client, but you can make it so that work is required by the attacker either way
oh, one additional thought, the key expansion itself also has to be slow
not just the hash iterations
err
wait
may be having a brain fart
ugh, when it gets complex and non-standard enough that I start having trouble visualizing all the attack vectors in my head, I know it is getting too complicated
granted, I am running on like 5 hours of okish sleep atm
yeah, no, key expansion just has to happen after salt application
not before or after the slow part, the starting point just has to actually be part of a large random sampling to ensure a really large random intermediate pool
Including the salt at the beginning is important
after that you need to ensure your pipe is never too narrow
 
1 hour later…
18:46
@Adnan > Do you want to touch my sporran?
Pmsl
@Fei - it should really be called SE Moderators. SE
@RoryAlsop Hey now, we have quite a lot of non-SE-moderator users.
Yeah - it did get better:-)
In fact, two of our Top-5 are not SE moderators. Myself included.
Mmm - enjoying a pizza while looking out at the Tower of London. Very cool.
Huge art installation of ceramic poppies
In remembrance of the Great War
19:09
@RoryAlsop Those are ceramic :o
19:42
Yep. Currently they have just over 100k planted. By 11 Nov they will have over 888k
19:57
Are there any format standards, ideally nice clean ones, for something like a block authentication chain, e.g. suitable for verifying the authenticity of an event log? I know there are lots of Block Cipher modes, so I'm wondering if some of them leave the text in the clear and just provide chained signatures for authentication.
Ideally the signatures would be detached from the data being authenticated, so there could be multiple signature chains e.g. with different formats or from different entities.
@nealmcb A block cipher mode that only provides authentication would be a MAC. I'm not aware of any standard for signature/MAC chains.
20:13
@Gilles Thanks. I guess the analogy with block ciphers didn't help. I want public key signatures also, so a bit more than a MAC.
which is cleaner (less code footprint) for the signatures: XML Signature or CMS / S/MIME (or something else close to standard)?
20:26
Apparently my laptops card supports packet injection yaaay]
Been searching for one that supports packet injection for a long time
Hmm. I thought the posts by twitter.com/CluelessSec were jokes.
But we've just gotten an email to our security alias titled "Vulnerability Identified" and the entire text of the email is "A vulnerability has been identified."
Oh, and the author's signature at the bottom, so we'll know who to credit, I guess.
And the font is Comic Sans.
@Xander never doubt an email written in Comin Sans
20:51
@Nick I thought comic sans was only for resumes
No, for government documents.
 
1 hour later…
22:04
Woohoo! After a week of agonizing torture, I finally finished my SPI driver for the ATSAMD20. Now I'm going to go drown myself in alcohol.
22:22
@RoryAlsop which great war was that? There have been dozens.
@tylerl English is case-sensitive. The Great War was not a great war.
5
@Gilles CAPSLOCK IS THE CASE-SENSITIVITY KILLER. EVERYTHING IS CASE INSENSITIVE WHEN CONFRONTED WITH CAPSLOCK.
22:44
cc:\ @Simon

« first day (1328 days earlier)      last day (3857 days later) »