A brain wallet is a crypto wallet whose private key is created by running a phrase chosen by the owner, such as a line of a poem, through a hash function like SHA-256. The idea was that the owner could carry the wallet in memory alone, with nothing written down to be stolen or lost.
In practice brain wallets proved highly insecure. People choose phrases that are far less random than they believe, such as quotations, song lyrics or simple word combinations, and attackers run automated brute-force attacks that hash billions of candidate phrases and watch the resulting addresses. Funds sent to weak brain wallets have often been taken within minutes. Security researchers have demonstrated how quickly such wallets can be cracked. Modern wallets instead generate a BIP-39 seed phrase from strong machine randomness, so the words are not chosen by the user and cannot be guessed from human habits.
Ref 1070001113