Posted In Linux

How-To: Use (LOIC) Low Orbit Ion Cannon On Linux

Compiling and Using Low Orbit Ion Cannon on Linux

This will help you get Low Orbit Ion Cannon (LOIC) running on Linux. A lot of the how-to’s out there for this are outdated and aren’t entirely relevant any longer.

I know for a fact it works with Xubuntu 13.04, so it should work with other Ubuntu variants as well, probably even Debian.

First, you’ll need to install mono-gmcs, mono-mcs, monodevelop, and liblog4net-cil-dev. You can install them like so:

sudo apt-get install monodevelop mono-gmcs mono-mcs liblog4net-cil-dev

Running that will install all the packages you need to compile LOIC with Mono. Those 4 packages have other dependencies, so you’ll actually end up installing many more packages, but it’ll be done automatically.

After you’ve got that installed, download the Low Orbit Ion Cannon from Github. You can download it in .zip or .tar.gz format, whichever you’re most comfortable with.

Make a new folder on your desktop and extract the files from the .zip or .tar.gz to that new folder. Open a terminal and move into that folder (ie: cd /home/tyler/Desktop/loic/).

Once you’re in the folder, type the following in your terminal:

mdtool build

That will compile LOIC, the executable will be in the debug folder that you extracted from the zip or tar.gz file you downloaded. After compiling is done, launch LOIC like so:

mono /path/to/loic/debug/LOIC.exe

That’s it, have fun! And don’t get in trouble.

Well, now what?

Work with Me

I'm available for hire and always taking new clients, big and small. Got a project or an idea you'd like to discuss? Startup plan but no developer to make it happen? Just get in touch, I'd love to see if I can help you out!

Leave some Feedback

Got a question or some updated information releavant to this post? Please, leave a comment! The comments are a great way to get help, I read them all and reply to nearly every comment. Let's talk. :) is proudly hosted by DigitalOcean

  • Miller

    Hello I have tried this running Linux mint 12 and I have encountered a couple of problems, the first is that there is no Dubug folder in the bin and while compiling there were two error messages that said it couldnt find mono or a C# compiler. I would appreciate any help you could give me because I am a total noob at Linux. Thanks for your time.

    • Miller, try this:

      sudo apt-get install mono-gmcs

      After I ran that, I was able to get “mdtool build” to run without any errors. I think there was one warning, but it was something that could be ignored.

      Let me know if this helps any.

  • Miller

    Thank you tyler for that and I was able to get no error messages during the mdtool build, but I still do not know where it puts the finished product. As I said I am a total noob so sorry if I am missing something obvious.

    • OK, finished executable should be in NewEraCracker-LOIC-c847036/bin/Debug/.

      Open a terminal and go into the NewEraCracker-LOIC-c847036 folder and type the following:

      mono bin/Debug/LOIC.exe

      If everything worked, running that should launch LOIC.

  • Miller

    Okay thank you for all your help

    • Let me know if that worked for you or not. If it didn’t work, it’s possible there’s something else missing that I already had installed, that you may need to install as well. And if that’s the case I’ll need to update this how-to.

  • Miller

    It worked and it will probably work for others, I am just very new to Linux.

  • Ashes

    Ok so i tried DOSing a website on my local network. I used LOIC on both linux and windows and the site wasnt even affected. The numbers on the bottom bar seemed correct. WTF?!

    • Ashes

      ive confirmed that traffic is leaving the attacking machine and also confirmed that the packets are hitting the webserver.

      • Sweet!

        Yah you probably wouldn’t see much affect doing it over your local network. About the only way to confirm it’s working is to monitor traffic on your network with a tool like WireShark.

        How did you end up verifying that packets were actually being sent?

        • Ashes

          Wireshark šŸ™‚ Also checked the logs of the webserver and verified that the packets are being received.

  • i got this error mssge
    btw OS linux Slackware

    Rep: Reputation: Disabled

    Unhappy loic on linux slackware
    i’ve install loic and mono using sbopkg
    but loic can run and i got this mssge


    [email protected]:~# mono /opt/loic/LOIC.exe

    Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext —> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine —> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic —> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors —> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus —> System.DllNotFoundException: gdiplus.dll
    at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
    at System.Drawing.GDIPlus..cctor () [0x00000] in :0
    — End of inner exception stack trace —
    at System.Drawing.KnownColors..cctor () [0x00000] in :0
    — End of inner exception stack trace —
    at System.Drawing.Color.get_Black () [0x00000] in :0
    at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in :0
    — End of inner exception stack trace —
    at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in :0
    — End of inner exception stack trace —
    at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in :0
    at System.Windows.Forms.Control..ctor () [0x00000] in :0
    at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
    at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in :0
    — End of inner exception stack trace —
    at System.Windows.Forms.Control..ctor () [0x00000] in :0
    at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in :0
    at System.Windows.Forms.ContainerControl..ctor () [0x00000] in :0
    at System.Windows.Forms.Form..ctor () [0x00000] in :0
    at LOIC.frmMain..ctor (Boolean hive, Boolean hide, System.String ircserver, System.String ircport, System.String ircchannel) [0x00000] in :0
    at (wrapper remoting-invoke-with-check) LOIC.frmMain:.ctor (bool,bool,string,string,string)
    at LOIC.Program.Main (System.String[] cmdLine) [0x00000] in :0

    Any Idea ..???

    • No clue. I would suggest you try compiling it yourself. Will probably have better luck.

  • Woodsie

    Hey Tyler I have already knocked my own site out with LOIC but that is on windows.
    I followed most of your instructions but when I got to the mdtool build it said “project file not found”. Im a noob to linux for the most part BTW.

    • Were you in the NewEraCracker-LOIC-c847036 folder when you ran “mdtool build”? I’m not sure what that error is all about. I hit Google up for “mdtool ‘project file not found'” but NOTHING was found.

      Was “project file not found” the exact error you saw? If not, could you try it again and share the full/exact error?

  • Errr… you know there’s Windows debug binaries already built right? There’s no reason to use Mono to build it… contains all the needed stuff. Just “cd” to where you unzip it, “cd” to the “Debug” directory, and do “mono LOIC.exe”

  • AJ O

    ok i am a noob so bear with me i dont get what you mean by opening up terminal and getting my executible file then typing in mdtool build and i dont get when you get in the folder type that in can you please explain that to me more bc i am very confused as to what to type in when i get that part…if i type in mdtool build in terminal it says Project file not found…i am using tails

    • NoName

      Well Aj O, If you don’t know what the terminal is, then you aren’t a web developer, and you don’t need this program.

  • Bob Newhart

    Why mono. Why, why, why. Damn you miguel

  • Blackfox

    oi, just followed all of the nessesary steps, nothing happened, so what did i really just put on my system?

    • You probably forgot some dependency or something. Nothing was put on your system that you didn’t put there.

      Do you see LOIC.exe in the build directory?

  • LeDuche

    hey, im on the last step but it says ” File does not contain a valid CIL image.” plz help.

    • LeDuche

      shouldnt of posted this late, nvm, dont know if i would get a reply ;(

  • dessthemess

    perfect, in the very begining i was confused how to follow the path to start it up but at the end i worked it out…as you said if the folder with the unziped files is on my desktop the path is as follows

    [email protected]:~/Desktop/loic# mono debug/LOIC.exe
    and it started

    thanks alot

    bets regars