Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 50 guests online
EH-Net News Feeds
Latest Additions
 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Malwarearrow Is obfuscated code good or bad
EH-Net
May 25, 2012, 06:45:40 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Advertise on EH-Net!! - Reasonable Rates, Highly Targeted Audience.
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Is obfuscated code good or bad  (Read 5606 times)
0 Members and 1 Guest are viewing this topic.
timmedin
Sr. Member
****
Offline Offline

Posts: 470



View Profile WWW
« on: April 19, 2009, 02:06:22 PM »

An interesting article discussing the attrition war of authors vs reverse engineers and Anti-Virus/Anti-Malware.

Sun Tzu counseled a strategy of maneuver warfare, and that is the doctrine followed by modern militaries. We need to find something different than the attrition warfare that sustains the malware ecosystem in the state it is in today.

Obfuscation, the deliberate hiding of the software's behavior, is used by malware authors as well as legitimate software developers. They both use code obfuscation techniques to keep curious souls from understanding how their software works and what it is doing to the computer on which it runs.

Good Obfuscation, Bad Code
http://www.securityfocus.com/columnists/498/1
Logged

twitter.com/timmedin | http://blog.securitywhole.com
NickFnord
Full Member
***
Offline Offline

Posts: 117



View Profile WWW
« Reply #1 on: April 20, 2009, 04:58:44 AM »

Danny Quist also has something to say about it.  interesting how anti-virus software is reporting obfuscation as potential malware

http://www.offensivecomputing.net/?q=node/1165
Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1006



View Profile
« Reply #2 on: April 20, 2009, 07:22:40 AM »

This is only my opinion, but I believe that AntiVirus makers are so far behind the curve, they are just grasping at straws.  They are not capable of catching anything remotely unfamiliar with signatures, so they are expanding "detection" to include legitimate software to "be on the safe side."
Logged

~~~~~~~~~~~~~~
Ketchup
jason
Hero Member
*****
Offline Offline

Posts: 945



View Profile
« Reply #3 on: April 20, 2009, 08:19:23 AM »

Yup, you can see the same thing with keygens. Most antimalware tools will flag them as malware.
Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1006



View Profile
« Reply #4 on: April 20, 2009, 11:49:39 AM »

I know nothing of these "keygens" you speak of  Wink
Logged

~~~~~~~~~~~~~~
Ketchup
jason
Hero Member
*****
Offline Offline

Posts: 945



View Profile
« Reply #5 on: April 20, 2009, 12:07:15 PM »

Educational use only of course Smiley
Logged
NickFnord
Full Member
***
Offline Offline

Posts: 117



View Profile WWW
« Reply #6 on: April 21, 2009, 03:22:48 AM »

I don't understand why they would do this - a keygen is just a reproduction of the algorithm used to produce a registration key.

unless they used the program itself to self-keygen and that somehow flagged it....
Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1006



View Profile
« Reply #7 on: April 21, 2009, 07:06:55 AM »

They are usually packed with something.
Logged

~~~~~~~~~~~~~~
Ketchup
Jhaddix
Sr. Member
****
Offline Offline

Posts: 317



View Profile WWW
« Reply #8 on: April 21, 2009, 07:25:02 AM »

They are usually packed with something.

Indeed, they usually are. I saw this youtube video one of a researcher downloading keygens and monitoring them with wireshark, PortMon, ProcessExplorer, and Process Monitor.

It dropped some stealthy and blatantly malicious stuff of its own. wish i had bookmarked it.

His solution? (assuming these keygens were legal pices of code) Use a VM machine to run them.

If they use patch-like function to insert a key (a la registry injection), stay away.

If you have to replace files manually (aka an .exe), run for the hills.
Logged

NickFnord
Full Member
***
Offline Offline

Posts: 117



View Profile WWW
« Reply #9 on: April 21, 2009, 08:04:03 AM »

back in the day we had to patch the .exe to make it not run from the HD, not the CD.  but I guess that's not so much a problem now days with virtual CD's etc.  not that I engage in this kind of nefarious stuff at all.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.178 seconds with 22 queries.
 

gk_static-ad_feb2012.jpg
Global Knowledge: Build Security Skills to Protect & Defend

els_130x200fixed2.gif
eLearnSecurity Student Course Now Live!
5% Off with Code
ELS-EH-5

SANS Deals 4 EH-Netters
$150 OFF Any SANS Course in Any Format!
Coupon Code: EHN_Connect Including SANS Security West 2012 & SANSFIRE 2012
Recent Forum Topics

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!

Vote For EH-Net

Add to Technorati Favorites
technorati fave

 
         
Advertisement

© 2012 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.