Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Applications
    • Applications

    Researcher Eavesdrops on Mocbot

    Written by

    Ryan Naraine
    Published August 28, 2006
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      When Joe Stewart spotted a variant of the Mocbot Trojan hijacking unpatched Windows machines for use in Internet Relay Chat-controlled botnets, he immediately went to work trying to pinpoint the motive for the attacks.

      Stewart, a senior security researcher with the Threat Intelligence Group for Lurhq, in Chicago, set up a way to silently spy on the botnets command-and-control infrastructure between Aug. 13 and Aug. 15. His subsequent findings suggest that for-profit spammers are clearly winning the cat-and-mouse game against entrenched anti-virus providers.

      “The lesson here is once you get infected, you are completely under the control of the botmaster. He can put whatever he wants on your machine, and theres no way to be 100 percent sure that the machine is clean,” Stewart said in an interview with eWeek.

      “The only way to be sure the system is malware-free is to completely wipe the hard drive and reinstall the operating system,” Stewart said.

      Stewart arrived at that conclusion after eavesdropping on Mocbot for a few hours. He set up one isolated machine and infected it with the malware and a second machine that pretends to be the entire Internet.

      The second machine, known as a sandnet, is a custom-made tool for analyzing malware in an environment that is isolated yet provides a virtual Internet with which the malware interacts.

      With the Mocbot variant, which was targeting the Windows vulnerability patched with Microsofts MS06-040 patch, Stewart was able to figure out that the infected drones were connecting to two hard-coded command-and-control servers at bniu.househot.com and ypgw.wallloan.com.

      He captured the Internet Relay Chat, or IRC, log-in sequence generated by the bot. This included a user, a nickname, the channel name and the first bit of instructions to the infected machine. The command schemes were all encrypted, forcing Stewart to create a custom Perl script to decode the algorithms.

      Using Telnet to connect to the command-and-control server on Port 18067 (the port number for the IRC server), Stewart successfully started spying on the control channel, but there was not much to see.

      “The IRC server code was stripped down to give almost no information to the client except the channel topic line, which was encrypted,” Stewart said.

      Once the algorithms were decoded, he found that the botmaster was telling the infected machines to join another control channel to receive another encrypted message.

      When decoded, the command simply served up a URL hosted at PixPond.com, a free image hosting service. Stewart said the mission of the bot-master was to get the second file into the infected system.

      With the spam proxy Trojan sitting on his test machine, Stewart was again able to join the spam proxy network to get an internal peek at the operations.

      Using the sandnet, he found that the Trojan was sending a 4-byte UDP (User Datagram Protocol) packet to the yu.haxx.biz address.

      Stewart then mimicked this on an Internet-connected network with a fake SOCKS proxy that feeds into a Blackhole SMTP server—a DNS (Domain Name Server) that contains the IP addresses of SMTP servers that either originate spam or are considered to be spam open relay hosts—to infiltrate the proxy network.

      He immediately started seeing “loads of spam being pumped through [the] SOCKS server,” he said. This was coming from dozens of IP addresses and using forged sender addresses.

      The spam e-mails, which are now being pumped from infected Windows desktops, represented a range of the typical junk mail, Stewart said.

      He found mail advertising everything from pornography to fake Rolex watches and pharmaceuticals.

      “It looks like this was a small, targeted attack for one simple reason: They wanted to stay under the radar. This is all about setting up small botnets and making money from spam. They could be the spammers themselves or the guys doing the dirty work and then renting the botnets to spammers,” he said.

      In the initial stages of the Mocbot attack, only one-third of anti-virus scanners tested by Stewarts research team were detecting the malware.

      Even more worrisome is the fact that the attack included the use of botnet instructions to download the second-stage Trojan executable.

      “In this case, it was a spam proxy Trojan, but what if it was a rootkit? The rootkits are getting so good these days that the programs we typically rely on to find and clean machines just cant see them. There is still the possibility that the spammers could slip in a rootkit to hide things forever,” Stewart said.

      The lesson? “Dont get in–fected in the first place,” Stewart said. He urged IT ad–ministrators to apply critical patches early and maintain several levels of defense against malware, including firewalls, anti-virus and system hardening.

      Mocbot Unmasked

      Here are the characteristics of this Trojan:

      * This IRC-controlled backdoor Trojan spreads itself via the MS06-040 (Microsoft Windows server service) vulnerability.

      * When run, the Trojan installs itself to the system, modifies several security settings, attempts to connect to a remote IRC server and starts listening for commands from a remote hacker.

      * Infected machines become part of a botnet used to hijack files, create a proxy for e-mail spam, perform DoS (denial of service) attacks and send commands to instant messaging windows.

      Ryan Naraine
      Ryan Naraine

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.