ArticleslgStudy

computer science

Kak worm

Kak worm is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Kak worm rather than just read about it. In short: KAK (Kagou Anti Kro$oft) is a 1999 JavaScript worm that uses a bug in Outlook Express (CVE-1999-0668) to spread itself. Behavior On the first day of every month, at 6:00 pm, the worm uses SHUTDOWN.EXE to initiate a shutdown and show a popup with text "Kagou-anti-Kro$oft says not today!".

Key takeaways

  • Kak worm belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Kak worm to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Kak worm from memory before moving on to harder problems.

Reference excerpt

KAK (Kagou Anti Kro$oft) is a 1999 JavaScript worm that uses a bug in Outlook Express (CVE-1999-0668) to spread itself.

Behavior On the first day of every month, at 6:00 pm, the worm uses SHUTDOWN.EXE to initiate a shutdown and show a popup with text "Kagou-anti-Kro$oft says not today!". A minimized window often appears on startup with the title "Driver Memory Error". Another message saying "S3 Driver Memory Alloc Failed!" occasionally pops up. The worm also adds a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\cAg0u and edits AUTOEXEC.BAT to make Windows launch it on startup. The worm adds these commands to AUTOEXEC.BAT:

@ECHO off C:\Windows\Start Menu\Programs\StartUp\kak.hta DEL C:\Windows\Start Menu\Programs\StartUp\kak.hta

Approach KAK works by exploiting a vulnerability in Microsoft Internet Explorer, which Outlook Express uses to render HTML email. The vulnerability concerns the ActiveX control "Scriptlet.Typelib" which is usually used to create new type libraries (".tlb" files). However, the control does not set any restrictions on what content goes into the type library file or what file extension it should have. Therefore, the control can be abused to create a file with any content and with any extension. Since Microsoft did not foresee the ability to abuse the control in this way, they marked it as "safe for scripting" in Internet Explorer's default security settings. This means that scripts including this control don't need the user's permission in order to run. KAK embeds such abusive code in the signature of an email message, so that the code runs when the email is viewed or previewed in Outlook Express (because Outlook Express uses Internet Explorer to provide this view/preview functionality for HTML emails). KAK uses "Scriptlet.Typelib" to create a file called "kak.hta" in the StartUp folder. This file contains further code that will be run the next time the machine starts up. Since the HTA is not rendered in Internet Explorer but executed using Windows Scripting Host, code placed by KAK in this file has even more privileges than the code it put into the email signature. Next time the machine starts up and "kak.hta" runs, KAK performs a number of actions such as:

Setting the user's email signature to contain the code to infect other systems, so the worm can spread Adding lines to AUTOEXEC.BAT to delete the original "kak.hta" so that the virus is more difficult to track Creating a new "kak.hta" which runs on startup and will shut down the machine between 6pm and midnight on the first day of the month

References

External links VBS.KAK kak writeup and info at pchell.com Wscript.KakWorm[link removed] on Symantec.com JS/Kak@M on McAfee

Worked examples

Example 1 — a first encounter with Kak worm

Start with the simplest possible case. Write down what Kak worm claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Kak worm before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Kak worm ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Kak worm

In research
Kak worm appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Kak worm in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Kak worm is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1990s in hacking, 1999 in computing, Email worms, so understanding it makes those chapters shorter.
In everyday life
Look for Kak worm outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Kak worm” →

How to study Kak worm in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Kak worm means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Kak worm out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Kak worm in simple terms?

KAK (Kagou Anti Kro$oft) is a 1999 JavaScript worm that uses a bug in Outlook Express (CVE-1999-0668) to spread itself. Behavior On the first day of every month, at 6:00 pm, the worm uses SHUTDOWN.EXE to initiate a shutdown and show a popup with text "Kagou-anti-Kro$oft says not today!".

Why does Kak worm matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Kak worm?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Kak worm.

Tags

  • 1990s in hacking
  • 1999 in computing
  • Email worms
  • Malware stubs

Keep exploring