Jump to content

AutoIt scripting increasingly used by malware developers


nsane.forums

Recommended Posts

nsane.forums

AutoIt, a scripting language for automating Windows interface interactions, is increasingly being used by malware developers thanks to its flexibility and low learning curve, according to security researchers from Trend Micro and Bitdefender.

“Recently, we have seen an uptick in the amount of nefarious AutoIt tool code being uploaded to Pastebin,” Kyle Wilhoit, a threat researcher at antivirus vendor Trend Micro, said Monday in a blog post. “One commonly seen tool, for instance, is a keylogger. Grabbing this code, anyone with bad intentions can quickly compile and run it in a matter of seconds.”

“In addition to tools being found on sites like Pastebin and Pastie, we are also seeing a tremendous increase in the amount of malware utilizing AutoIt as a scripting language,” Wilhoit said.

The use of AutoIt in malware development has steadily increased since 2008, Bogdan Botezatu, a senior e-threat analyst at antivirus vendor Bitdefender said Tuesday via email. The number of malware samples coded in AutoIt has recently peaked at more than 20,000 per month, he said.

“In its early days, AutoIt malware was mostly used for advertising fraud or to create self-propagation mechanisms for IM [instant messaging] worms,” Botezatu said. “Nowadays, AutoIt malware ranges from ransomware to remote access applications.”

One particularly sophisticated piece of AutoIt-based malware discovered recently was a version of the DarkComet RAT (remote access Trojan program), Wilhoit said. This malware opens a backdoor on the victim’s machine, communicates with a remote command and control server and modifies Windows firewall policies, he said.

The DarkComet RAT has been used in targeted, APT-style, attacks in the past, including by the Syrian government to spy on political activists in the country. What’s interesting about the variant found by Trend Micro is that it’s written in AutoIt and has a very low antivirus detection rate.

The use of scripting languages to develop sophisticated malware is not a widespread practice, because most of these languages require an interpreter to be installed on the machine or produce very large stand-alone executable files, Botezatu said.

However, there have been exceptions. For example, the Flame cyberespionage malware used the LUA scripting language to automate some tasks without being detected by antivirus products, Botezatu said.

AutoIt is extremely intuitive and easy to use, produces compiled binaries that run out of the box on modern Windows versions and is well documented, the Bitdefender researcher said. Also, there is already a lot of malicious AutoIt code available on the Web for reuse, he said.

“Most importantly, malware created in AutoIt is extremely flexible and can be easily obfuscated, which means that a single breed of malware written in AutoIt can be repackaged and re-crafted in a number of ways to prevent detection and extend its shelf life,” Botezatu said.

As scripting languages like AutoIt continue to gain popularity, more malware developers are expected to migrate toward them, Wilhoit said. “The ease of use and learning, as well as the ability to post code easily to popular dropsites make this a great opportunity for actors with nefarious intentions to propagate their tools and malware.”

view.gifView: Original Article

Link to comment
Share on other sites


  • Replies 7
  • Views 1.1k
  • Created
  • Last Reply
  • Administrator

Such a nice language, getting misused by jerks. -_-

Link to comment
Share on other sites


VileTouch

The ease of use and learning, as well as the ability to post code easily to popular dropsites....

the same could be said about javascript, vbscript, lua, python, perl.. hell even assembly, C++, visual basic or delphi sources are very easy to drop in a pastebin and compiled by anyone... but autoit makes it to the news... figures.

Link to comment
Share on other sites


@VileTouch:

Well, not really, at least not in all cases you mentioned. LUA and Python need large runtime libraries and environment. Perl ain't that popular. C? That's a rather large learning curve and the language itself ain't really the easiest. The thing with compiled languages is... they need compilation. With programs written in C(++, #, whatever) the compilation process is not straightforward in all cases and often needs to be well documented.

AutoIt is extremely user friendly, works out of the box, doesn't need special runtimes, there's no need to set up a work environment and the documentation is so good that it's actually helpful (it's almost amazing how many documentations are written just for the sake of slapping a "documentation" item in the menu on the webpage). Debugging is easy and fast, so is the "compilation". On top of that it's possible to run code from exe's and dll's.

Too bad that this great tool is used in such mischievous ways, but it's to be expected. After all, one can write a worm using mere batch script. Luckily on the official forums no support at all is given to people with shady ambitions, and quite often they get a BANana instead.

Link to comment
Share on other sites


Well, everyone wants to obfuscate their codes - this is also one of the prime reasons for Reverse Engineers to use AutoIt.

Link to comment
Share on other sites


I hate Malware. Crapshoot. But can be used for the good as well. :showoff:

Link to comment
Share on other sites


stylemessiah

Such a nice language, getting misused by jerks. -_-

True.

Its amazingly useful, especially for writing quick apps when working in a networked or multi user environment to get jobs done that no existing software can do.

I get too lazy to sit down and write C stuff, so in about 1/8th the time you can code what you want.

But yeah since they expanded it several years ago to do dll calls etc, it has sometimes has gone to the dark side, but there will always be someone to look for using code in a way thats not with the best intentions.

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...