Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: Adjust bcrypt cost to prevent future password hash attacks

by andreas1234567 (Vicar)
on Jun 12, 2012 at 08:24 UTC ( #975710=note: print w/replies, xml ) Need Help??

in reply to Re: Adjust bcrypt cost to prevent future password hash attacks
in thread Adjust bcrypt cost to prevent future password hash attacks

Data must be secured in transit and at rest. TLS protects data in transit only, and does not prevent offline attacks (e.g. recent Linkin breach).

We need both TLS and bcrypt, not just the former.

No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
  • Comment on Re^2: Adjust bcrypt cost to prevent future password hash attacks

Replies are listed 'Best First'.
Re^3: Adjust bcrypt cost to prevent future password hash attacks
by Anonymous Monk on Jun 12, 2012 at 08:52 UTC

    and does not prevent offline attacks

    of course not :) I wasn't suggesting switching away from bcrypt, merely that the cost is not as important for online attacks, those can be throttled effectively

    but, for offline, you should use encrypted harddisks and not rely on bcrypt alone

      You seem to be associating "offline attacks" with physical theft of the hardware. However, they much more often (including in the recent LinkedIn/eHarmony cases) involve cases where an attacker has duplicated the contents of the user database. In such cases, encrypting the hard drive is completely irrelevant.

      Each of these measures is only applicable to certain types of attack:

      • TLS only matters if someone is attempting to access data in transit.
      • Disk encryption only matters if the hardware running the system is physically stolen.
      • The hashing method only matters if the attacker has direct access to (a copy of) the password database.
      Whatever you may be trying to secure, you need to assess which threats are actually relevant to you and implement the appropriate security measures based on that (and on the value of the system/its data).
      I beg to differ. Ideally, it should be safe to publish the hashes online as no-one should be able to search the password space in reasonable time.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://975710]
[mark4]: Do you h=know how I can get pp.exe? Is there a module I can install that includes this?
[marto]: I always found Strawberry Perl on windows to be a much better environment, made life much easier
[marto]: pp. install it like you would any other module
[marto]: it probably exists in one of the PPM repositories
[marto]: failing that see the README
[mark4]: I installed "PAR" from the ppm install window. pp.exe. did not show up.
[marto]: it should just be a script, pp, or on windows pp.bat, post install you should just be able to call pp -x packed.exe as the PPM package should put everything required into the appropriate path
[marto]: ah, some time ago pp became it's own package, try searching your repo for PAR::Packer
[marto]: again, Strawberry + cpanm for the win: cpanm pp to install

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2018-01-19 14:19 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (218 votes). Check out past polls.