Are files scanned for malware during uploads?
malware scans at copy/upload operation?
iPad Air, iPadOS 26
malware scans at copy/upload operation?
iPad Air, iPadOS 26
NventiveGuy wrote:
I wonder if that code was in a machine-language that an Intel chip
in an iOS device could execute.
The cpu on an iOS devices is not an Intel chip. Code built for an Intel chip will not run, and code built for the Apple Silicon chip on the iOS device must be signed to execute.
You say that iOS doesn’t allow such code-execution?
Correct, executable code must be signed by Apple.
I also was told that files like .doc and .docs may also contain code.
The code you are referring to on .doc and .docx files are Virtual Basic scripts and they don't run on iOS. Even a Word document with a legitimate script is not compatible with iOS and will not work if opened in Word for iOS. Some may consider that a disadvantage in iOS since a Word document containing scripts created on a Windows platform will not display correctly on iOS, but that is the way it is. Apple took the same criticism when they launched the iPhone and it would not run Flash documents on the device and that continues to this day.
I assume that most malicious written for other op-systems can NOT run on iOS.
Correct. Not even legitimate code written for another OS can run.
Also I encountered TIFF files that had malware (in Windows)
Probably true. Other platforms can use third party libraries that may be exploited when used to open the picture file that results in a Buffer Overflow error to break out and execute code. It is actually those libraries that are targeted due to a flaw that allows the code to be executed. With iOS, there is a single Framework created by Apple that is responsible for opening Image files (TIFF, JPG, PNG, etc) called Image I/O.
I come from a Windows background where I used to scan files for Malware by doing a right-click on a filename and requesting a scan. Is there nothing in iOS/iPad OS that can do this?
There is not and for good reason. The whole malware scan process is based on identifiable code signatures to detect Malware and that flawed approach means you are always playing a cat-mouse game to update those signatures to prevent Malware. You will never be able to prevent the next Malware exploit using this approach. The solution is to never allow Malware to execute in the first place. You could certainly place a file with a known Windows Malware/Virus in the Files app, but there is nothing that will allow it to execute or interfere with any operations. Just like you could place an .exe file from Windows in the Files app on iOS, and there is nothing that would allow that to execute either.
The paradigm is a completely different approach. If you are looking for a way to prevent flat tires from nails in the road, you don't need to "scan" the road for nails, you create a solid rubber tire where the nails have no effect on your car. Others may certainly miss a nail that will result in a flat, but it has no effect on you. You may even wonder why are they having to "scan" the road for nails?
Is there an Apple doc that describes this in detail?
There are many documents that describe the Security protections used by iOS/iPad OS.
Apple Platform Security - Apple Support
Some key takeaways specific for iOS/iPad OS.
Thank you ALL for many useful, comprehensive replies.
Wow, lots to digest. Yet much I already know … and like.
I leave tomor to fly to my oldest Son’s engagement party,
and have just a couple things to say—in my short time tonight.
When I made my 2nd & 3rd posts here on Jan 26, I wasn’t shown
some great replies made the day before. I did see 2 replies, from Nial,
but not from others. Did I just need to refresh my browser tab?
If so, how come replies from one Forum member were rendered, but
not replies from others members? I could’ve skipped introducing some
more info if I had those answers when they were posted.
I do have pretty good faith in the security of iOS, based on past replies
and the ones here. And on past experience — with Android, Windows,
and iOS. Thanks again! I understand that sandboxing, signed code,
and other mechanisms are very effective. And that the strategy is to
“make the tires nail-proof, rather than wipe all nails off the road”.
That’s why I left W-world in 2018, and Chrome-world in 2022.
However, I do communicate from time to time with people still on
one of those 3-4 other operating systems. And so I do realize
that I might be passing malware onto them, if I upload files into iOS,
and even modify them here. Unless iOS or its apps strip out all
unsigned/disallowed code (seems unlikely). So I have 2 options?
1– I need to run a malware-scanner/-remover on the source file system?
I would think I’d need to do that before uploading into iOS. (This is
for future uses where I send such files to W- or A-system users.)
2– Does iOS or its apps strip out unsigned/disallowed code from these files?
I would think this is impossible, but maybe some is removed?
Most of my 25,000 files are for personal use, and I’ll likely take them
offline soon to avoid any corruption. But my heirs are the target users,
and I can’t guarantee that all will be using iOS (or a descendant of it).
Also, because I don’t buy new devices, the ones I buy
may have been jailbroken. Is there a way to determine that?
I ALWAYS do an Erase/Reset on every device, before using.
And I also do those routinely, like every 4-6 months.
And I don’t Restore from iCloud—in case of malware.
I go into Apple Stores and ask that the Erase be done on an iMac or Macbook,
because I was told those are more comprehensive erase/restore of iOS code.
Is that true?
And the fact that these devices can be jailbroken causes some
chinks in my iOS-faith. Wouldn’t jailbreaks bypass some of these
nearly bulletproof security mechanisms?
Gaa, I’m spilling over into my pre-trip sleep-time!
I recall someone saying they segmented important info.
Where can I read more about that?
And yes, I do use flash drives that were not formatted first with iOS.
I assume they’re FAT32. I have 1000s of files on such drives.
Should I use an AV app on the source file system to scan them?
(before using in iOS)
If you have already answered these issues in a previous reply,
please redirect me to the right one. I will read after I return on Tuesday.
I didn’t want this thread to be closed due to my slow response.
Most of my time has been spent with my GrandSons and helping
my middle Son with his challenging break-up. Haven’t had time to
work on political topics that I want to keep secure, or
deal with my 25,000 files of personal history.
Thanks again!
NvG
To Mac Jim ID:
At the end of. you response, you replied to one of my posts:
Are files scanned for malware during uploads?