Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 56 guests and 1 member online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Meterpreter payloads and antivirus
EH-Net
May 21, 2013, 09:52:45 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Network Pen Testing
(Moderator:
don
) >
Meterpreter payloads and antivirus
Pages:
1
[
2
]
Go Down
« previous
next »
Print
Author
Topic: Meterpreter payloads and antivirus (Read 23773 times)
0 Members and 1 Guest are viewing this topic.
cd1zz
Hero Member
Offline
Posts: 561
Re: Meterpreter payloads and antivirus
«
Reply #15 on:
July 10, 2011, 09:17:00 PM »
A very good article on this topic:
http://schierlm.users.sourceforge.net/avevasion.html
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
Ignatius
Jr. Member
Offline
Posts: 91
Re: Meterpreter payloads and antivirus
«
Reply #16 on:
July 11, 2011, 04:04:03 AM »
Quote from: cd1zz on July 10, 2011, 09:17:00 PM
A very good article on this topic:
http://schierlm.users.sourceforge.net/avevasion.html
Thank you for the link. I'll have to set some time aside to read it, digest it then test it out. My initial skim read of the article suggests that it is written in some obscure African tribal language. However, I'll put google to good use and see if I can make sense of it!
Logged
hayabusa
Hero Member
Offline
Posts: 1631
Re: Meterpreter payloads and antivirus
«
Reply #17 on:
July 11, 2011, 11:19:39 AM »
Interesting read, thanks. Once I have time this afternoon, to digest it, I'll have to compare it to some other stuff I've got. I've done a lot of runtime encryption / decryption to bypass AV's and the like (using xor's and some other methods,) and I've been playing with R3l1k's method, from the SET stuff, on the secmaniac link, and have been having some fun, too.
Again, as I said in another thread, this morning, it's ncie to see different methods for accomplishing a task. You can never be too reliant on any one, as each has both their own advantages and drawbacks.
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
Ignatius
Jr. Member
Offline
Posts: 91
Re: Meterpreter payloads and antivirus
«
Reply #18 on:
July 11, 2011, 11:31:09 AM »
Quote from: hayabusa on July 11, 2011, 11:19:39 AM
I've done a lot of runtime encryption / decryption to bypass AV's and the like (using xor's and some other methods,) and I've been playing with R3l1k's method, from the SET stuff, on the secmaniac link ....
I'm interested in the other techniques to which you alluded. We mentioned using xor, as demonstrated by muts a couple of years ago, earlier in this thread. Do you have any links to easily followed techniques for runtime encryption/decryption, other than using xor? If I can get my head around the basics, possibly using C or C++ with inline assembly (?), maybe I can use my google skills to raise the bar and develop this further.
Logged
hayabusa
Hero Member
Offline
Posts: 1631
Re: Meterpreter payloads and antivirus
«
Reply #19 on:
July 11, 2011, 12:07:54 PM »
As I'm not a heavy-duty programmer (I tend to analyze and fix code, more often than I have opportunity to write my own,) I play with encryption and such, when I have time. Lately, the only stuff I've done was with R3l1k's stuff, as I mentioned, so I could compare it to what I've done, in the past...
Some places with info on encryption methods:
ELF
http://www.phrack.org/issues.html?issue=58&id=5#article
Polymorphic Encryption (xor again)
http://web17.webbpro.de/index.php?page=polymorphic-encryption-methods
I've done some things like putting the decryption key into dll's, and calling them from within the encrypted exe. Another trick I've used, a little bit, is to combine methods / concepts (like xor and ELF) and use a decryption key, which I provide as a command-line variable at runtime, when, which combined with other key info within the code, allows for decryption. I don't have a sample of any of my code handy (I'd have to dig through my VM's and toolboxes to find them, as lately, my focus was shifted onto some other things, outside of security, and I had to backburner a lot of my research and tool building / gathering,) but the concept really isn't that difficult, if you want to work on similar ideas, yourself.
If I can make some time to dig out my code snippets I've done, etc, I will. In the meantime, perhaps sil or another has something handy?
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
Ignatius
Jr. Member
Offline
Posts: 91
Re: Meterpreter payloads and antivirus
«
Reply #20 on:
July 12, 2011, 01:49:22 PM »
Quote from: hayabusa on July 11, 2011, 12:07:54 PM
As I'm not a heavy-duty programmer ....
I'm grateful for the links. This is turning into an interesting journey for me. I did a little asm programming AGES ago (in the late 80's!) as an academic exercise but then I moved towards other things. I'll look into brushing up my coding skills. I'm sure I'll find some code snippets (C, C++ and asm) with which I can play. In the meantime, if anyone does have anything that might be of use or interest, that would be great. If you do get chance to dig out anything from your research, that would be perfect too.
Finally, I realise that most folks don't talk explicitly about their coding so I realise that any examples that I see are likely to be relatively old and have undergone upgrade themselves.
Logged
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: Meterpreter payloads and antivirus
«
Reply #21 on:
July 14, 2011, 04:56:30 PM »
You can also use the techniques used in this paper to encode your Metasploit payloads, if they're executables. (It is possible to encode them on the fly in a debugger as well, but that may require a bit more experience in case there is none.)
Link:
Bypassing Anti-Virus Scanners
Logged
I'm an InterN0T'er
Ignatius
Jr. Member
Offline
Posts: 91
Re: Meterpreter payloads and antivirus
«
Reply #22 on:
July 15, 2011, 12:37:58 PM »
Thank you for the link. I've seen that paper and have been collecting links to relevant papers, blogs etc. It was when I saw the paper before, I was spurred into joining your forum as there's a lot of interesting information there!
Logged
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: Meterpreter payloads and antivirus
«
Reply #23 on:
July 19, 2011, 04:05:49 PM »
Quote from: Ignatius on July 15, 2011, 12:37:58 PM
Thank you for the link. I've seen that paper and have been collecting links to relevant papers, blogs etc. It was when I saw the paper before, I was spurred into joining your forum as there's a lot of interesting information there!
No problem, and thanks!
There isn't much going on at those forums currently, but there is a lot of nice content, which is why they're up (and may be forever), plus there is also a lot of visitors daily
Logged
I'm an InterN0T'er
zeknox
Newbie
Offline
Posts: 1
Re: Meterpreter payloads and antivirus
«
Reply #24 on:
February 18, 2012, 03:35:42 PM »
This is a different type of method used to bypass AV when creating metasploit payloads. It has helped my bypass alot of different AV products when msfpayload | msfencode (msfvenom) has failed. I like this method because it allows the tester alot of flexibility in obfuscating the ASM instructions.
http://www.pentestgeek.com/2012/01/25/using-metasm-to-avoid-antivirus-detection-ghost-writing-asm/
Hope this helps!
Logged
Pages:
1
[
2
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
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:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
Programming
: Finished Python Course in Codecademy now what?
(12) by
3xban
Network Pen Testing
: AIX Vulnerability Assessments
(1) by
3xban
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Tools
: Social-Engineer Toolkit (SET) Version 5.0 “The Wild West” Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
Tutorials
: Need guidance
(8) by
r0ckm4n
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
Web Applications
: Nessus and Nikto
(4) by
Seen
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.