ArpFlush (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 21, 2015, 10:44:54 AM |
|
Hi all, Is there a way to change the filename of wallet.dat? I'm worried about some new malware that's designed to steal wallet files. There's a script (bitcoin wallet stealer) I noticed on a forum that is looking for that specific file: // Check if wallet has been already stolen (to avoid duplicates) if not(RegCurrentValue = RegValue) then begin try // Generate path to Bitcoin wallet file if Win32MajorVersion >= 6 then // Microsoft Windows Vista and newer Path := ExpandFileName(AppDataPath + '\..\Roaming\Bitcoin\wallet.dat') else
|
"Panic Selling is not an Investment Strategy"
|
|
|
Amph
Legendary
Offline
Activity: 3248
Merit: 1070
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 21, 2015, 10:51:09 AM |
|
isn't just better to secure it with a strong passphrase? and maybe don't download random stuff on your main machine, but use a VM , or don't download anything suspicious at all
also if you change the extension it will not work anymore
|
|
|
|
ArpFlush (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 21, 2015, 10:54:25 AM |
|
isn't just better to secure it with a strong passphrase? and maybe don't download random stuff on your main machine, but use a VM , or don't download anything suspicious at all
also if you change the extension it will not work anymore
Strong passphrase for sure, yes. However, I wouldn't like it if my wallet gets stolen. Changing the file name would just be some extra obfuscation.
|
"Panic Selling is not an Investment Strategy"
|
|
|
Lauda
Legendary
Offline
Activity: 2674
Merit: 2965
Terminated.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 21, 2015, 12:02:44 PM Last edit: July 21, 2015, 05:19:21 PM by LaudaM |
|
Strong passphrase for sure, yes. However, I wouldn't like it if my wallet gets stolen. Changing the file name would just be some extra obfuscation.
It is probably going to take more time than it is worth it. Besides, even if it is named random.random it is still going to be in the Bitcoin folder and suspicious. As time goes by wallet stealers are going to be more sophisticated and they might pull those files as well. You can rename it to anything and move around the system. Just make sure to rename it back to wallet.dat and put it back into the directory when you use it. Update: However, I'm pretty sure that there needs to be a fair amount of changes in the code if you wanted to make your wallet work with a different name for the file. Looks like I was wrong and it can be done with a shortcut.
|
"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks" 😼 Bitcoin Core ( onion)
|
|
|
Aggressor66
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 21, 2015, 01:10:46 PM |
|
If I understand correctly, the bitcoin address, the balance are public data, anyone gets the wallet file can see it, only he can't spend the money without the password? So the easy solution is just to store your wallet.dat file in an encrypted file as it is not fully encrypted in itself - like your password manager's database.
|
|
|
|
achow101
Moderator
Legendary
Offline
Activity: 3486
Merit: 6824
Just writing some code
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 21, 2015, 01:53:06 PM |
|
You can change the name of the wallet by using the -wallet flag every time you start the program. Something like this: bitcoin-qt -wallet=newwallet.dat It changes the name of the wallet but also needs to have that every time you run Bitcoin Core so that it doesn't create another wallet.dat file.
|
|
|
|
Muhammed Zakir
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 21, 2015, 03:56:05 PM |
|
You can change the name of the wallet by using the -wallet flag every time you start the program. Something like this: bitcoin-qt -wallet=newwallet.dat It changes the name of the wallet but also needs to have that every time you run Bitcoin Core so that it doesn't create another wallet.dat file. It is better to create a shortcut, add that command and when you want to start Bitcoin core, use that shortcut. [1] Remember, auto start will create problems. To prevent this, turn off auto start in Bitcoin-qt and the created shortcut to C:\Users\Chachu\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup. [1] ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.gyazo.com%2F0244ec83605edbce401b770ae6a9e9b4.png&t=665&c=_l6genPSLmQxog)
|
|
|
|
ArpFlush (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 21, 2015, 07:13:50 PM |
|
You can change the name of the wallet by using the -wallet flag every time you start the program. Something like this: bitcoin-qt -wallet=newwallet.dat Thanks, where can I type bitcoin-qt -wallet=newwallet.dat ? Guess it's not in de debug console? Or is it via bitcoin-cli?
|
"Panic Selling is not an Investment Strategy"
|
|
|
achow101
Moderator
Legendary
Offline
Activity: 3486
Merit: 6824
Just writing some code
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 21, 2015, 07:32:48 PM |
|
You can change the name of the wallet by using the -wallet flag every time you start the program. Something like this: bitcoin-qt -wallet=newwallet.dat Thanks, where can I type bitcoin-qt -wallet=newwallet.dat ? Guess it's not in de debug console? Or is it via bitcoin-cli? You do that when you start up the program. MZ posted above where to do that. In Windows, right click the shortcut for Bitcoin Core. and click properties. In the box where it says target, add at the end of the what is already there. Make sure there is a space before the dash. <walletname> is whatever you want to call the wallet. Click OK and then double click the shortcut to start Bitcoin Core.
|
|
|
|
ArpFlush (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 22, 2015, 10:10:35 AM |
|
Thanks to you all guys ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
"Panic Selling is not an Investment Strategy"
|
|
|
d4n13
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 210
Merit: 104
“Create Your Decentralized Life”
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 22, 2015, 07:22:27 PM |
|
Thanks to you all guys ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) There was a post about keeping the wallet and the DB on the same media... so be aware. If you get hackish and spread the data to multiple disks (like me) you could corrupt when you have a blackout.
|
|
|
|
LFC_Bitcoin
Legendary
Offline
Activity: 3654
Merit: 10126
#1 VIP Crypto Casino
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 22, 2015, 09:45:10 PM |
|
You can change the name of the wallet by using the -wallet flag every time you start the program. Something like this: bitcoin-qt -wallet=newwallet.dat It changes the name of the wallet but also needs to have that every time you run Bitcoin Core so that it doesn't create another wallet.dat file. It is better to create a shortcut, add that command and when you want to start Bitcoin core, use that shortcut. [1] Remember, auto start will create problems. To prevent this, turn off auto start in Bitcoin-qt and the created shortcut to C:\Users\Chachu\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup. [1] ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.gyazo.com%2F0244ec83605edbce401b770ae6a9e9b4.png&t=665&c=_l6genPSLmQxog) Clever! Must admit I've been noticing you around a lot the last few months Muhammed Zakir & you're beginning to come across as one of the most helpful, knowledgable posters on here. Keep it up bro, we need more people like you on here.
|
|
|
|
ArpFlush (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 23, 2015, 05:51:11 PM |
|
Thanks to you all guys ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) There was a post about keeping the wallet and the DB on the same media... so be aware. If you get hackish and spread the data to multiple disks (like me) you could corrupt when you have a blackout. I'm aware, I've tested it with a testnet wallet and apparently it doesn't work (in testnet?). Bitcoin-Qt (testnet) didn't know what to do and I got a popup "failed to salvage the wallet".
|
"Panic Selling is not an Investment Strategy"
|
|
|
vm1990
Legendary
Offline
Activity: 1540
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 23, 2015, 10:43:49 PM |
|
my advice is simply change the default bitcoin directory add a password. i run all mine inside a VM and only use it for wallets.
adding a password and changing the default directory will mess up almost all the wallet stealers out there
|
|
|
|
ArpFlush (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 24, 2015, 06:58:00 AM |
|
my advice is simply change the default bitcoin directory add a password. i run all mine inside a VM and only use it for wallets.
adding a password and changing the default directory will mess up almost all the wallet stealers out there
Indeed, a good advice. Thanks.
|
"Panic Selling is not an Investment Strategy"
|
|
|
Christian1998
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 27, 2015, 01:39:33 PM |
|
If you know how to code a stealer, its not needed that the wallet.dat is named as wallet.dat, the wallets have all ~ the same size for example. You need to search only the complete machine for files which have ~ the size and are ending with .dat. Then you can zip these files with a password and sent them over an email to the spreader of the stealer. I hope all understand my bad english ^^ Best regards Christian
|
|
|
|
achow101
Moderator
Legendary
Offline
Activity: 3486
Merit: 6824
Just writing some code
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 27, 2015, 03:01:04 PM |
|
If you know how to code a stealer, its not needed that the wallet.dat is named as wallet.dat, the wallets have all ~ the same size for example. You need to search only the complete machine for files which have ~ the size and are ending with .dat. Then you can zip these files with a password and sent them over an email to the spreader of the stealer. I hope all understand my bad english ^^ Best regards Christian
Actually they will not be the same size. Wallets with more keys will be bigger. Also, I don't think that they all will end with .DAT. I'm pretty sure that the extension can be changed.
|
|
|
|
Christian1998
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 27, 2015, 03:08:16 PM |
|
Actually they will not be the same size. Wallets with more keys will be bigger. Also, I don't think that they all will end with .DAT. I'm pretty sure that the extension can be changed.
Of course you can change the extension. But you need to change it, and compile your own ^^ The size is smaller than X and bigger than Y, so the "Bot" can search the file. Have a nice day Christian
|
|
|
|
shorena
Copper Member
Legendary
Offline
Activity: 1498
Merit: 1530
No I dont escrow anymore.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 27, 2015, 04:11:31 PM |
|
Actually they will not be the same size. Wallets with more keys will be bigger. Also, I don't think that they all will end with .DAT. I'm pretty sure that the extension can be changed.
Of course you can change the extension. But you need to change it, and compile your own ^^ The size is smaller than X and bigger than Y, so the "Bot" can search the file. Have a nice day Christian Is that so? I just ran: c:\Program Files\Bitcoin\bitcoin-qt.exe -wallet=Christian1.998 and I now have a wallet file with that name. Its 88 kbyte. I also have a file named wallet.dat that is 421696 kbyte. Its an acutally wallet file and its not protected by a password (sounds juicy, right?). I did not compile anything for this and I dont think there is an upper bound to the size of a wallet file. 400 MB is pretty much the upper bound of what I want to run, but other people might see this differently. Anyway I did a quick search and found 88603 files that match that size range. The system is not even a month old.
|
Im not really here, its just your imagination.
|
|
|
Christian1998
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 27, 2015, 04:17:03 PM |
|
Is that so? I just ran: c:\Program Files\Bitcoin\bitcoin-qt.exe -wallet=Christian1.998 and I now have a wallet file with that name. Its 88 kbyte. I also have a file named wallet.dat that is 421696 kbyte. Its an acutally wallet file and its not protected by a password (sounds juicy, right?). I did not compile anything for this and I dont think there is an upper bound to the size of a wallet file. 400 MB is pretty much the upper bound of what I want to run, but other people might see this differently. Anyway I did a quick search and found 88603 files that match that size range. The system is not even a month old.
Ive forgotten that you can specify the extension over the comandline ^^ But if you just start it with your folder, your wallet gets saved in the appdatadir right ? If you search only in this location, and zip the found files then you got all possible "wallets". Best regards Christian
|
|
|
|
|