Code Monkey home page Code Monkey logo

tinyklx's Introduction

TinyKLX

A sample spyware written in VB.NET

It is just a proof of existance of Visual Basic .Net users.

Customize

To Build it for your own testing, follow these steps

  • Clone Solution
  • Edit Config.vb file according to your requirements
  • Set .Net Framework for specific target
  • Build Solution
  • Use ConfuserEx CLI with TinyKLX.crproj to obfuscate your app
  • Finally your app will be ready to use

Mechanism

This malware uses classic malware techniques to persist.

  • It is built against .Net making machine code much complex.
  • Since it is confused with ConfuserEx, hiding flow and data, making it almost undetectable. But still it follows a specific pattern which can be detected as follow:
  • When it is launched, it shows fake messege Config.UserErrorMessage in foreground and re-starts itself with Config.SafeCommand
  • As soon as it is launched with Config.SafeCommand, it checks its execution location. If it is not a temp path then it copies itself to temp path and starts from temp path with safe command
  • If successfully previous two steps are performed then it sets itself to be started again when computer restarted from "RunOnce" key with name Config.AppName
  • Since RunOnce Keys are removed everytime app is started. It sets again and again.
  • When persistance is verified, it starts logging
  • Every key is captured, and screenshot is captured when user presses enter key or mouse click (called capture event).
  • All this captured events are stored till their number exceed Config.MaxEvents.
  • When certain amount of events are captured they are then compiled as HTML file which is GZipped and transmitted to network via Email.
  • This loop continues for ever.

tinyklx's People

Contributors

naxalpha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.