InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties…

Follow publication

Member-only story

Fun with VBScript malware

Aleksey
InfoSec Write-ups
Published in
6 min readApr 9, 2021

Contents at a glance

  1. Introduction
  2. Infinite rebooting
  3. Reverse shell
  4. Final thoughts
  5. Acknowledgments
  6. Works cited

Introduction

The Visual Basic Scripting (VBScript) language is a fairly old interpreted language that is a subset of Microsoft’s Visual Basic language. It is mainly used for automating system administration tasks, but it can also be repurposed for malware purposes. In fact, the well-known (in)famous LOVELETTER virus was written in VBScript (Virus Encyclopedia, n.d.).

Here, I am going to discuss a couple of VBScript malware tools that I wrote, and hopefully these can be used as a “springboard” for other penetration testers and security researchers to develop their tools.

Infinite rebooting

I’ll start with a simple script that will cause a computer system to reboot upon logging in. This script will install a batch file that will reboot the computer as the user logs in, and after installation, will launch a “guess my random number” game as to prevent suspicion from the user:

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. Subscribe to our weekly newsletter for the coolest infosec updates: https://weekly.infosecwriteups.com/

Write a response