Thing
BASILISK
BASILISK is a sophisticated piece of fileless 'Swiss Army Knife' malware…
BASILISK is a sophisticated piece of fileless 'Swiss Army Knife' malware developed by ████ ███ during our 2019 Hackathon, though it later saw use during the Cascadan Conflict as per a commission from A-2 for large-scale cyberattacks on the Cascadan government. The virus is by far our most prideful creation, with it encompassing a wide range of malware types such as worms, ransomware, botnets, spyware, scareware, rootkits, and keyloggers within its various payloads. It also utilizes psychology by subverting various facets of traditional malware to create a false sense of security within the infected indivdual, essentially making BASILISK explicitly hide itself in plain sight and toy with the terminal it infects as its method of secrecy. I know that's a bit excessive for a virus deployed with the express purpose of government infiltration, but we already had it, and we didn't really feel like making something new, so we just rolled with it and got lazy. Don't tell the Anti Entity Group that we did that, though—they still think we made BASILISK for them.
While incredibly impressive on a functional level, on a technical level, BASILISK is pretty scuffed; it was written incredibly fast for the hackathon. That was a fun month devoid of sleep, and because of this, the virus only works on BackOS or BackOS-adjacent/BackOS-based systems, and the code can be best described as the greatest piece of Italian spaghetti known to man, so if you're looking forward to dousing your eyes in Liquid Pain this morning (The Supplier has a bunch of it, so you can just get some; don't ask), be my guest and look at the source code on our repo. Also, stop making BASILISK forks and then not adding anything; you're driving [planning gal] EntropycaCardine insane.
Explanation
Upon infecting a machine, BASILISK embeds itself into the terminal's RAM, leaving no traces of its existence on the filesystem and making it significantly harder to detect by either anti-viruses or digital forensics. After successfully infecting the system's memory, BASILISK produces a secondary process responsible for managing and maintaining BASILISK's operations called "Requiem." Unlike the host BASILISK process, which is fileless, Requiem operates much like traditional malware, instead embedding its code into various system files, using the API calls to said files in order to execute tasks without arousing suspicion. Both the Requiem and BASILISK processes are intrinsically connected, and both are capable of replicating each other if needed.
Requiem
Due to BASILISK being a piece of fileless malware, the malware will be automatically dumped if the system is ever restarted or shut down. Requiem, meanwhile, serves the purpose of managing BASILISK's tasks and deploying it whenever the machine is powered off. You can think of Requiem as a New Year's resolution for BASILISK, but instead of sleeping on it the first day, it actually follows what was written down—speaking of which, mine is rewriting Mal so that it's not more over-engineered than The Backrooms itself (looking at you, [eye guy] vhm3nt 𓁹𓁹𓁹). Initially, Requiem is of no standalone danger, as it doesn't contribute to malware-like activities, only facilitates them, meaning that it goes under the radar, as not only are Backrooms anti-viruses usually pretty miserably coded, which I don't blame them for—there's no StackOverflow here, and that fucking sucks—but it also does nothing that could potentially trigger a response from one; however the role of Requiem changes upon the execution of the final payload.
BASILISK
BASILISK is what actually carries out the payloads and the infection process. In comparison to traditional malware, the virus is significantly more blatant during execution, yet still capable of going undetected, as apparently the shoddy government detection software from the early 2000s everyone uses doesn't bother checking the areas that it is in. The most intriguing part of the malware is the so-called "assumption" component. Utilizing Requiem's constant relay of API calls, the BASILISK process makes (usually incorrect) assumptions on whether or not the user of the machine is looking for it based on specific actions, such as actively scouring the filesystem or monitoring web traffic, and upon detection of such activity, the malware ceases operations until it's presumed that the host of the infected machine is no longer searching for it. This whole component operates on a hardcoded function that was definitely not added at the last minute. God bless Ncipetherazi Alcohol.
Initial Payload
In our first payload, BASILISK begins with the essentials, creating the sister "Requiem" process and establishing a remote connection to an IRIS terminal, the machine infected is now part of a botnet, their activities constantly logged for us to freely view. On top of that, the Requiem process begins infecting system files in relation to BACK-NET traffic, handling, encryption, and so forth, allowing BASILISK to propagate itself to other machines in that local network. This payload is not all that fun, though, as all it serves to do is create the foundation for everything else that's about to happen; the second payload is where this virus truly shines.
Second Payload
In the second payload, BASILISK first copies the contents of the infected machine's user folder and files related to saving data, such as passwords, and registry keys to the previously established remote connection, giving us a snapshot of the recipient's hard drive, passwords, logs, and programs with their data included pronto.
Now, here is where the fun begins; once BASILISK is finished with migrating the data, it begins infrequently creating small bits of self-executing prefab malware, whose job it is to prod at local endpoints and set off false flags from any detection software on the system. Unlike the main process, the decoy processes aren't fileless, and their location on the system is set in more "hidden" sectors, all varying from process to process. The intention of this is for the misdirection of the infected individual, to make them incorrectly believe that the malware originates from directories entirely separate from the actual Requiem or BASILISK process; however, in cases such as the Cascadan Crisis, this led to a myriad of infected government terminals being shut off for the remainder of the conflict in fear of a seemingly "immortal virus," overengineering my behated.
If the infected machine has not been interacted with for the past 5 minutes, BASILISK assumes that it has been left on standby. With that assumption out of the way, it begins to toy with the terminal; slight changes, such as infinitesimal mouse movements, shifting windows in random directions by mere pixels, and so forth—generally, things that aren't the most noticeable changes, but still enough to tick someone off; however, once in a blue moon, the virus will perform significantly more clamant actions, examples being playing loud sounds at night (this may or may not have broken the Geneva convention... don't worry about that, everyone does it here), changing the wallpaper, screensaver, and even infrequently the entire desktop for the hell of it.
Final Payload
And in the final payload—which, from experience, usually occurs at the last minute for some reason—the terminal's hard drive is entirely encrypted, and the machine enters a state of being faux-bricked. At this point, it is no longer under the ownership of the recipient; instead, it's in the hands of us. We decide whether or not we want to completely erase the terminal's hard drive or if we want to ransom the individual out of their supplies. As previously mentioned, Requiem also takes over from here, as there are no more anti-viruses that can stand in its way.
During the faux-bricked state, the terminal refuses to launch the desktop environment on startup, disabling the ability for user input alongside it. Without a GUI to use, BackOS enters its recovery console, and from here—just like the DOS viruses of old, fancy graphics of our choosing are displayed on the screen, and the machine forcefully powers off a minute later.
However, as you may have gathered from the name, this state does not truly "brick" the machine; it is entirely revertible as long as you hold not only the keys to decrypt the hard drive but also those required to disable both viruses. And guess where those keys are?
Sources
Adapted from the original article, under CC BY-SA 3.0.



