In a traditional botnet, for example Andromeda, bot clients are built using a builder application.. The bot master supplies the configuration data such as C&C gate and build ID and the builder pops out a new binary.
File binders are applications that allow a user to "bind" executables together resulting in a single executable. They are useful for crackers to insert other applications such as trojan horse executables into otherwise harmless files, making them more difficult to detect. (Source)The first BestRecovery builder I came across was version 12.4
Ver 12.4 was a hideous awful mess of an application.
Just looking at the builder makes me feel bad for the 419'ers using it. Not to mention I could not get this thing to kick out a useful sample.
I had to run through the Error-FIXX directory and register some components. I forget, I was distracted by the horror show that is the ::: BESTRECOVERY BUILDER :::
Anyway, the admin updated the builder, I must have missed a few versions or he did it really quickly. The next time I checked the builder it was on 17.3
I am a reverse engineer in training so I will do my best to figure out what the heck is going on under the hood.
I'm going to look at the builder itself and then the binded output file from the builder.
I used resource hacker to extract a file: (VT 28/47)
Looks like this has been around the block already - I was not the first to get this on VT and its detection rate is high.
BestRecovery Builder v12.4
All BestRecovery software can best be described as a copy/paste piece of shit.
I ran the 12.4 builder through "strings" and pulled out some data. The following is some useful details obtained from the BestRecovery 12.4 builder
Keyspy Will Not Be Responsible For Any Use/Misuse OF Other's Information
Ethics is Philosophical Study Of Moral Values & Rules. It is the motivation based on the ideas of Right & Wrong.
Professional Is A Person Engage in one of a Learned Professions.Who is the Expert in any particular Field Like Doctors,Engineers,Accountants Etc
The Idea is To Combine Both The above terms together To Make The Client Or Stakeholders Of any Profession Relax & Free From Worries & They Can Trust The Professional. Accountants are Deployed in many fields Forexample They Can contribute
To The Ecnomic Development Of Their Country & Global Economy.
They Can Act as Auditors,Financial managers.Accountants,So They Have A Very high Responsibility.Billions & Trillians OF Dollars & Pounds of shareholders,Bankers,Investors Are t Stake. If The Accountant Are biased Means Their Weath & Hard Earnings Of People (Pension Funds) Will Be At RISK.This is Why The Accountants Must Obey Some Sort of Ethics/Guidelines like IFAC Code Of Ethics & ACCA Code Of Ethics . Acca Code Of Ethics States That Accountants & its Members Must Have The Quality Of
3) Professional Behaviour
5) Professional Competence
Practitioner Needs To Behave & Seen To Behave In an Ethical Professional Manner. In His Professional Life He might Face some risky events or Delemas.Code ofEthics Says Accountatns must use their Ethical Judgment To Avoid & Resolve The Ethical Delemas & Be away from Conflict of Interest.Threats he May Be Facing can Be Of Many Types Like
" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.0-c060 61.134777, 2010/02/12-17:32:00 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmpMM:OriginalDocumentID="xmp.did:23C5E3E8B0A4E0119B2AC28829143BAE" xmpMM:DocumentID="xmp.did:FE1ECDCBA4B011E0B3EA880C2BEAE119" xmpMM:InstanceID="xmp.iid:FE1ECDCAA4B011E0B3EA880C2BEAE119" xmp:CreatorTool="Adobe Photoshop CS5 Windows"> <xmpMM:DerivedFrom stRef:instanceID="xmp.iid:24C5E3E8B0A4E0119B2AC28829143BAE" stRef:documentID="xmp.did:23C5E3E8B0A4E0119B2AC28829143BAE"/> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="r"?>
C:\Program Files (x86)\Microsoft Visual Studio\VB98\VB6.OLB
LED Table Marquee
Lavf53.20.0 (mpeg encoder?)
TGIFPainter (Delphi image function)
NETSCAPE 2.0 ANIMEXTS1.0
The Visual Component Library (VCL) is a set of visual components for the rapid development of Windows applications in the Delphi and C++ languages.
BestRecovery Builder v17.3
Interesting strings from the 17.3 builder.
BestRecovery Keylogger from Builder v17.3
I used the v17.3 builder to create an output sample. I chose putty.exe as my target file to bind the BR keylogger to.
Strings from builder output file:
<form method="POST" action="
<input type="text" name="note" size="20" value="
<p><input type="submit" value="hm" name="B1"></p>
<textarea rows="2" name="log" cols="7">
<input type="text" name="user" size="20" value="
<p>COUNT: <input type="text" name="country" size="20" value="
<input type="text" name="pcname" size="20" value="
<form method="POST" action="
Checks what country the users are from.
This looks awful.
This cant be serious...but I think it is.
So it looks like someone created a shitty keylogger (probably ripped the code) and the design they came up with to send data back to the C&C was to create a browser window, build an html form, and finally post back the data.. oh yeah, also you need to check samair.ru proxy checker to get the user country first.
Fuck me, thats retarded.
Resource hacker extracted the original putty from the output file and its clean.
extracted resource (putty)
However, the entire binded package itself is naughty
image (binded file) (VT 9/47)
(more samples I have found searching)
The BestRecovery system is a hodgepodge of code that is held together by poor design.
I will be posting more again soon. Stay tuned for "Who is behind BestRecovery" ..