‏إظهار الرسائل ذات التسميات Linux Hackimg. إظهار كافة الرسائل
‏إظهار الرسائل ذات التسميات Linux Hackimg. إظهار كافة الرسائل

الثلاثاء، 6 سبتمبر 2016

LuaBot First Botnet Malware To Target Linux Platforms

LuaBot First Botnet Malware To Target Linux Platforms
View the binary's ASCII in the last part and you'll see the first email address | Credit: MalwareMustDie 


Researchers Finds LUA Language ELF Compiled Malware Called As Linux/LuaBot.


Trojan coded in Lua to target linux Platforms to adding into a Botnet explain by security researcher from MalwareMustDie.


The code is interacted with the udp.lua, as per its name suggesting a lua library of User Datagram Protocol function and struct, This is showing the malware has its own lua resolver code for the DNS query, and has ability to form its own UDP packet to be sent to any destination.

There's also the telnet.lua codes compiled in this ELF, which is after being reversed it seems to be a simple telnet basic communication functions interpreted in lua language (that can be found many references in the internet) that may allow Linux/LuaBot to communicate remotely through this protocol.

What is LUA?

Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode with a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.

According to Softpedia,

At the moment, the LuaBot trojan is packed as an ELF binary that targets ARM platforms, usually found in embedded (IoT) devices. Based on his experience, this seems to be the first Lua-based malware family packed as an ELF binary spreading to Linux platforms.

MalwareMustDie" also found penetrate_sucuri" part, a symbol (suggested a reversed function) traced to be coded in the lua source file: *cough* "checkanus_sucuranus.lua" and "checkanus.lua", which I took only a peek for it, it forms (http) action to a defined target. 

الأحد، 21 فبراير 2016

Linux Mint Website Hacked And Edited To Malicious ISO

Linux Mint Website Hacked And Edit To Malicious ISO


Linux Mint Website Hacked And Edited To Malicious ISO 


Just a few hours ago, leader of Linux Mint Project, Clement Lefebvre informed that the hackers have hacked the Linux Mint website. Hackers are able to edit the site to a malicious ISO of Cinnamon edition of Linux Mint 17.3.


If any user downloaded the Cinnamon edition before Saturday, then they are not be affected. But the issue has been resolved and now it is safe to download the Linux Mint ISO's.

Mr. Lefebvre told that " Modified Linux Mint ISO has been created by the hackers that contain a backdoor. After doing so, they hacked the Linux Mint website and the download links have been modified in order to trick users into downloading the malicious ISO image.

"I’m sorry I have to come with bad news. We were exposed to an intrusion today. It was brief and it shouldn’t impact many people, but if it impacts you, it’s very important you read the information below," said Clement Lefebvre in the announcement.

In one of the blog also Lefebvre explained the way by which users can find out that they are infected or not and those users who are infected they have to do the following:

>> Delete their ISO, trash discs where ISO has been burnt.
>> Format the USB where ISO burnt.

Whenever you install the OS by using ISO, just make sure that you follow these steps:

>> Take the computer offline.
>> Make a Backup of your personal data.
>> With a clean ISO reinstall, the OS or the partition must be formatted.
>> Change the passwords of your sites like FB, E-mail accounts etc.

It seems that Cinnamon edition of the Linux Mint 17.3 is the only one that has been compromised. Those users who have downloaded the ISO images on February 20, 2016. We advised them not to install it and delete it as soon as possible. And if you have already installed it then remove that one and downloaded the new one and install it.

But now Clement Lefebvre assures that all the things are under control. If any user downloaded the Linux Mint edition with the exception of the Cinnamon are safe and they don't need to worry about anything. The modified download links point to the correct ISO images of Linux Mint edition. Linux Mint blog contains the detailed technical details of this issue.

Linux Mint leader said that 

"Both lead to Sofia, Bulgaria, and the name of 3 people over there. We don’t know their roles in this, but if we ask for an investigation, this is where it will start if more efforts are made to attack our project and if the goal is to hurt us, we’ll get in touch with authorities and security firms to confront the people behind this."



If anyone affected by this attacks then we recommended you to disconnect your system from the internet quickly, your passwords should be changed and your disk-drive should be wiped. And inform  to the Linux Mint Leader soon.

الأربعاء، 21 أكتوبر 2015

LiME Linux Memory Extractor

LiME ~ Linux Memory Extractor

A Loadable Kernel Module (LKM) which allows for volatile memory acquisition from Linux and Linux-based devices, such as Android.

This makes LiME unique as it is the first tool that allows for full memory captures on Android devices. It also minimizes its interaction between user and kernel space processes during acquisition, which allows it to produce memory captures that are more forensically sound than those of other tools designed for Linux memory acquisition.

Table of Contents

  • Features
  • Usage
  • Examples
  • Presentation

Features

  • Full Android memory acquisition
  • Acquisition over network interface
  • Minimal process footprint


Usage

Detailed documentation on LiME's usage and internals can be found in the "doc" directory of the project.

LiME utilizes the insmod command to load the module, passing required arguments for its execution.

insmod ./lime.ko "path=<outfile | tcp:<port>> format=<raw|padded|lime> [dio=<0|1>]"

path (required):   outfile ~ name of file to write to on local system (SD Card)
        tcp:port ~ network port to communicate over

format (required): raw ~ concatenates all System RAM ranges
        padded ~ pads all non-System RAM ranges with 0s
        lime ~ each range prepended with fixed-size header containing address space info

dio (optional):    1 ~ attempt to enable Direct IO
        0 ~ default, do not attempt Direct IO

localhostonly (optional):  1 restricts the tcp to only listen on localhost, 0 binds on all interfaces (default)

Examples

In this example we use adb to load LiME and then start it with acquisition performed over the network

$ adb push lime.ko /sdcard/lime.ko
$ adb forward tcp:4444 tcp:4444
$ adb shell
$ su
# insmod /sdcard/lime.ko "path=tcp:4444 format=lime"

Now on the host machine, we can establish the connection and acquire memory using netcat

$ nc localhost 4444 > ram.lime

Acquiring to sdcard

# insmod /sdcard/lime.ko "path=/sdcard/ram.lime format=lime"


Download

الثلاثاء، 4 أغسطس 2015

BetterCap: A New MITM Framework Tool


BetterCap A New MITM Tool And Framework Tool

Bettercap is a complete, modular, portable and easily extensible MITM tool and framework with every kind of diagnostic and offensive feature you could need in order to perform a man in the middle attack.

How to install ?

Stable Release ( GEM )

gem install bettercap

From Source

git clone https://github.com/evilsocket/bettercap
cd bettercap
gem build bettercap.gemspec
sudo gem install bettercap*.gem

DEPENDS
All dependencies will be automatically installed through the GEM system, in some case you might need to install some system dependency in order to make everything work:

sudo apt-get install ruby-dev libpcap-dev



Read more: Bettercap