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 36 guests and 1 member online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Malwarearrow Is obfuscated code good or bad
EH-Net
May 24, 2013, 06:21:46 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Is obfuscated code good or bad  (Read 6339 times)
0 Members and 1 Guest are viewing this topic.
timmedin
Sr. Member
****
Offline Offline

Posts: 469



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: 1021



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: 1012



View Profile WWW
« 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: 1021



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: 1012



View Profile WWW
« 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: 1021



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.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.083 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

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