Author Topic: How Worms Spread  (Read 1800 times)

0 Members and 4 Guests are viewing this topic.

Offline Traitor4000

  • Knight
  • **
  • Posts: 191
  • Cookies: 8
    • View Profile
How Worms Spread
« on: February 09, 2014, 04:01:02 am »
So I have become really interested in Malware Analysis and I have dedicated a lot of my time to learning more about this subject. I have been writing a pretty complex virus because I feel like someone who cant write these types of viruses have no business analyzing them. Anyways... I want to elevate the complexity of the project by creating a worm. I have tried to look into how these worms spread across a network. The most specific answer I have found is "they use vulnerabilities" ... Well no shit! So does anybody have a link or some specifics on how worms spread from computer to computer without user interaction?
The most vulnerable part of an impenetrable system is those who believe it to be so.

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline Traitor4000

  • Knight
  • **
  • Posts: 191
  • Cookies: 8
    • View Profile
Re: How Worms Spread
« Reply #2 on: February 09, 2014, 04:38:52 am »
Found this one for a good overview after digging: https://www.f-secure.com/en/web/labs_global/articles/about_worms
The most vulnerable part of an impenetrable system is those who believe it to be so.

Offline d4rkcat

  • Knight
  • **
  • Posts: 287
  • Cookies: 115
  • He who controls the past controls the future. He who controls the present controls the past.
    • View Profile
    • Scripts
Re: How Worms Spread
« Reply #3 on: February 09, 2014, 04:47:47 am »
http://namb.la/popular/

This is a pretty funny explanation about the Sammy worm (he's my hero)
Jabber (OTR required): thed4rkcat@einfachjabber.de    Email (PGP required): thed4rkcat@yandex.com    PGP Key: here and here     Blog

<sofldan> not asking for anyone to hold my hand uber space shuttle door gunner guy.


Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: How Worms Spread
« Reply #4 on: February 09, 2014, 11:22:47 am »
Most worms spread by exploiting the user. Tricking them into running the program.
Some scan the local LAN and copy themselves to open folders, some spread through USB hiding files and creating shortcuts to the files that first run a worm and then open a file.

Offline Traitor4000

  • Knight
  • **
  • Posts: 191
  • Cookies: 8
    • View Profile
Re: How Worms Spread
« Reply #5 on: February 09, 2014, 01:18:30 pm »
Most worms spread by exploiting the user. Tricking them into running the program.
Some scan the local LAN and copy themselves to open folders, some spread through USB hiding files and creating shortcuts to the files that first run a worm and then open a file.
Yeah i know about about spreading via emails etc. Im trying to write one that uses an exploit to download itself on to the computer without any user interaction.
The most vulnerable part of an impenetrable system is those who believe it to be so.

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: How Worms Spread
« Reply #6 on: February 09, 2014, 11:37:20 pm »
Yeah i know about about spreading via emails etc. Im trying to write one that uses an exploit to download itself on to the computer without any user interaction.


Java driveby maybe? You'll have to look for our build an exploit to have your thing ran. Maybe a dropper binded with an actual program. Or a fake program that "hacks boyfriends/girlfriends Facebook" is always a highly downloaded app, then it's just a matter of spreading it. Upload it on 4 shared and tpb, it will spread
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline pivot3r

  • /dev/null
  • *
  • Posts: 10
  • Cookies: 3
    • View Profile
Re: How Worms Spread
« Reply #7 on: February 10, 2014, 05:29:24 am »
From my understanding, self propagating worms generally work in the following way:

Let's assume an exploitable vulnerability is found in MegaFTP.  This allows for code execution on the box with MegaFTP installed.  Instance 1 of MegaFTP is compromised.  It will call back and download a copy of the worm.  The worm will then scan other devices looking for MegaFTP.  Probably with a port scan or the data in a TCP/UDP reply. something like
Code: [Select]
---Welcome to MegaFTP version 1.0.4---
From there the cycle continues.  Now, this is all my understanding, which could be completely wrong, I'm definitely not a malware expert.

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: How Worms Spread
« Reply #8 on: February 10, 2014, 07:05:39 am »
So I have become really interested in Malware Analysis and I have dedicated a lot of my time to learning more about this subject. I have been writing a pretty complex virus because I feel like someone who cant write these types of viruses have no business analyzing them. Anyways... I want to elevate the complexity of the project by creating a worm. I have tried to look into how these worms spread across a network. The most specific answer I have found is "they use vulnerabilities" ... Well no shit! So does anybody have a link or some specifics on how worms spread from computer to computer without user interaction?

A very common spreading method is bruteforcel.
One of the most famous SSH worm back in the days did this, scary effective.
RPD gets bruteforced daily, pretty sure those come from worms.
Some address that was atacking our systems lately had the same port open which made my draw my conclusion, in fact all of them had.
« Last Edit: February 10, 2014, 07:06:41 am by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: How Worms Spread
« Reply #9 on: February 10, 2014, 08:18:52 am »

Offline Traitor4000

  • Knight
  • **
  • Posts: 191
  • Cookies: 8
    • View Profile
Re: How Worms Spread
« Reply #10 on: February 11, 2014, 01:10:54 am »
Thanks a lot for all the help you guys pointed me in the right direction. Oh and deque that book is really interesting it is currently at the top of my reading list  :) .
« Last Edit: February 11, 2014, 01:11:22 am by Traitor4000 »
The most vulnerable part of an impenetrable system is those who believe it to be so.