I
I
Igor Petrov2011-04-14 08:01:29
USB flash drives
Igor Petrov, 2011-04-14 08:01:29

Flash drive in ReadOnly mode?

Hello Khabravchan!
Many of us are faced with the fact that a “prodigal” flash drive, having passed through a dozen other computers (and sometimes less), strives to bring infection to a home machine. Therefore, there is an idea to transfer the device to ReadOnly mode (of course, with a return if necessary). What are the ready-made proposals on this topic?

Answer the question

In order to leave comments, you need to log in

10 answer(s)
P
proDOOMman, 2011-04-14
@proDOOMman

I formatted one flash drive in UDF, and it is just read-only under Piggy. Taking into account the fact that my friends do not use anything other than XP, I alone can write to her

O
optemist, 2011-04-14
@optemist

There is a software solution here . And I also saw before they were sold with a button for RO.

N
nerudo, 2011-04-14
@nerudo

As I understand it, the easiest way is a small format reader + SD card. They usually have a switch on them.

M
Mikhail Shevtsov, 2011-04-14
@mshewzov

If the flash drive is in NTFS, then maybe restrict the rights? Just tried it on mine. 16 GB flash drive. About 9 GB is occupied. I usually set all permissions to everyone unless the system has already done so. Now for the "Everyone" group, I left only the rights "Read" and "Read the contents of the folder." Bottom line: not a single file or folder is created, even after confirming the UAC request (I have Windows 7); no file or folder is deleted. The owners of all folders and files on the flash drive are the "Administrators" group. I changed the owner to myself - the result is the same, nothing is created or deleted. Changed the owner to "All" - the same way.

V
Vlad Zhivotnev, 2011-04-14
@inkvizitor68sl

habrahabr.ru/blogs/hardware/116799/ - here's a big flash drive with RO. I have it on terabyte =)

D
Dmitry, 2011-04-14
@plin2s

Either as already written above - an SD card (they have a slider) with an adapter, or simply disable autorun on your computer.
There was a topic on Habré with the autostop utility, but you can just make a batch file
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay\Files" /v "*.*" /d "" /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf" /ve /d "@SYS:DoesNotExist" /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 255 /f
REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Cdrom" /v AutoRun /t REG_DWORD /d 0 /f

C
ComodoHacker, 2011-04-14
@ComodoHacker

I will answer not about read-only, but about virus protection. There is such a solution: blog.didierstevens.com/programs/ariad/
It will not allow the virus from the flash drive to penetrate the computer. You need to put it on yourself and promote it wherever you go.
Panda USB-vaccine, by the way, does not help with all autoruns.

S
sani4, 2011-04-14
@sani4

I know that on flash drives of version V15 from Transcend there is Trend Micro antivirus. Maybe there is a way to put it on another flash drive. It just puts the memory into read-only mode.

A
Andrey Yantsen, 2011-04-14
@zvirusz

habrahabr.ru/blogs/infosecurity/54187/

I
Igor Petrov, 2011-04-14
@KriegeR

Thanks to everyone for the discussion, but I just wanted ReadOnly. For example, at my university there is a cunning type of virus that the directory makes hidden, and calls its copy, for example, “folder.exe” or “laby.exe”. Then the antivirus program finds under a hundred such ehe-shnikov.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question