Jump to content
  • Announcements

    • alpenwasser

      Please Use CODE Tags   31 Jan 2016

      Welcome to the Programming and Software Design Section,

      When asking for help with programming issues, please use the code tags to enclose your code, it makes things much more easily readable for the people trying to help you, thus improving your chances of actually getting help.
        To add code tags, click the <> button on the editor toolbar, then enter your code in the code editor that appears. If you are on a mobile device, or prefer to use BBCode, you can use [code] // Your code here // It will be syntax highlighted, though not necessarily corectly. [/code] (but the code editor is more consistent and less buggy).
Windows7ge

Writing Joke Virus Application

Recommended Posts

58 minutes ago, Windows7ge said:

I remember hearing about the Windows vulnerabilities the NSA didn't report then making tools to exploit them. So this was one of them.

ye


  • CPU
    Intel® Xeon® Processor E5-1620 v3 (40pcie+Asmedia x99-e ws chip 16pcie) 56 pcie
  • Motherboard
    ASUS X99-E WS
  • RAM
    4x SAMSUNG 8GB DDR 2133P ECC REGISTERED + EKWB EK-RAM Monarch Module - Black (2pcs)x2
  • GPU
    Zotac GTX Titan : /
  • Case
    Core 2500 - Fractal Design
  • Storage
3x 128GB Samsung PM961 M.2 (2x Kryom PCI-E M.2 by Aqua Computer) on windows os raid and 1x PM961 as os Host on the motherboard m.2 slot
+ 250GB Samsung 850 EVO
+ 7200RPM Seagate 1 Terabyte HDD
  • PSU
    SSR-1200PD Active PFC F3
  • Cooling
    Noctua NH-D15S (original fan replaced by an Noctua 140mm industrialPPC-2000 IP67 PWM + Steel 140mm fan guard)
  • Keyboard
    Cherry MX Board 6.0 ISOANSI + Vector/Tai keycaps+ Landing pads + O-rings
  • Mouse
    BenQ Zowie EC2-A White Edition
  • Sound
    Edirol Roland UA-25EX + Beyerdynamic DT 770 Pro
  • Operating System
    Windows 10 x64 (Enterprise) SP1, OpenSUSE, Remnux
Link to post
Share on other sites
13 hours ago, Windows7ge said:

If I did that though I'd have to know how to reverse it.

you just delete the file, it creates a fake file that "takes up space" but doesn't actually wrote any data. 

 

its for testing quotas and what not. 


                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites
Posted · Original PosterOP
7 hours ago, vorticalbox said:

you just delete the file, it creates a fake file that "takes up space" but doesn't actually wrote any data. 

 

its for testing quotas and what not. 

Makes sense but the point of this application is to be in your face. Creating false files would be something they'd have to discover after the fact unless I put it in the list of displayed actions. I like the idea but it's subtle. If I wanted to write a more aggressive joke Virus where it actually does things to the machine I like the idea. I could put a prompt on the screen that it's downloading more viruses then create the false files. Maybe for a future project.

 

Creating false files. I see your previously mentioned command is for CMD. I do wonder however is their an argument you can add that tells the command which directory to plant the file in? Or do you have to move to the directory then run the command? In the programming language I'm using you can only open CMD to run one command. In this instance I could write a batch file with two or more lines. One to the directory and the other the actual command but if I can include the directory in the same command that'd be preferred because then I could run all of it from within the program without the need for external batch files.

Link to post
Share on other sites
Posted · Original PosterOP
8 hours ago, rsethc said:

This "Albanian Virus" looks hilarious, nice work.

It's not an original thought though. The design is my own, the list of fake actions is my own, and how they execute is my own, but the "Albanian Virus" portion of it is stolen from someone else. I did revise it though. If you google image search "Albanian Virus" the original writing is different from mine but it's obvious I started with the original copy and just tweaked it.

Link to post
Share on other sites
3 hours ago, Windows7ge said:

Creating false files. I see your previously mentioned command is for CMD. I do wonder however is their an argument you can add that tells the command which directory to plant the file in? Or do you have to move to the directory then run the command?

I believe you can add the location to he filename argument. 

 

c:/notavirus/virus.exe


                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites
Posted · Original PosterOP
9 hours ago, vorticalbox said:

I believe you can add the location to he filename argument. 

 

c:/notavirus/virus.exe

I did not consider that. I'd expect it to work. I could create a list of those executables. Not just make it dump one file but dumb many. Of different sizes. Different locations even. Set the dumps on timers so they're random when they happen. I've been thinking about your proposal while at work and I think it could be used in its own application. No other features just "Hey, I'm a virus!" (chaos files start popping up everywhere at random on the machine). And I'd assume no anti-virus, anti-malware, anti-spyware, etc software would stop it because there's no actual malicious code. I don't think it would fall under self replicating detectors either since each file is unique. I'll have to test if creating files requires an elevated command prompt (run as admin) or if installing files inside the file tree (such as C:\Program Files, C:\Program Files x86, C:\User\[Name]\Desktop) prompts the user that an unknown application is attempting to execute a file in any of these directories. If so it won't work.

 

If it does work though to fix everything once everybody's had their laugh I could have second program or more easily just a batch file prepared that would go through each dump destination and delete the files.

 

It'd probably be in my best interest though to conduct these experiments in a virtual machine, lol.

Link to post
Share on other sites
Posted · Original PosterOP
11 hours ago, JayKay3000 said:

Either way it's a good little project for you to play around with and code on.

I am finding it a fun little project. Programming isn't my field of expertise but to play in it knowing the sky is the limit as far as what you can do with it is great inspiration to learn more. I've already written several different programs to make my life just a little bit easier. They're nothing fancy. Just little things that I find tedious which now they do for me.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.


×