It’s friggin’ magic. FileSystemObject is how you run scripts on your files and folders in VBA. You want to create 100 files on your desktop automatically? It’ll let you do that. You want to delete files with specific names in a directory? It’ll let you do that too. It’s also pretty crucial to viruses like Anna Kournikova and the Love Bug, which I’ve been looking at recently. So here’s how to make a FileSystemObject.
Continue reading “VBA: What Exactly is a FileSystemObject?”
I don’t advocate the use of viruses, worms, Trojan horses, ransomware, or anything else that can screw up someone’s system or violate their privacy.
It’s oddly satisfying to peak inside them though. Like disassembling a clock.
Kournikova was my first pick because she’s written in Visual Basic, which isn’t too painful to read. She’s also so old it’s unlikely anyone would be able to use this walk-through to create something malicious. Old in malware years anyway. In human years, she’ll be seventeen next month.
Continue reading “Malware Anatomy: The Anna Kournikova Worm”
Short one today.
I’m getting ready to write a post on worms and realized it’d be really nice if Word could mimic the font formatting that happens in the Visual Basic editor. Color coding helps me see relationships a lot easier when I’m trying to get my head around another person’s script.
Continue reading “VBA: How to Customize Font to Specific Text in Word”