• Re: Root password strength

    From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Tue Mar 19 20:40:02 2024
    On 19 Mar 2024 17:42 +0300, from [email protected] (Jan Krapivin):
    The thing is my password is very easy now, and i haven't thought about *"automated
    connection attempts"*, that sounds rather... scary? My password is easy because i am not afraid of direct physical access to the computer.

    But... if there is a serious network danger, then i should change my
    password of course. But how strong it should be? If we speak about network attacks... it should be like 32 symbols with special symbols? Or this paragraph in a handbook is rather paranoid?

    I have activated sudo now for my regular user. Can it (password of regular user) be less sophisticated than root password? Because it would be rather difficult to enter 32 symbols every time i wake my PC after suspend.

    My suggestion for a memorable password is to use a _passphrase_
    instead.

    I discuss my approach at [1] and to a lesser extent at [2], both of
    which you may find worth your while to read through. At [1], the most
    relevant section would be the one on passwords you must memorize.

    A 6-7 word Diceware passphrase [3] will provide very much adequate
    security unless your threat model includes a nation-state government brute-forcing your password; which chances are it doesn't. I recommend
    using the EFF's long word list [4], but any "five dice" (7776 entries)
    Diceware word list will provide equivalent security when used with a
    word separator. (Unless using a word list deliberately designed for
    that use case, Diceware passphrases have reduced security when used
    without a word separator. The EFF long word list takes this into
    account and therefore doesn't strictly require word separators to
    achieve the intended degree of security.)

    Two examples of such passphrases are: pedometer settling stretch
    endocrine elusive unpaid rented; or: valiant overtime last drab carol
    landslide supper. (Naturally, please don't use either of these.) The
    xkcd example [5] is: correct horse battery staple; but four words is
    relatively weak.

    Such a 7-word Diceware passphrase has roughly equivalent strength
    (about 90 bits' worth) to a 15 characters mixed-case alphanumeric
    traditional password such as ieraey6Wic1Shoh, or an 18 characters
    single-case alphanumeric password such as gav7it7aetiengo9ei; but is
    arguably much easier to remember and type.

    Even a 6-word Diceware passphrase (about 77 bits' worth of security)
    will virtually guarantee that the weak link in your security will not
    be your account password, yet if you are a reasonably good typist can
    be typed accurately in a few seconds with a bit of practice. Also,
    many variations of [6] apply. Technical protective measures can only
    go so far, BUT that doesn't mean that they are useless; far from it.

    For most values of "you", most attackers don't care about _your_
    account, or _your_ system; they care about _any_ account, or _any_
    system. Actually targeted attacks do happen, but very rarely compared
    to what might be thought of as attackers throwing stuff at the wall
    and seeing what sticks. (There's even a term for that: Internet
    background noise.)

    So _even more important is probably to keep your system up to date on software._ Install updated versions of packages promptly as they
    become available in the Debian repositories. If you have any
    out-of-tree packages installed, make sure to set up so that you get
    notified of updates to those. Software bugs, especially but not
    exclusively in software that is exposed to the network in any way
    shape or form (this very much includes something like your web
    browser), is likely a bigger risk to most people than is a halfway
    decent password being brute-forced over the network.


    [1]: https://michael.kjorling.se/password-tips/
    [2]: https://michael.kjorling.se/blog/2023/forget-what-everyone-tells-you-makes-a-password-strong/
    [3]: https://www.diceware.com/
    [4]: https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases
    [5]: https://xkcd.com/936/
    [6]: https://xkcd.com/538/

    --
    Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to [email protected] on Tue Mar 19 21:20:01 2024
    On Tue, Mar 19, 2024 at 03:49:06PM +0000, [email protected] wrote:
    Dan Ritter <[email protected]> wrote:
    Check whether you are running ssh:

    /sbin/service ssh status

    It's not called ssh; it is sshd
    Also nowadays it's more usual to say

    $ systemctl status sshd

    On Debian, the systemd service name for openssh-server is "ssh", not
    "sshd". However, Debian offers an *alias* named "sshd" which allows
    people to type your command and still get a meaningful result.

    However, it should be noted that "ssh" is the actual service name, which matters if you're going to do something like creating a drop-in override.
    Those need to be done with the correct name instead of the alias name.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to [email protected] on Tue Mar 19 22:00:01 2024
    Michael Kjörling <[email protected]> wrote:

    For most values of "you", most attackers don't care about _your_
    account, or _your_ system; they care about _any_ account, or _any_
    system. Actually targeted attacks do happen, but very rarely compared
    to what might be thought of as attackers throwing stuff at the wall
    and seeing what sticks. (There's even a term for that: Internet
    background noise.)

    There's increasing an extra channel available to attackers - namely
    'smart' things, or the IoT. For example, many people have a 'smart' TV
    that they allow to connect to the Internet so they can use various
    streaming services. Each of those services, plus the TV manufacturer,
    then becomes a potential point of attack into your system. Similarly
    people have security cameras and doorbells connected to the Internet
    and even things like fridges and washing machines! Any such device can
    be compromised and used to attack computers or door locks or whatever.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to jeremy ardley on Wed Mar 20 06:40:01 2024
    On Wed, Mar 20, 2024 at 04:22:29AM +0800, jeremy ardley wrote:

    A 'safer' implementation will not even expose an ssh port. Instead there
    will be a certificate based VPN where you first need a certificate to
    connect and then you need a separate certificate to log in as root. A
    further enhancement of security is to use 2-factor authentication - which is supported in sshd via pam.

    How will a "VPN" with a "certificate" (whatever that means in this context)
    be more secure than a SSH (assuming key pair authentication, not password)?

    They are doing the same dance (key exchange, key pair validation, session
    key establishment) -- the "certificate" part is just a step further (and,
    BTW, SSH can do that, too), which just eases key management (at the expense
    of security: you have but one more moving part).

    The "port" thing stays the same: the VPN server uses a TCP connection, too.

    Moving the port to a non-standard number, using fail2ban, firewall knocking
    and those things don't increase security *directly* -- they just remove
    noise from the logs, which eases the admin's task and thus increase security indirectly.

    There's no magic.

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZfp04wAKCRAFyCz1etHa RjD5AJ9GS6GxilIRHlHRfwhSV4CAeKRrCwCeLsLNNxi6USf5R67NldCTaihaW14=
    =RKP6
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to Jeffrey Walton on Wed Mar 20 08:40:01 2024
    On Wed, Mar 20, 2024 at 02:01:44AM -0400, Jeffrey Walton wrote:
    On Wed, Mar 20, 2024 at 1:32 AM <[email protected]> wrote:

    On Wed, Mar 20, 2024 at 04:22:29AM +0800, jeremy ardley wrote:

    A 'safer' implementation will not even expose an ssh port. Instead there will be a certificate based VPN where you first need a certificate to connect and then you need a separate certificate to log in as root. A further enhancement of security is to use 2-factor authentication - which is
    supported in sshd via pam.

    How will a "VPN" with a "certificate" (whatever that means in this context) be more secure than a SSH (assuming key pair authentication, not password)?

    This may be more theoretical, but... IPSec uses
    Encrypt-then-Authenticate (EtA), which is provably secure under random models. In fact, I believe IPSec is IND-CCA2 secure (Ciphertext Indistinguishability), which is a strong notion of security. SSH uses Encrypt-and-Authenticate (E&A), which is provably insecure. The SSH
    protocol leaks information because of the order of operations of
    encryption and authentication.

    Of course it's not only theoretical. I took issue with the umbrella
    statement "VPN", which might be IPSec or some variant of TLS, to
    mention two ends of the scale.

    We might have lots of ground to cover until the issues you mention
    really matter, but at some point they will, for sure.

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZfqSbAAKCRAFyCz1etHa Rs3GAJ9BDKj/1yyJWCaqN1Zore30ghw9LwCcDw77lOmMxCMQcRDzsdw6trGBWcQ=
    =gMEe
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Wed Mar 20 12:10:02 2024
    On 20 Mar 2024 15:46 +0800, from [email protected] (jeremy ardley):
    Regarding certificates, I issue VPN certificates to be installed on each remote device. I don't use public key.

    What exactly is this "certificate" that you speak of? In typical
    usage, it means a public key plus some surrounding metadata, but you
    say that you "don't use public key".


    For ssh use I issue secret keys to each user and maintain matching public keys in LDAP servers.  SSHD servers can get the public keys in real time by using the AuthorizedKeysCommand. If a secret key is compromised I simply remove the matching public key.

    [users are locked out from uploading their public key using ssh-copy-id]

    So the private keys aren't private, thereby invalidating a lot of
    assumptions inherent in public key cryptography.

    Also, are you saying that you do not let users rotate their keys
    themselves; and if so, why on Earth not?

    --
    Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to All on Wed Mar 20 12:20:01 2024
    On Wed, Mar 20, 2024 at 11:03:16AM +0000, Michael Kjörling wrote:
    On 20 Mar 2024 15:46 +0800, from [email protected] (jeremy ardley):
    Regarding certificates, I issue VPN certificates to be installed on each remote device. I don't use public key.

    What exactly is this "certificate" that you speak of? In typical
    usage, it means a public key plus some surrounding metadata, but you
    say that you "don't use public key".

    My take. I'm always a bit oversuspicious when umbrella words are thrown
    around.

    A certificate is (usually) a signed public key. You need it whenever
    you need more complex key management (definitely not when things are
    between your server and you).

    For ssh use I issue secret keys to each user and maintain matching public keys in LDAP servers [...]

    So the private keys aren't private, thereby invalidating a lot of
    assumptions inherent in public key cryptography.

    We are using that schema in our (small) company, too. Private keys
    are definitely private here (we don't "issue keys" to anyone, everyone
    uploads their *public* keys to the LDAP).

    Also, are you saying that you do not let users rotate their keys
    themselves; and if so, why on Earth not?

    Definitely. "Issuing keys" to people is a "crypto smell". I know,
    it is being done far too often. People are too stupid to make their
    key pairs, it is often said. But keeping people stupid is your
    biggest security hole!

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZfrF1AAKCRAFyCz1etHa RjIfAJ9xazpYJBILAAX3jHr4MTH94ndWPgCfT1undBkEStDYj20R6KuRKhveSwI=
    =OTgQ
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Wed Mar 20 13:10:01 2024
    On 20 Mar 2024 19:21 +0800, from [email protected] (jeremy ardley):
    Regarding certificates, I issue VPN certificates to be installed on each >>> remote device. I don't use public key.

    What exactly is this "certificate" that you speak of? In typical
    usage, it means a public key plus some surrounding metadata, but you
    say that you "don't use public key".

    Each client is issued with a private key unique to the access point. When I say I don't use public key I mean I don't use certificates issued from
    public key authorities such as comodo

    Ah, so when you say "public key", what you mean is "certificate issued
    by a widely trusted X.509 PKI certificate authority" (a large chunk of
    which is often abbreviated as CA). Not the cryptographic concept of
    the public portion of an asymmetric key pair. Gotcha. Though now I'm
    instead uncertain what you mean by "access point"; somehow I don't
    think you're referring to IEEE 802.11 variants APs, although of course certificate-based authentication _can_ be used with those.

    By the way, no sane public CA these days should issue your keys _for_
    you, and no customer should accept a process that involves the CA
    doing so. The process of acquiring a signed certificate starts with
    preparing and presenting a CSR which includes the public portion of a
    key pair generated locally (for some definition of locally); this
    ensures that it is at least _possible_ that only the party preparing
    the CSR has knowledge of the corresponding private key. Breaches notwithstanding, obviously, but that's an issue in any scheme.
    Certainly no reasonable CA should _want_ the risk of ever handling the corresponding private keys.


    Private keys aren't private in any corporate network. Security management would be impossible to manage if users could generate their own keys and install them on any server. For one thing users do not have any easy way to revoke certificates.

    "Run this command, send me this file."

    Depending on the setup, that can of course also be automated. It is
    even possible to provision a provisional key pair, triggering a forced
    key rotation upon login if that key is used (or if a flag is set in
    the user database); and if you only allow _one_ key at any one time,
    that this key is generated under the user's control should not present
    any significant difficulties.

    Also, I suspect that you use the term "certificate" here in a
    different sense than elsewhere, because aside from the issues
    surrounding PKI certificate revocations (as opposed to rotation) in
    practice, private-CA certificates face similar issues which revocation
    is supposed to help mitigate.

    --
    Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Ritter@21:1/5 to jeremy ardley on Wed Mar 20 13:40:01 2024
    jeremy ardley wrote:

    On 20/3/24 19:03, Michael Kj�rling wrote:
    On 20 Mar 2024 15:46 +0800, [email protected] (jeremy ardley):
    [users are locked out from uploading their public key using ssh-copy-id]
    So the private keys aren't private, thereby invalidating a lot of assumptions inherent in public key cryptography.

    Also, are you saying that you do not let users rotate their keys themselves; and if so, why on Earth not?


    Private keys aren't private in any corporate network. Security management would be impossible to manage if users could generate their own keys and install them on any server. For one thing users do not have any easy way to revoke certificates.

    No. Users create public/private keypairs, keep the private one
    private and send you the public side to install on servers. A
    user can revoke their own access by deleting the private one;
    a sysadmin can revoke a user's access by deleting the public one
    from each host that it's installed on.

    For ssh, the sysadmin can also add/remove users from the
    AllowUsers list in the sshd config, or add them to the DenyUsers
    list, or remove their membership in an AllowGroups list.

    Proponents of certificates are going to say "but this is harder
    than adding their cert to the CRL", which is nominally true but
    in practice, you most likely already have a distribution mechanism
    for maintaining system configuration everywhere.

    In any serious network, private keys are simply a name for a secret key issued by an administrator to a user. Matching public keys are often published and are maintained by the administrator. Both keys are owned by
    the administrators.

    This is incorrect, as Michael and others have stated.

    If you are in full control of your network and resources, sure, go ahead and rotate your keys. But if you are in a network run by others you have to accept their control of keys and access to resources.

    No, you have to accept their control of access to their resources.

    -dsr-

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Wed Mar 20 13:20:01 2024
    On 20 Mar 2024 12:17 +0100, from [email protected]:
    For ssh use I issue secret keys to each user and maintain matching public >>> keys in LDAP servers [...]

    So the private keys aren't private, thereby invalidating a lot of
    assumptions inherent in public key cryptography.

    We are using that schema in our (small) company, too. Private keys
    are definitely private here (we don't "issue keys" to anyone, everyone uploads their *public* keys to the LDAP).

    Right; I have no issues with _that_ part. It's the _issuing_ of a
    whole key pair that means that the private key _must_ have been
    accessible to someone else at some point. In a scheme where the key
    pair is generated by the user, the private key _may_ still be
    accessible to others (for example through administrator access), but
    that's a trade-off we always have to make when using a system
    administered by someone else; and it can be mitigated by e.g. storing
    the key on a SSH-capable Yubikey or in the TPM, along with a
    decent-strength passphrase.


    Definitely. "Issuing keys" to people is a "crypto smell". I know,
    it is being done far too often. People are too stupid to make their
    key pairs, it is often said. But keeping people stupid is your
    biggest security hole!

    Step 1: Open a terminal

    Step 2: Run this command: ssh-keygen -f ~/.ssh/my_key_<date> ...

    Step 3: Submit (through whatever means appropriate to the environment)
    the contents of ~/.ssh/my_key_<date>.pub; do not ever, no matter what
    anyone tells you, share the contents of ~/.ssh/my_key_<date>

    Step 4: Update ~/.ssh/config to indicate IdentityFile ~/.ssh/my_key_<date>

    It's not _that_ hard. I'm pretty sure pretty much anyone who can
    meaningfully use SSH to start with can figure that out.

    --
    Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to Jeffrey Walton on Wed Mar 20 14:50:01 2024
    On Wed, Mar 20, 2024 at 09:23:58AM -0400, Jeffrey Walton wrote:

    [...]

    Also, are you saying that you do not let users rotate their keys themselves; and if so, why on Earth not?

    Key continuity has turned out to be a better security property than
    key rotation. It is wise to avoid gratuitous rotation schemes.

    I will be the last ne to advocate any gratuitous rotation scheme (key
    or password or anything).

    My point is giving users enough wits and power (and competent help) to
    make good decisions and to implement them.

    If my laptop gets stolen, I'll definitely generate new keys.

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZfrnmQAKCRAFyCz1etHa RlFaAJwOw9MRlHNd/cfF90Xum/k9h4WdUQCZAd3UnvnMOkUxUmG/NFiU0OOgMeY=
    =H5nA
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to Jan Krapivin on Wed Mar 20 16:00:01 2024
    Jan Krapivin <[email protected]> wrote on 19/03/2024 at 15:42:55+0100:

    I read Debian Administrator's handbook now. And there are such words:

    The root user's password should be long (12 characters or more) and
    impossible to guess. Indeed, any computer (and a fortiori any server)
    connected to the Internet is regularly targeted by automated
    connection attempts with the most obvious passwords. Sometimes it
    may even be subject to dictionary attacks, in which many combinations
    of words and numbers are tested as password. Avoid using the names
    of children or parents, dates of birth, etc.: many of your co-workers
    might know them, and you rarely want to give them free access to the
    computer in question.

    The thing is my password is very easy now, and i haven't thought about "automated connection attempts", that sounds rather... scary? My
    password is easy because i am not afraid of direct physical access to
    the computer.

    But... if there is a serious network danger, then i should change my
    password of course. But how strong it should be? If we speak about
    network attacks...

    Any machine accessible through network connection could be more exposed
    due to an overly simple user password. This is more true for root as
    it's a well-known username (no need to guess the username) and it has
    inherent full privileges in classic GNU/Linux distros.

    it should be like 32 symbols with special symbols? Or this paragraph
    in a handbook is rather paranoid?

    It's not paranoid.

    I have activated sudo now for my regular user. Can it (password of
    regular user) be less sophisticated than root password? Because it
    would be rather difficult to enter 32 symbols every time i wake my PC
    after suspend.

    Have a read at https://xkcd.com/936/

    Strength of password increases far more with their length than their complexity.

    A phrase you will easily remember but that would be hardcore to guess
    through social engineering is perfect.

    If you're weird as I am, and used to remember 20+-character-long random password with symbols yadda yadda, then it's fine, too.

    Also you could invest in a security token and configure pam_u2f for
    root, but it seems overkill for basic users.

    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX694oPHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLqH0QAIeGDAkuivjikjAWZY/TDosv0eNo7QTkuqT0 c4mfiHffNIpeR9idIO5YkzPcxj6snkppau9cKSl/nWfxYzKMWiM9Ulb7lTdkFJhO hH+N0z4keljBuXuNWcqMme4O+x5z4IJdf6IIhXlKsdPt5AQniMJ9slO3He2aPmJ5 FU9kWePM46kSGzgEKJoe2jKpiOKkxQMDbkQFBhMJ9ZnnWda42eeOV2k1z8XOA7Bk AELNeuox9+O4s67gF4+ZUYuJFijEgyt9sxDc+j+fRa+ONa/GHPhJksc62rMY8qLZ 8NGIelUl4UAVG7cXjbswHqFCqJJ2eoB8TRkcdgOWuyvdpaE7hvIWw5UKZnGmTmEh nmNw8LhqmUkExI9sVgfMX/QD/OqQxp6lr+6i0d0RRQK3+ax3dhMKIBAOXmo26x5p tzfypJjCgE3fs//1XzCRE35kQ9HWaS+rZWjtYPHkeK2OKofjhARObOhyGOjEDyZp WGcRo9yuFcc2qNTaUUd7B6Mp7IWQWbCgPcV1BwAXDpRimDeLgI60Afa5GE2zhV7V oIQ720hWm0uOL7H5YP0KlFZBimmFMVtDuOGvyhzF80OzKSLkeyv6OrVtWP+0C/dA L/F3DFshVNPfF+Jzl3H2IULOqK4b0xk5IP5Y+l8dXWam9i5enUmyBS7NHUs72Td5
    fFG0VD/7
    �p8
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Wed Mar 20 16:20:01 2024
    On 20 Mar 2024 15:45 +0100, from [email protected] (Pierre-Elliott Bécue):
    it should be like 32 symbols with special symbols? Or this paragraph
    in a handbook is rather paranoid?

    It's not paranoid.

    For 82 symbols (mixed-case alphanumeric plus 20 special characters),
    32 characters is equivalent to about 203 bits. (82^32 ~ 2^203 or,
    expressed differently, log_2(82^32) ~ 203.)

    At a rate of 2^50 guesses per second, that will take about 3.6*10^38
    _years_ to go through. A widely agreed-upon figure for the age of the
    universe is around 1.4*10^10 years. Therefore such a password would
    take, very roughly, 10^28 times the age of the universe to brute
    force.

    Of course, with only 32 characters actually chosen, the character set
    size can in principle be reduced to 32, yielding 32^32 = 2^160
    possibilities. At the same rate, that would take about 4.1*10^25
    years; a measly 10^15 times the age of the universe.

    I sincerely doubt that guessability of such a password will be the
    weak link in overall system security.

    --
    Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to [email protected] on Wed Mar 20 16:50:01 2024
    Michael Kjörling <[email protected]> wrote on 20/03/2024 at 16:16:41+0100:

    On 20 Mar 2024 15:45 +0100, from [email protected] (Pierre-Elliott Bécue):
    it should be like 32 symbols with special symbols? Or this paragraph
    in a handbook is rather paranoid?

    It's not paranoid.

    For 82 symbols (mixed-case alphanumeric plus 20 special characters),
    32 characters is equivalent to about 203 bits. (82^32 ~ 2^203 or,
    expressed differently, log_2(82^32) ~ 203.)

    At a rate of 2^50 guesses per second, that will take about 3.6*10^38
    _years_ to go through. A widely agreed-upon figure for the age of the universe is around 1.4*10^10 years. Therefore such a password would
    take, very roughly, 10^28 times the age of the universe to brute
    force.

    Of course, with only 32 characters actually chosen, the character set
    size can in principle be reduced to 32, yielding 32^32 = 2^160
    possibilities. At the same rate, that would take about 4.1*10^25
    years; a measly 10^15 times the age of the universe.

    I sincerely doubt that guessability of such a password will be the
    weak link in overall system security.

    I'm referring to the paragraph in the handbook, not the 32 random
    character password.

    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX7BP0PHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLsq8P/1Pd2i5/YO5OVI2DyKcKG0FWb7DmyLguS83W dEm+rK3I2Kq8VsPBSZK6qpfy6LALe69i2cTN6OXLZsQV3Qnu2obRtvGXkYBSr+W9 I1MbDx0k71TchBHRreYDKoUqaMF3pS6/zIe5XdnUwctWRtFv+kiOb3i7cwHCkc8X aAUvbrEOlP9YA9mtlw/iSi0r/wJVoQkjhVlFIG5KweJT0w4tk5fbwOsWZBX/rYMp St2BaPo5VesUPXJpD+d6J+eUdgC/thhXvHF1VA/mt8Pa9ytCjQ2n++eRDCfJ3jK/ VaFDyDX1NMJrcthpg6eMxi0wm1frD4Nl45FaVdrAIEcV5fj9wZFRneT9RIQGO6AY 7asD1Qxyq5ETBfaDDo8dO23ym3CbD8lUIpP65PnPKFo9e/mgbtwa7OnxzVgeVL/m 5XENLAy3mX5yR/gzkt/swu2wXoBeHRbLivf0nkNBYcurRkqRG7rpaPYtGN70GF9N QpwNwPGTPlV8dHKDOSfgYajILZRpr2FwVSwGoG8ZvYW4n9cRy8Hf+aFDGAIVh1nh 4iIXQLi1Q49aW4IbK5+PLKUz1WasHow9P1j+fQMzN01VHfdBiSMjnsxhjtvaS47E QBOeEbzqzDZQdAZaXm04BmauJVElSyfTwJ4pr27IuXTjKA2eyv5J/K3WxMrZYjyi
    LSuV57Um
    =gjWa
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Hasler@21:1/5 to All on Wed Mar 20 17:00:01 2024
    Pierre-Elliott Bécue writes:
    A phrase you will easily remember but that would be hardcore to guess
    through social engineering is perfect.

    Better is a random string that you write down. When people try to
    generate phrases that meet those requirements they usually fail.
    --
    John Hasler
    [email protected]
    Elmwood, WI USA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Wed Mar 20 17:10:02 2024
    On 20 Mar 2024 10:58 -0500, from [email protected] (John Hasler):
    A phrase you will easily remember but that would be hardcore to guess
    through social engineering is perfect.

    Better is a random string that you write down. When people try to
    generate phrases that meet those requirements they usually fail.

    Which is why I keep recommending Diceware.

    --
    Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to John Hasler on Wed Mar 20 17:10:02 2024
    John Hasler <[email protected]> wrote on 20/03/2024 at 16:58:01+0100:

    Pierre-Elliott Bécue writes:
    A phrase you will easily remember but that would be hardcore to guess
    through social engineering is perfect.

    Better is a random string that you write down. When people try to
    generate phrases that meet those requirements they usually fail.

    Writing down a password is a bad idea.

    Managing passwords through a password-store (eg pass, keepassxc,
    whatever tool you prever) is a great idea, but you first need to unlock
    your disk that hopefully you encrypted and then your session. And if
    your laptop is borken, then having a root password you actually can
    remember is better.

    Let's stop to overcomplexify, the best course of action for passwords
    you need to remember are passphrases, and to this matter, Randall nailed
    the matter properly.

    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX7CioPHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLWwgQAIMopXPOBVolLSQGdG5PDvCKgV2afGnbFKrI YP1P77V43JOaPIX6yrSixr/FhjMwZb03E9g5JSIiI8qHeV3toz5XWnPx83VsRNUw zLIHuz2Yw7AhCnT/b+HxLxnwXbAe1E1FEy1SmmjtXJnCGC63DZOwDuqWfFwRgf8G XFer8MbTS4puZsfj43y1TQG13avTGogMHOljmA2FhRvWCeD2T1CMEq34V12/rqQU hXiMCkVYmVipPRkXppz3xbCyKXlcMYXPcGulNUP183K3PzqIYqM+svNkOtY4G2hA sgd2/NBdMbr3MbW6GYZ+HXshdoZEw8fpNOX34N14a+ebKxWYjb6CH+D4bzF6rBuH SlK4DgcFC7KqLGgEebL+4t18gCJKYrh3z15rFzMXnCdppsRLUjkwv42+yNv7BRz3 yomARo0lwrmTxCHrd7Mi6SySkv9AyPjzOszYE3xsaCyauTe5N+4Aq4kVyP4gIya/ 2iCeH60FVnv8L7DJ9ViyeL06dCr7OI5b2b1EoSNssxr0UbCO3lMRSViMvjIhLoAn c6HFb8xy1UcbxPP9xPL1b0CbuGiB8nxru8yteiCFeCoVdVVMdn3zA+GxW7w2LwsJ vXH+7O8vgAIbaEJLmClvyxwySxGlPlxqa4zGLaE4VctiGusB6BtrzQ5sUT5X5Hld
    AAS0ThAo
    �Ve
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Hasler@21:1/5 to All on Wed Mar 20 17:10:02 2024
    Use one of the password generating programs such as pwgen to produce a
    12 character random password. Write it down.
    --
    John Hasler
    [email protected]
    Elmwood, WI USA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to John Hasler on Wed Mar 20 17:20:01 2024
    John Hasler <[email protected]> wrote on 20/03/2024 at 17:02:41+0100:

    Use one of the password generating programs such as pwgen to produce a
    12 character random password. Write it down.

    Most of the time, writing down a password is a very bad idea.

    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX7ClQPHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLVvoP/2cL1voQNeti7oRY6GCwrs9TDFm0zqxbQCir b0OxY+aDSGVMyrut4I/v+oUha6RTNeS0uBZycctOnojnkteZ3LRKRP85ZOj0VTpF yyAucPHmWM11eSymrqQ0uFgCeKVeIyU9K4yKEj3X0khauyTGSgbNbYd1BYCivGXs H5vl4r/pNdESwLYCC5J+1akROJgtKlppoBZKPPvjno6aXSpPkBWMJMaUxdxRz7MD BILkqWjfUHFQuqRqjkUVD+BMqwSvRiZh2pUD9ZFeyRG9eaD3CrSwvuQcUbPby/c9 0VNbNykZlK1eX2davUmXhobupZVSBnuGQM2mTlUedRfedVP9WbNsEh1kjcVSVLO0 HOi2sEq5nwR2qye6nL4fmYdjPvwrToRN2QhxpqnRjnuKzOSabjEO0zthzJ7IcvwI LT0lRA9olxvcAqK5pHMt/4+PEmF3opdfwMOZSKVsOJ+QW04nrMS0x1Yu7IlVTrN8 2qjDdxbaE9Yj9r4NpxhnHX3hGeLnnrSEKgMEsFHNrLBRF5ejrl4O9Y+7iMQksmxJ YxMr4ccsamhDQXFAeZzBpYLvzGXcolBkInSOkHzzEWX6QTn24wkU2YZ36eXQYYDK DF+0wMG9C0IdZW2pUkUGEM1uP3/ifQynqppYt3SRGKSbX3Rb7UP+6xGp9PuU43Ie
    0N5X+JZ/
    =wYZD
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Hasler@21:1/5 to All on Wed Mar 20 17:30:01 2024
    Pierre-Elliott Bécue writes:
    Writing down a password is a bad idea.

    Why?
    --
    John Hasler
    [email protected]
    Elmwood, WI USA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to Jeffrey Walton on Wed Mar 20 18:00:01 2024
    Jeffrey Walton <[email protected]> wrote on 20/03/2024 at 17:19:46+0100:

    On Wed, Mar 20, 2024 at 12:09 PM Pierre-Elliott Bécue <[email protected]> wrote:

    John Hasler <[email protected]> wrote on 20/03/2024 at 16:58:01+0100:

    Pierre-Elliott Bécue writes:
    A phrase you will easily remember but that would be hardcore to guess
    through social engineering is perfect.

    Better is a random string that you write down. When people try to
    generate phrases that meet those requirements they usually fail.

    Writing down a password is a bad idea.

    I don't think that's true anymore. The threat being mitigated is the
    network attacker. The network attacker cannot (yet) reach through a
    monitor and read a sticky note.

    Mitigating a specific threat by adding a new one is not a proper way to
    handle a threat when one can avoid both.

    It is also why its Ok for a system to generate a list of recovery
    codes, and have the user print them and store them in a safe place.
    The other option are those cursed security questions, which have been insecure for about 20 years now (but developers have their arms
    wrapped around).

    A recovery code is generally designed to troubleshot 2FA issues, not as
    a replacement for the first layer of security that a password is.

    And therefore if it were to circuvent this first layer, then no, it's
    not ok to print them, except if you indeed have a safe.

    But in general it's a better approach to avoid having to resort to
    printed password on a paper.

    Managing passwords through a password-store (eg pass, keepassxc,
    whatever tool you prever) is a great idea, but you first need to unlock
    your disk that hopefully you encrypted and then your session. And if
    your laptop is borken, then having a root password you actually can
    remember is better.

    I believe NIST now approves online password managers. But I don't
    trust them given the number of data breaches.

    Yes, but I wouldn't dare use one.

    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX7FBgPHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLqhoP/2d4mqJCyE/CzD7tTdkq2R8ph6l2zwc9MzwM 2DMQDGls2UDMUayV7Wwluj8EyYOm4yPHKubQEn63askYQlMZC9F5PRD9yoZD/0Jb xKopHRq1zLO8DyTPueijBeKPcEjKpvCvtqslgmOxkNrbZdxVpqzafvm+Pl6bP6nL ZCIygN2cXFGyMSqa37BZ9DDMtvrbdAxfFl0Nr5KtjuAw9oRIy+xn1G+DeV/k+npp ibOG9Xddf65ZeZPVwJlA1waLFQV+K04Hb0P/OZgEsOjKUzzOR4p7/+THK1b6PgJN innzf9StU6EzJWhmtYg4pASN+LTAxOmuPNCYML16nU+5bZE/CF/eck0IwGkkTxN9 yAhnQAKaQj1lJY1M510QUSjs0sKbOadFphRpX7vWzOl9zTzRCWIhemPbdgEi/Yhj rBHBJK2wV6uzsf9shi/91Sr/OMNLSPk3wwhBKH0bSHaTAJK560TzKbHFoVBLTlIk 4jvY+yh7ntqoiUhjN+0PcVa9drCv/8tM8nM0xEPdxWTzH118FjCvUEUvCP1/muz5 YZz7l0pJy81RFO5IEkR/E5tczvbzjlBoZjd8xdNzNCBa8LohD1vzEX5KLx/7K/Mj 5AXAyLfQwNrV5RHqcyJ9m9grwXPYrEfQMK86Bh6MLKZe7AhMFLBRpcdnjJ75jq0x
    sjB9xJbb
    =QjSP
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to John Hasler on Wed Mar 20 18:00:01 2024
    John Hasler <[email protected]> wrote on 20/03/2024 at 17:21:20+0100:

    Pierre-Elliott Bécue writes:
    Writing down a password is a bad idea.

    Why?

    Because anyone falling on the paper with the password can do a lot of
    harm. Because you can't control what this paper will become with
    certainty, while it's easier to make sure you won't spell out your
    passphrase from your memory randomly. Because if at some point you trash
    it accidentally, then you're locked out (happily redefining a root
    password is ~trivial even if one lost it, but if it's a LUKS password
    then you're as good as done with your data).

    And because it's a bad practice that people tend to generalize and then
    in some not so remote future, a company's IT infrastructure becomes a
    pile of ashes.

    Don't write a password down.

    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX7FPgPHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLxkYQAIupEjRqoM8KLAiqJEVllxnQ+CWYfpvhdtTa gSNsIFM+GobeGd5iM6+qCLT1hN2oJDato1LOxGLg8u5FB10zT8lnG3MAuzhtNS8D 4IM3HkIHY5g/Gs5wOz2gZX1MhirYBG8bT1E758xQETWIPWV4gb50apSpY5FYZw1/ KOWyqa/bDZxNbPh3EI4yf77fRYFOMrRmxjYZmy34GZe4X5ptrbg+ZCkBvwI5fKc4 QWK1INXI2zotlIv524PLnr80gychYfMRoF+XPm6MaRIOqYyUYAI3wybFqK4Psw9D gfyohJLeXRDedEyaaIyh7LC++0kSI76bLc9lJPU7cArXAd6mCMRTlpHy4ejxzUcs G9x2GlfN9y8FGfDSyyfRknzppziAZZO9eSpk4Y8GkY7ym7g4tR9hjpvdDSW+DogS Xrq91ldZqhYoHeb5mtSFDjnP6QlblkDF0XDgiY+d/El2cUk/8cGzKn34BCakfEd9 YdpfwHgllxpJQCMIPQnT8NGhotURAc/VOUnw8sSI3K7qWBGAXW6c6QNLItM56mAF IzAaz/N8J8lEKFPzGiHjj4htG1icDK+guA+NCrOhatV9JA61+4bMnUN5JcLDs6lT Yv03yYfWP8wWfbX9cnNDq8f7AAwS1bgbTjXqw+WijIDvS0+iS3oVTyrb6mfOcHeK
    Fn0Zvycf
    =V62W
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to John Hasler on Wed Mar 20 18:50:01 2024
    On Wed, Mar 20, 2024 at 11:02:41AM -0500, John Hasler wrote:
    Use one of the password generating programs such as pwgen to produce a
    12 character random password. Write it down.

    Actually, I use between pwgen -n 8 (user pw) and pwgen -n 16 (LUKS encryption). I memorize the most important of them. The older I get, the easier it gets (surprisingly :-)

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZfshpwAKCRAFyCz1etHa Rnr1AJ9UKeIiMOnYYtvl+YWCujGaFavl8ACeIAByrX4y1Ge11jjaSH1RuqC8AuQ=
    =UFSy
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to Brad Rogers on Wed Mar 20 18:50:01 2024
    Brad Rogers <[email protected]> wrote on 20/03/2024 at 18:39:30+0100:
    On Wed, 20 Mar 2024 17:09:31 +0100
    Pierre-Elliott Bécue <[email protected]> wrote:

    Hello Pierre-Elliott,

    Most of the time, writing down a password is a very bad idea.

    Not in your own home. And in any event, it depends where one keeps that 'written down' password.

    And if it *does* become an issue at home, you've got bigger, more
    immediate, problems to deal with; Of the intruder variety.

    You have a rather bad cybersecurity approach. And you did not do a
    proper risk assessment.

    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX7IRIPHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLC6QQAInXnd//tn3lijLMc1pMfKDmh/U0aef//21E GR0WyVj9k2oo5IL8y1MYXEj5pb4SPWrSz2CU6M9Ld241eBz7qhq3nZnyReeyJvca V7ED4YJHS/SM/GylbSOMwxu46+lGDhp5jXlWjqViEhXVNkqqxGXV1/mAH2pfKfUa N0ldVkn+tyxyvJQBjb9Ap3dFQUSVbssrUJhPOO9pfxs7fMBk1d5VdERAzoxjolpe kZhcONd89+zNeQtpOqZR4IhRsv6eTerv4lYHC+b79kY8jvS6gY9otNELsT/4VaPH kNvCvow/HLAbsvJrzyt+/ielIRzUveGnWE1E2NjdSg5MVeMEcikorytuZjJ3HK0e ZQfvv3Bu6y4h8c6O0VpLE+H3FGyUPtbI4UZdO8BWsmXao8emmIEWACURI32edOCD wsriP/6fi8uOZWFenkG2r9tlSEum0pori1BzY7pCNdUVzM8h326Qg1iNFCPqc3Pu JUhUtQSltX7qbzpEcOSCpHI1yxv8Lb/s/OrGbOIKrxU4pvPW2PnuUm5GOt8hLNbi JM0zwdmOa5ilWsxvueSJTnlDXP9r+hh1mw/XHCrA9GQsnIf+JcZW2V45rf+wZDKO VNSx8c7tRVM+5LYYvRlgcTGjiplohuAxAjzLu8lgny0ea2cxA9eyyk3PnHSpi312
    bkKuFXeI
    =sBPT
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to Jeffrey Walton on Wed Mar 20 18:50:01 2024
    Jeffrey Walton <[email protected]> wrote on 20/03/2024 at 18:30:34+0100:

    On Wed, Mar 20, 2024 at 12:51 PM Pierre-Elliott Bécue <[email protected]> wrote:

    Jeffrey Walton <[email protected]> wrote on 20/03/2024 at 17:19:46+0100:

    On Wed, Mar 20, 2024 at 12:09 PM Pierre-Elliott Bécue <[email protected]> wrote:

    John Hasler <[email protected]> wrote on 20/03/2024 at 16:58:01+0100:

    Pierre-Elliott Bécue writes:
    A phrase you will easily remember but that would be hardcore to guess >> >> >> through social engineering is perfect.

    Better is a random string that you write down. When people try to
    generate phrases that meet those requirements they usually fail.

    Writing down a password is a bad idea.

    I don't think that's true anymore. The threat being mitigated is the
    network attacker. The network attacker cannot (yet) reach through a
    monitor and read a sticky note.

    Mitigating a specific threat by adding a new one is not a proper way to
    handle a threat when one can avoid both.

    What does your threat model look like?

    My home sees plenty different people coming in. Some I trust, some I
    trust less. Also videocalls is a nice way to get a paper password
    recorded (and yes it happens).

    Same goes for company.

    Are spouses who go through a purse or wallet to retrieve a company
    password a threat in your model? If that's the case, then you have compensating controls to mitigate the threat, like physical security
    on the office workspace.

    It is also why its Ok for a system to generate a list of recovery
    codes, and have the user print them and store them in a safe place.
    The other option are those cursed security questions, which have been
    insecure for about 20 years now (but developers have their arms
    wrapped around).

    A recovery code is generally designed to troubleshot 2FA issues, not as
    a replacement for the first layer of security that a password is.

    I believe recovery codes to regain access to an account due to a lost
    or forgotten password predates 2FA. Most businesses I've worked with
    use a Self-Service scheme, like recovery codes, to avoid the Help Desk
    call. Some use the cursed security questions.

    Yes, but in that case there's another point, which is a contact mail
    address.

    And even this way it's problematic.

    I am aware some European banks use Temporary Access Numbers (TANs) as
    a form of 2FA. (I've never seen them used in the US). Each month a
    [new] TAN is included with the printed and mailed account statement.
    The "postal channel" is considered reasonably secure. Again, the
    threat being mitigated is the network attacker, not a nosy spouse.

    Again, trying to mitigate one threat by creating a full range of other
    threats is the receipe for disaster.

    And therefore if it were to circuvent this first layer, then no, it's
    not ok to print them, except if you indeed have a safe.

    But in general it's a better approach to avoid having to resort to
    printed password on a paper.

    Humans are human. We have to understand their psychology and
    limitations. Part of that is realizing a user cannot possibly remember
    all the passwords required in the internet age. A big part of the
    problem is what is known as the "Selfish Security Model for Password Authentication." Each website wants a user to have an account and
    manage a password. It is an impossible feat for folks to accomplish,
    and that's why problems like password reuse across security domains
    happens.

    Noone asks someone to remember more than two or three passwords. The
    rest belongs to a password manager.

    And people can do whatether they want, it doesn't make it anything other
    than a bad practice if it is one because 80% of a population does it.

    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX7IMQPHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLin0QAJASv8YkMT7Q5yEeUSJuJa+v1iApVrQjj+Q0 LLpVVCpE9XMuYVoDJAnFKDiZIkZHKIzYkxTfoi8UnaI8kBefAGovL41sfQXSQa1A RTsxCLtkG7O8CWUwFWEUqdlKdg5tur9MQzH2MBoPQWMCVSJRKE6m7wj7XhLJVWKF vYNMiSP+36WVy+ie06p4wr2dm6ALgYlvKVfUSmt3oAl0iDCVjTVbIBKzHcAi7Www BJTMH1TMYT3KmoPGDiXFCTQ7gUbhGAj7GUy2xZ517Ujf6EzXavYyr0KusWEIlNC9 ELvoeChKqQGRVktlu8pFh7BjE6by4txLDqBis9grzjF5xb5wzuvwDMg9o9ldeFP/ VplOjnPP5ONPin8KOMBGhiYKNOlLEHEozj8f3BdJdzyrr33TuMU0cEEpL9VGZ5vT FmOGzwheXKgxbqVk8Y7W75qJ9W6a/XlN0aMEnZwqAgLkcPefBdQVek/lPSXecaOT TcZWAz7CfddeWXPDYD0IEypdX1u0bZnsM7jthpQHttdhWgx68hYnERWGUkwHndtZ dZ3KV6nH/iyt8+0wZ3CDhoNKBrPpdZbjgt85PVh/bQhnvf36iKwLtzab+P70Flw1 i/Y7ufwSQHTY7wCKvA3Se48xxK8E0YQMNp9Nb94j+YOqIbsxj13QSMdEiONW+3rp
    YDQZ9uV1
    =/0Yn
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Wed Mar 20 19:10:01 2024
    On 20 Mar 2024 18:46 +0100, from [email protected] (Pierre-Elliott Bécue):
    Most of the time, writing down a password is a very bad idea.

    Not in your own home. And in any event, it depends where one keeps that
    'written down' password.

    And if it *does* become an issue at home, you've got bigger, more
    immediate, problems to deal with; Of the intruder variety.

    You have a rather bad cybersecurity approach. And you did not do a
    proper risk assessment.

    "Writing a password down" can also be known as "using a password
    manager".

    Which I would say is _solid_ advice for just about everyone, because
    if you're doing passwords properly and have any kind of Internet
    presence, you have essentially no chance of remembering every last
    one.

    The requirement being, of course, that you use a trustworthy password
    manager and a _very good_ password database protection passphrase.

    Learning a handful of strong passwords that you use regularly (FDE
    unlocking, login, password manager, maybe another set of those for
    work, and perhaps a few others) is perfectly reasonable, especially if
    you aren't arbitrarily forced to change them every few months.
    Committing _every_ password to memory is completely impractical.

    --
    Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Wed Mar 20 19:20:01 2024
    On 20 Mar 2024 17:07 +0100, from [email protected] (Pierre-Elliott Bécue):
    Let's stop to overcomplexify, the best course of action for passwords
    you need to remember are passphrases, and to this matter, Randall nailed
    the matter properly.

    If you're referring to https://xkcd.com/936/ I believe Diceware
    predates that comic by over 15 years. Reinhold's page has a copyright
    going back to 1995; the XKCD comic first appears in the Internet
    archive in 2011. Even the domain xkcd.com wasn't registered until
    2003, roughly coinciding with the Internet Archive's first capture of Reinhold's page at its current URL.

    The XKCD comic isn't bad, but it completely ignores the issue of just
    _how_ the constituent words in the passphrase are chosen. Diceware
    _explicitly_ addresses that.

    --
    Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Hasler@21:1/5 to All on Wed Mar 20 19:40:01 2024
    Pierre-Elliott Bécue writes:
    My home sees plenty different people coming in. Some I trust, some I
    trust less. Also videocalls is a nice way to get a paper password
    recorded (and yes it happens).

    I keep my passwords in a small book the size of a passport and I secure
    it the same way I secure my wallet. No visitor is going to get access
    to it and no video call would get a look at it (if I did those). Bruce Schneier recommends this approach. Most people are going to use
    crackable passwords if you insist that they memorize them. You can't
    stop that by yelling at them.

    I use a password manager for non-critical passwords, but I also write
    them down in my password book. I don't want to lose them in a disk crash
    and I won't store anthing important in the "cloud".

    The never write down a password rule originated back when you only had
    one 6 or 8 character password which you used to log on to the VAX via
    the VT100 in your cubicle. People would stick a slip of paper with
    their password on it under the keyboard where the janitor could get at
    it.
    --
    John Hasler
    [email protected]
    Elmwood, WI USA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to [email protected] on Wed Mar 20 19:30:02 2024
    Michael Kjörling <[email protected]> wrote on 20/03/2024 at 19:04:10+0100:

    On 20 Mar 2024 18:46 +0100, from [email protected] (Pierre-Elliott Bécue):
    Most of the time, writing down a password is a very bad idea.

    Not in your own home. And in any event, it depends where one keeps that >>> 'written down' password.

    And if it *does* become an issue at home, you've got bigger, more
    immediate, problems to deal with; Of the intruder variety.

    You have a rather bad cybersecurity approach. And you did not do a
    proper risk assessment.

    "Writing a password down" can also be known as "using a password
    manager".

    In that case it's "type it down". "Write it down" is not really open to ambiguity.

    Which I would say is _solid_ advice for just about everyone, because
    if you're doing passwords properly and have any kind of Internet
    presence, you have essentially no chance of remembering every last
    one.

    The requirement being, of course, that you use a trustworthy password
    manager and a _very good_ password database protection passphrase.

    Learning a handful of strong passwords that you use regularly (FDE
    unlocking, login, password manager, maybe another set of those for
    work, and perhaps a few others) is perfectly reasonable, especially if
    you aren't arbitrarily forced to change them every few months.
    Committing _every_ password to memory is completely impractical.

    Ok, so you reply to threads without actually reading them?
    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX7KMYPHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLLVAQAIg+SoeQbxIrCj7hoKAAf79a99GOdVji5PX9 brsEvMMFWgBQ+XR63oT2xaWBmurOSxSHJb5LKwVyIJHXLDebxfYlu3eBDf314Bsf gUr3YhUanl4IGovDQAajnmDGr/9mNb7qz/6GAQrVXP83D21yWQpIRH5V8jE8bF2y Vpghy6U7yckRvfyBMsLYqQPkMdPukz6dMi8YzpQRsrg7dNm0hQJ/K4BGLyNlS3Uw ijk2wTqc5eLRwAloHKOyzVs3K5XsYHoFvaYuhh0p+sMS9+NwPkTPmajxRt6G/MuL xhINKRsA7klWzsnZxc+hE9xlSy/lhfH7/SuadA9HC/csgPDpc6Bq2lavmOflo9YK YWNiW9UUnB4KOHKkH0R6Ut4iykyf5udcUS+F27m63iRfEY1VSiJaDIYncTEOf/Ug 6fk6GqwTRNW18ciRXhO93x22BEts4oMvtMq9qaLkhdoHp3T/oSjOy6thOtt2oRmb 64LAv+JpGBbIXYYVQb35sh3fq44qrjXhLCzxgNty0S875RXZGevqZXVCyfRf6+/m 8djK89KgOlw930X4z+JaNf5/jWKS94bp5J641+p9FCO+g4a/lpqZIdelfDmMRrDC JmQpCjPZDJYp6dkZ/DQclLDMGRATufRu6sn1fuTPGP+AVeYIFkdKZdBtOj+P6xwt
    SonJtpS6
    =asmd
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to John Hasler on Wed Mar 20 19:50:01 2024
    John Hasler <[email protected]> wrote on 20/03/2024 at 19:35:42+0100:

    Pierre-Elliott Bécue writes:
    My home sees plenty different people coming in. Some I trust, some I
    trust less. Also videocalls is a nice way to get a paper password
    recorded (and yes it happens).

    I keep my passwords in a small book the size of a passport and I
    secure it the same way I secure my wallet.

    And yet your digital persona is less secure than if you didn't do it.

    No visitor is going to get access to it

    If you indeed put your wallet in a safe, then I can understand this
    statement, otherwise it's just overly optimistic.

    and no video call would get a look at it (if I did those). Bruce
    Schneier recommends this approach. Most people are going to use
    crackable passwords if you insist that they memorize them. You can't
    stop that by yelling at them.

    Bruce is excellent, I don't know whether he actually stated what you
    said, but even if he did, being excellent doesn't mean that whatever he
    says is golden.

    And remembering a passphrase is easy, not easily crackable if well
    chosen, and you don't actually need to remember more than two of them
    (let's go with three if you have a PGP key).

    I use a password manager for non-critical passwords, but I also write
    them down in my password book. I don't want to lose them in a disk crash
    and I won't store anthing important in the "cloud".

    And then, backups were invented.

    The never write down a password rule originated back when you only had
    one 6 or 8 character password which you used to log on to the VAX via
    the VT100 in your cubicle. People would stick a slip of paper with
    their password on it under the keyboard where the janitor could get at

    I don't know whether this is true or false, and it doesn't really change
    a thing.

    As the other subthreads I'll leave things there, feel free to defend one
    more time a bad practice regarding password management if you feel like
    it.
    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX7LwgPHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLjLEP/2dD9XD+lQg2qOxmWeBu56HzLepHxXwwz88f ROYjkPEdGTBNGfmOnuzAO7yr/nSrT/+7krutZtq8UdlxzrOWKvIhBJR1WJhu7Q2E tWkoNVvfaGZMYhGdv4vmfasHjdZ9hxyg1H7BLMI5DwkkhTTIB330rxQ2uF48zQ7a 7J8Z/sGoOTS7U3DAuiB7orjEjF/NycI8eiV0DI0dwQufdVZG/oaJi5lsX+JiQKEa 3ZqTPMTmKVpw0vgXao0UCFI1R3Xg9rvdkl9QsQsLquYJbI1Xm2hF3mtAOHFKKT3O 2WVGQQhawfEQDM/46b0tBNadcuo30SeiSBl6AcGIleCuiIbN1BJytnsDDwM1UI8D NcBC96HVi94knqyIi22lgsMCL5ns1s5CVtpHbHAWR6ZXwHmtpQ+qYSiVFLqLt482 tRgSlQkKz/gNBSyNyJS6GKSkP/YXIw5BhcnnGj6PwCk1mUvFW041taqZUZJXqHkE Y1H9qvzO91CX1p4K5KNRU4kD7LUksix2FdNt4Y/YpZmXd6QbejrSra/yQ9EP10xl NRjFiCDO+JRqOTIlnZqBuFDqWgsEGWDdwvL7K44Km28w+kfaTDHxY/oaJKEA6Itn ZxkzepRXXaV6WREPuZmEyzs8TPADP7mfrZTMPopfQqsdQ4wuLhd2IrKjnK9BZNd1
    Ym+FtNyb
    =elqn
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Hasler@21:1/5 to tomas on Wed Mar 20 19:50:01 2024
    tomas writes:
    Actually, I use between pwgen -n 8 (user pw) and pwgen -n 16 (LUKS encryption).

    -n is the default for pwgen. Note that this slightly reduces the size
    of the search space. Unfortunately many sites require it.

    I memorize the most important of them.

    I memorize the ones I use most often through use.
    --
    John Hasler
    [email protected]
    Elmwood, WI USA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to Brad Rogers on Wed Mar 20 19:50:01 2024
    Brad Rogers <[email protected]> wrote on 20/03/2024 at 19:03:48+0100:

    [[PGP Signed Part:No public key for 0F3EE001F02A3E20 created at 2024-03-20T19:03:48+0100 using RSA]]
    On Wed, 20 Mar 2024 18:46:04 +0100
    Pierre-Elliott Bécue <[email protected]> wrote:

    Hello Pierre-Elliott,

    You have a rather bad cybersecurity approach.

    I use password generators and vaults for all my passwords. Nothing
    wrong with my cyber-security.

    When you state that something like "writing down" a password is
    reasonable in one's home as if this actual home were a heaven of safety,
    I beg to differ.

    Happy to know you actually have a more sensible approach in practice.

    That being said, your root password might be needed in situations where
    a vault is not accessible yet (let's say your laptop is in a bad
    shape). So a vault can not be enough.

    Also note that I put 'written down' in single quotes - it was meant to indicate that the term could be a euphemism for such things as stored in
    a password vault, a secure note on a mobile phone, and so on.

    It's not the original point of the thread, so while I can understand and
    agree your understanding of "written down" not including a paper or
    paperbook, it was clearly not the understanding of the initial post.

    I guess I'll leave things there for good, anyway, people will do
    whatever they think is best, regardless of cyber-security concerns.

    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX7La0PHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLIIkQAJVu+M6xCm9ycolX3NahgMU4XUxa4O+AJePE DEL3okl/6kHR4D85Vx6n18eoBSLG9rhXyctxySIn3ttWD9/DmyRe3Eo4mNUCZSdq fAXCjY9tq72BYaK65P8BWBLTM7kY2Bms/TXbkK2wVI6f4ADeiKqqu6u+J48tTXIJ X56bq6KYJCyrOzytkquhWVC2kmk0GubgTyT4VhZr6nzWqmrX2l7aYi3nnwr+tW6U wpcWyQOL3Jr8axyTqezwYpXT0SiX9sGcZcQ7iEgFo2jRVTXERO+jk6H/vEQYLtId 8P/hSydCF9zRsudC6LlshNZb9pXGjcrBSCsIEIi16GmYQc+lmQMGg3TCW9gfjdyp RcB6kohtgiH25At/vIm2wbs4yEzIvdAiSm16ripxSIzpGVWAF0402eWR4xOgfgXq CYDvlKHmgI1jZHZhhUm3fbGLh42DLkHjJfNYAgQVHJfEuEr/ks1fDIzVpQV6FUw1 9JcTCYbu3m7/rYtu9YM8dXVoSXfWl9be9IFqWpQh6rWGtkD/DXacWGhn1iMkrX+w alYy3Pj8EDPeeucCgUSpQJhZic2EpG/v2qsUg+GXTsBh3d2XYRWkVXOReBNELlYy fC6IIJhlMxhYWeNdc2Z2hk/rcw/1KxJ5NUSTyP3LuZpQbpYLY1xl5BYmbZcyTgbj
    WVNOI2lH
    =Bj53
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre-Elliott =?utf-8?Q?B=C3=A9cue@21:1/5 to Jeffrey Walton on Wed Mar 20 19:40:01 2024
    Jeffrey Walton <[email protected]> wrote on 20/03/2024 at 19:16:16+0100:

    On Wed, Mar 20, 2024 at 1:45 PM Pierre-Elliott Bécue <[email protected]> wrote:


    Jeffrey Walton <[email protected]> wrote on 20/03/2024 at 18:30:34+0100:

    On Wed, Mar 20, 2024 at 12:51 PM Pierre-Elliott Bécue <[email protected]> wrote:

    Jeffrey Walton <[email protected]> wrote on 20/03/2024 at 17:19:46+0100: >> >>
    On Wed, Mar 20, 2024 at 12:09 PM Pierre-Elliott Bécue <[email protected]> wrote:

    John Hasler <[email protected]> wrote on 20/03/2024 at 16:58:01+0100: >> >> >>
    Pierre-Elliott Bécue writes:
    A phrase you will easily remember but that would be hardcore to guess
    through social engineering is perfect.

    Better is a random string that you write down. When people try to >> >> >> > generate phrases that meet those requirements they usually fail.

    Writing down a password is a bad idea.

    I don't think that's true anymore. The threat being mitigated is the
    network attacker. The network attacker cannot (yet) reach through a
    monitor and read a sticky note.

    Mitigating a specific threat by adding a new one is not a proper way to >> >> handle a threat when one can avoid both.

    What does your threat model look like?

    My home sees plenty different people coming in. Some I trust, some I
    trust less. Also videocalls is a nice way to get a paper password
    recorded (and yes it happens).

    So now you are arguing someone jumps on a Zoom call, and then displays
    their passwords to the camera. If we are going to use far-fetched
    examples, then write the password down with invisible ink. Recover it
    when needed using the special pen provided with the junior spy kit.

    It's not far-fetched, it's actually something that's occurring from time
    to time.

    And that's easily preventable.

    Same goes for company.

    Companies generally have physical security on their assets. No one is
    going to wander in the server room unsupervised. No one is going to
    wander the cubicles lifting mouse pads and looking through drawers
    without raising suspicion.

    If someone is allowed to do those things, then the company's controls
    are not going to be very helpful, and the company has bigger problems.

    Companies regularly receive external personel, and it's quite easy to
    have someone trespassing either a bit "oops sorry wrong office".

    Are spouses who go through a purse or wallet to retrieve a company
    password a threat in your model? If that's the case, then you have
    compensating controls to mitigate the threat, like physical security
    on the office workspace.

    It is also why its Ok for a system to generate a list of recovery
    codes, and have the user print them and store them in a safe place.
    The other option are those cursed security questions, which have been >> >> > insecure for about 20 years now (but developers have their arms
    wrapped around).

    A recovery code is generally designed to troubleshot 2FA issues, not as >> >> a replacement for the first layer of security that a password is.

    I believe recovery codes to regain access to an account due to a lost
    or forgotten password predates 2FA. Most businesses I've worked with
    use a Self-Service scheme, like recovery codes, to avoid the Help Desk
    call. Some use the cursed security questions.

    Yes, but in that case there's another point, which is a contact mail
    address.

    And even this way it's problematic.

    I am aware some European banks use Temporary Access Numbers (TANs) as
    a form of 2FA. (I've never seen them used in the US). Each month a
    [new] TAN is included with the printed and mailed account statement.
    The "postal channel" is considered reasonably secure. Again, the
    threat being mitigated is the network attacker, not a nosy spouse.

    Again, trying to mitigate one threat by creating a full range of other
    threats is the receipe for disaster.

    I think you are throwing the baby out with the bathwater. Taking a big problem (the network attacker) and reducing it to a smaller problem
    (securing recovery codes) reduces risk.

    While one could just easily tackling the first issue without creating a
    second one with a… password manager? I think you're spending a lot of
    energy to recommend a dangerous solution because… who knows? instead of agreeing to recommend a sensible and easy to deploy solution.

    I read about account compromises all the time. The creative ones use
    SIM swaps to circumvent 2FA. I can't remember an instance of an
    account compromise because a thief stole a wallet or safe.

    Yeah, using SMS/calls for MFA is not the best option. It's still one,
    though. But the whole is still offtopic regarding password security
    mechanisms (ie, don't flying write your password on a paper).

    And therefore if it were to circuvent this first layer, then no, it's
    not ok to print them, except if you indeed have a safe.

    But in general it's a better approach to avoid having to resort to
    printed password on a paper.

    Humans are human. We have to understand their psychology and
    limitations. Part of that is realizing a user cannot possibly remember
    all the passwords required in the internet age. A big part of the
    problem is what is known as the "Selfish Security Model for Password
    Authentication." Each website wants a user to have an account and
    manage a password. It is an impossible feat for folks to accomplish,
    and that's why problems like password reuse across security domains
    happens.

    Noone asks someone to remember more than two or three passwords. The
    rest belongs to a password manager.

    Huh? This is discussed in detail in Peter Gutmann's Engineering
    Security, <https://www.cs.auckland.ac.nz/~pgut001/pubs/book.pdf>,
    Chapter 7. In particular, pages 565-567 discussed the Selfish Security
    Model.

    And because it's discussed in an irrelevant pdf means it's what one asks
    in this thread?

    Do you want to also bring in security practices from the 80's?

    And people can do whatether they want, it doesn't make it anything other
    than a bad practice if it is one because 80% of a population does it.

    Agreed. You have to have a security model and model the threats. I
    don't see much of that going on in this thread.

    You don't need a threat model to understand why writing a password on a
    paper is generally a bad practice.

    But since you invest this much energy on defending a bad practice, I'll
    let you keep the trend alone.

    --
    PEB

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJDBAEBCgAtFiEE5CQeth7uIW7ehIz87iFbn7jEWwsFAmX7LB8PHHBlYkBkZWJp YW4ub3JnAAoJEO4hW5+4xFsLgw4P/jWP0fFzYzHOG6XgXNDyR0Gd+vyHmXa8kScr a7UI8ZincbBwbeJyu9wTRMuZfXczsj80hE0R2xJsjoJA8hggEKCdMUKVJWrHqlMR 3iEjEucZkHm41a/ul/ML9wTQbVqW0cle30hwKXEZCiwScgK6ODUh7ntXhgcv9tGZ NPDolHLqGAbnCEKWjv1AvcPkInYbgnAiNgwTSnWRtOXnloNyrjtdnTLUwvq37QlT +AOmdJaCpzXVjYAYbjoJD/shXLCFapErmFSn55TlEGjmYx59HusQOgG7F/47ll5L 6+DpPniERUPE6HSAY+SLIES1gHjYMfVmA6bBsxA8Re6IgNv+cmOn6p8TBG5sFuJT KUw5eXtIyOTvOJAzpY/cyXwCJEEdugk8DN596AMBB7NOcnMckuVgI1iegRRKQ6Z+ e5xSIt26Saq4cwS+ye7NJrANREbdCZgboPkRiryBfnGP6+gGBLjIOrBgM64lsgrU LTpq30SOnm4qkZgBeNDVSw0CjHEm9ifgV1m7Q3tn+HzbhPp7Vge4QStDnKyeoObD CWP9OJgq+0AxXZzMXBeWVspmpKwJietCzndK/edcTMSyWNxLbGUxdjIPGxaSHPlr hQpmk0PXrsDIpWytgxVxYi7h02ZLdxQkLadLVerA5cm0jzg0iKAi3gRV2EKnzhzM
    HJEybPom
    =JyHp
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Pierre-Elliott_B=C3=A9cue@21:1/5 to All on Wed Mar 20 21:00:01 2024
    De : Lee <[email protected]>
    À : Pierre-Elliott Bécue <[email protected]>
    Cc : Debian Users ML <[email protected]>
    Date : 20 mars 2024 20:40:52
    Objet : Re: Root password strength

    On Wed, Mar 20, 2024 at 1:47 PM Pierre-Elliott Bécue <[email protected]> wrote:

    Brad Rogers <[email protected]> wrote on 20/03/2024 at 18:39:30+0100:
    On Wed, 20 Mar 2024 17:09:31 +0100
    Pierre-Elliott Bécue <[email protected]> wrote:

    Hello Pierre-Elliott,

    Most of the time, writing down a password is a very bad idea.

    Not in your own home.  And in any event, it depends where one keeps that >>> 'written down' password.

    And if it *does* become an issue at home, you've got bigger, more
    immediate, problems to deal with;  Of the intruder variety.

    You have a rather bad cybersecurity approach. And you did not do a
    proper risk assessment.

    The OP said
    - My password is easy because i am not afraid of direct physical
    access to the computer.

    That seems like a good enough risk assessment to me, but please
    explain what you think is "a proper risk assessment."

    Thanks,
    Lee

    As stated elsewhere, I am done with this thread. Therefore I do not intend to reply here.

    If you still want an answer I am happy to reply privately.

    --
    Pierre-Elliott Bécue

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Curt@21:1/5 to All on Thu Mar 21 17:50:02 2024

    You don't need a threat model to understand why writing a password on a
    paper is generally a bad practice.

    But since you invest this much energy on defending a bad practice, I'll
    let you keep the trend alone.


    I have written down key passwords which I keep in my wallet. To get my
    wallet, you will have to shoot me dead (of course, you may very well be
    an expert pickpocket adept in the arcane arts of diversion).

    Anyhow, here in the Gallic regions where spring is busting out all over,
    this password question isn't even remotely related to the problem
    statement, as much of my personal data was revealed to unknown sources
    by a medical professional who fell for a phishing technique (my French
    SSN, name, DOB, and god know what else through no fault or foible of my
    own fell into nefarious hands). As a source of futile comfort, I can share
    my grief with nearly half of the French population.

    In more recent news, Pole Emploi, (which now goes by the moniker of 'France Travail'), suffered a similar a data breach.

    The only real remedy is to unplug yourself entirely from the system (Unibomber-style).

    À bon entendeur, salut !
    --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joe@21:1/5 to Jan Krapivin on Fri Mar 22 12:00:01 2024
    On Fri, 22 Mar 2024 12:57:20 +0300
    Jan Krapivin <[email protected]> wrote:

    чт, 21 мар. 2024 г. в 22:34, Alexander V. Makartsev <[email protected]>:

    This conclusion seems less than optimal to me.
    By condemning yourself to type 12+ character password every time you
    'sudo' would really hurt accessibility and usability of your home
    computer and for no good reason.

    If we focus solely on your use case: a login security of a PC at
    home, without remote access, then password of your sudo user could
    be as short and simple as four numbers, of course unrelated to your
    date of birth, phone number, or any other easily guessable sequence
    of numbers, like '1234'.

    Are you speaking only about sudo or root password also?

    The thing that bothers me are words: "*any* computer (and a fortiori
    any server) connected to the Internet

    * is regularly targeted by automated connection attempts"*
    I am not tech-savvy. Can you say with 100% (90%?) confidence that
    there is no such thing? That home PC without SSH and whatever
    complicated is safe (rather safe) from "

    *automated connection attempts"?*
    This thread reminded of that topic - https://forums.debian.net/viewtopic.php?t=154002

    Most people connect to the Net through a router, usually supplied by
    the ISP. By default, that router should not permit any connection
    attempts. It is worth checking its configuration, in case some
    'helpful' supplier has enabled uPnP 'to make it easier to play online
    games'. If so, turn it off.

    Make sure router management is not permitted from the WAN side. Some
    ISPs expect to be able to access the router from the Net, something
    which should be discouraged.

    If you haven't already, change the admin password from the default,
    though you probably won't be able to change the account name.

    If you use wi-fi, then use the best security your router and clients
    can deal with, usually WPA2. If you don't use wi-fi, turn it off at the
    router.

    Really, with a router in its factory default condition, nothing from
    outside should ever get as far as your computer. The problems don't
    usually start until you want to run some kind of server software which
    is accessible from outside, which must then be appropriately secured.

    The main security issues, of course, come from connections you have
    invited into your computer, malicious email and web pages. All you can
    do to mitigate those threats is to be sensible and careful.

    --
    Joe

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Sat Mar 23 10:50:01 2024
    On 22 Mar 2024 17:26 +0500, from [email protected] (Alexander V. Makartsev):
        This is because of how IPv4 network address translation (NAT) works, to
    allow multiple LAN hosts to connect to Internet with single IP address assigned by Internet Service Provider (ISP).

    A NAT router might also implement firewalling functionality, but _NAT
    is not a firewall_.

    Dropping traffic because it is prohibited (or because it's not
    allowed) is _not_ the same thing as dropping traffic because the
    device doesn't know what to do with it.


    Now, I don't want to scaremonger and feed anyone's paranoia, but for the
    sake of completion, there are known cases in history when router/firewall
    had vulnerabilities, or firmware flaws, or configuration negligence, that allowed perpetrators to 'hack' them, as in gain full access and control over their firmware and gain network access to LAN hosts.
    These cases are extremely rare nowadays and very hard to pull off successfully, especially if the device owner keeps firmware up-to-date and configuration tidy.

    Sure, firewalls can have bugs (which may or may not affect security).
    But so can software running on a PC. The solution is much the same:
    use supported software, and install updates promptly. For a firewall,
    get one where the vendor offers, or can at least be expected to offer,
    upgrades for a significant amount of time.

    --
    Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Sat Mar 23 11:30:01 2024
    On 22 Mar 2024 20:01 -0400, from [email protected] (Lee):
    The IPv4 address space is only 32 bits long. Scanning 2^32 = about 4,000,000,000 addresses for an open port is easily doable.
    The IPv6 address space is a bit harder... Let's just say that 7/8th
    of the IPv6 address space is reserved[1] so that means 2^125 addresses
    would need to be scanned .. which just isn't going to happen.
    There are ways for attackers to get the IPv6 address scan space down
    to a reasonable number. I probably don't know most of them..

    You are correct that the globally assigned unicast IPv6 address range
    is a /3 out of 128 bits so 2^125 addresses. (2000::/3 out of ::/0.)

    But only a tiny sliver of that address space is actually assigned to
    anyone on the global Internet.

    One can start by looking at the core routing tables and routing
    announcements that form the Internet backbone. My guess, without
    having looked, would be that you'd be looking at maybe _at most_ say a
    /10 (although likely not contiguous) which actually routes anywhere at
    all in the default-free zone. It might well be significant less than
    that.

    If you're already willing to do something like this, I strongly
    suspect DNS in particular can help narrow the range down further. For
    example, you could iterate over /32s and see which of those have any
    reverse DNS set up by looking for corresponding delegations in
    ip6.arpa. That'll miss some, but should catch the majority of actively
    used assignments.

    You can probably eliminate most /64s more or less immediately by
    trying to reach _any_ address within each, because most /64s likely
    won't be in use and therefore won't route.

    Also, while addresses within each /64 look random, there's probably
    ample opportunity to optimize the search there through for example EUI assignment prefix tables and IPv6 address node portion generation
    rules. And once someone connects to anywhere directly (that is, not
    through something like a VPN concentrator which will replace with its
    own outgoing address), whatever system was connected to at a minimum
    has a known-good address to check.

    And all this is just things I can think of right now. I wouldn't be
    the least surprised if there are many more optimizations that can be
    made by someone who actually spends some time looking into this.

    So while scanning the IPv6 address space certainly is a larger
    undertaking than similarly for IPv4, **scanning the IPv6 address space
    is far less than 2^93 times harder** than scanning the IPv4 address
    space as one might think looking only at _possible_ address length.
    IPv6 addresses look random to the human eye, but especially in the
    network /64 half of the address, they are far from randomly assigned.

    Also, IPv6 typically being used with globally routable addresses
    everywhere (as the Internet was meant to be) means that having good
    firewalling is a _must_ in the present-day environment. If you do,
    then having a globally routable IP address assigned to an end node is
    not much of an issue.

    --
    Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)