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 22 guests online
 
Advertisement

You are here: Home arrow Featuresarrow Book Reviewsarrow Violent Python
EH-Net
May 25, 2013, 03:32:48 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 [2]   Go Down
  Print  
Author Topic: Violent Python  (Read 26441 times)
0 Members and 1 Guest are viewing this topic.
UNIX
Hero Member
*****
Offline Offline

Posts: 1235


View Profile
« Reply #15 on: October 18, 2012, 08:11:16 AM »

aweSEC, I said detailed ToC...  I want to know what the subsections are in the chapters.  Wink

Oh, I thought you might refer to the general table of contents. I just noticed that they are not available at e.g. amazon.

As the book seems to have ~280 pages, I don't think there would be many subsections listed though.
Logged
BillV
Hero Member
*****
Offline Offline

Posts: 1892


View Profile WWW
« Reply #16 on: October 18, 2012, 08:44:11 AM »

You can lookup GIAC certification holders.

Author: http://www.giac.org/certified-professional/terrence-oconnor/121884

Definitely a lot but not quite as many as Dr. Wright:
http://www.giac.org/certified-professional/craig-wright/107335
Logged
Eleven
Full Member
***
Offline Offline

Posts: 120


View Profile
« Reply #17 on: October 18, 2012, 09:07:01 AM »


No, that wasn't what I was getting at. Passing the GSE written every four years will renew ALL of your GIAC certs. Otherwise, he'd have to renew each one individually, which would be insane with that many.

I would think it would renew all the certs you took to pass the GSE.  Renewing all GIAC certs doesn't seem to make much sense, unless the GSE exam is customized to include questions from every GIAC cert you have.  Huh
Logged
cd1zz
Recruiters
Hero Member
*
Offline Offline

Posts: 561


View Profile WWW
« Reply #18 on: October 18, 2012, 09:55:36 AM »

Chapter 1: Introduction
If you have not programmed in Python before, Chapter One provides background information about the language, variables, data types, functions, iteration, selection, and working with modules, and methodically walks through writing a few simple programs. Feel free to skip it if you are already comfortable with the Python programming language. After the first chapter, the following six chapters are fairly independent from one another; feel free to read them in whichever order you please, according to what strikes your curiosity.

Chapter 2: Penetration Testing with Python
Chapter Two introduces the idea of using the Python programming language to script attacks for penetration testing. The examples in the chapter include building a port scanner, constructing an SSH botnet, mass-compromising via FTP, replicating Conficker, and writing an exploit.

 Chapter 3: Forensic Investigations with Python
Chapter Three utilizes Python for digital forensic investigations. This chapter provides examples for geo-locating individuals, recovering deleted items, extracting artifacts from the Windows registry, examining metadata in documents and images, and investigating application and mobile device artifacts.

Chapter 4: Network Traffic Analysis with Python
Chapter Four uses Python to analyze network traffic. The scripts in this chapter geo-locate IP addresses from packet captures, investigate popular DDoS toolkits, discover decoy scans, analyze botnet traffic, and foil intrusion detection systems.

Chapter 5: Wireless Mayhem with Python
Chapter Five creates mayhem for wireless and Bluetooth devices. The examples in this chapter show how to sniff and parse wireless traffic, build a wireless keylogger, identify hidden wireless networks, remotely command UAVs, identify malicious wireless toolkits in use, stalk Bluetooth radios, and exploit Bluetooth vulnerabilities.

Chapter 6: Web Recon With Python
Chapter Six examines using Python to scrape the web for information. The examples in this chapter include anonymously browsing the web via Python, working with developer APIs, scraping popular social media sites, and creating a spear-phishing email.

Chapter 7: Antivirus Evasion with Python
In the Final chapter, Chapter Seven, we build a piece of malware that evades antivirus systems. Additionally, we build a script for uploading our malware against an online antivirus scanner.
Logged

Eleven
Full Member
***
Offline Offline

Posts: 120


View Profile
« Reply #19 on: October 18, 2012, 10:05:02 AM »

@cd1zz  Looks good, thanks!  A book like this is great since Python has become the scripting language to know if you're into security.
Logged
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1060


aka dynamik


View Profile WWW
« Reply #20 on: October 18, 2012, 01:52:30 PM »


No, that wasn't what I was getting at. Passing the GSE written every four years will renew ALL of your GIAC certs. Otherwise, he'd have to renew each one individually, which would be insane with that many.

I would think it would renew all the certs you took to pass the GSE.  Renewing all GIAC certs doesn't seem to make much sense, unless the GSE exam is customized to include questions from every GIAC cert you have.  Huh

I believe the continuing education component is a requirement of ANSI acceedidation. http://www.giac.org/about/ansi

It's the same type of deal with the CISSP. My OSCP didn't refresh that material, but I was still able to apply the CPEs towards maintaining that certification. The renewal process usually just requires relevant continuing education, and if you're keeping up with GSE-level material, you're clearly doing so.

And honestly, they needed a practical way to maintain certifications for people who have a higher number. Otherwise, they'll end up in a position where they're having to pay a fee, take an exam, and/or write a paper every few months. That's just not feasible.
« Last Edit: October 18, 2012, 01:54:30 PM by ajohnson » Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
Eleven
Full Member
***
Offline Offline

Posts: 120


View Profile
« Reply #21 on: November 16, 2012, 10:42:36 AM »

I just got the book and read a little of it.  The AV Evasion chapter was disappointing.  The only thing that was done to evade AV was to run msfpayload, paste the shellcode into a basic template python script, and compile it.  No encoding, obfuscating, or anything what so ever.  Just compiling shellcode msfpayload generated... not even msfencode was used.

The little bit of the forensics chapter I read was decent for a beginner.  An entire book could probably be written on most, if not each chapter, so I guess it has to be somewhat general.
Logged
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1060


aka dynamik


View Profile WWW
« Reply #22 on: November 16, 2012, 11:39:21 AM »

I just got the book and read a little of it.  The AV Evasion chapter was disappointing.  The only thing that was done to evade AV was to run msfpayload, paste the shellcode into a basic template python script, and compile it.  No encoding, obfuscating, or anything what so ever.  Just compiling shellcode msfpayload generated... not even msfencode was used.

I figured it'd be something like that. Dave used that trick at DefCon 20 (see the first video -- also the PXE boot trick is pretty slick): https://www.trustedsec.com/downloads/social-engineer-toolkit/

Still, if you weren't aware you could do that before, it's certainly a nice piece of info to pick up. Attacks don't always have to be sexy or complicated.

The little bit of the forensics chapter I read was decent for a beginner.  An entire book could probably be written on most, if not each chapter, so I guess it has to be somewhat general.

Right, you'll find SecurityTube's SPSE is like that too. What I've found to be important is that a resource provides you with a solid foundation and direction for future growth. Once you have the building blocks, you can usually get where you want to go on your own.
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
Eleven
Full Member
***
Offline Offline

Posts: 120


View Profile
« Reply #23 on: November 16, 2012, 11:51:51 AM »

@ajohnson Yeah, it's like creating a chapter on NIDS evasion and just running fragrouter and calling it a day...  I didn't learn anything on AV evasion other than AV sucks even more than I thought.  I mean jeez, he went from being detected by 10/14 AV vendors, to 0 just by compiling it as an .exe using Python?  Are other people that successful with this technique?  I'm watching the video now, thanks.
« Last Edit: November 16, 2012, 11:53:39 AM by Eleven » Logged
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1060


aka dynamik


View Profile WWW
« Reply #24 on: November 16, 2012, 01:53:40 PM »

I mean jeez, he went from being detected by 10/14 AV vendors, to 0 just by compiling it as an .exe using Python?  Are other people that successful with this technique?

Yup...
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
ziggy_567
Sr. Member
****
Offline Offline

Posts: 361


View Profile
« Reply #25 on: November 16, 2012, 02:51:00 PM »

Yup...
Logged

--
Ziggy


eCPPT - GSEC - GCIH - GCUX - RHCE - SCSecA - Security+ - Network+
m0wgli
Full Member
***
Offline Offline

Posts: 248


View Profile
« Reply #26 on: November 16, 2012, 03:27:08 PM »

Another yup...

I learnt about AV evasion earlier in the year, and I'd have to say it was a real eye opener! I was surprised how many AV's can be bypassed with relatively little effort.
Logged

Security + | OSWP | eCPPT | CSTA
Eleven
Full Member
***
Offline Offline

Posts: 120


View Profile
« Reply #27 on: November 16, 2012, 09:10:32 PM »

Man I had no idea...

@m0wgli, do you know of any good links you've found on evading AV?  Anything on python and encoding, obfuscating, slicing a program into pieces to find the signature, etc.?
Logged
cd1zz
Recruiters
Hero Member
*
Offline Offline

Posts: 561


View Profile WWW
« Reply #28 on: November 16, 2012, 09:18:06 PM »

There are a hundred ways to do it but here are a few to get the wheels turning:
http://www.scriptjunkie.us/2011/04/why-encoding-does-not-matter-and-how-metasploit-generates-exes/
http://schierlm.users.sourceforge.net/avevasion.html
http://intern0t.org/papers/BPAV%20-%20InterN0T.pdf
http://www.pentestgeek.com/2012/01/25/using-metasm-to-avoid-antivirus-detection-ghost-writing-asm/
http://pen-testing.sans.org/blog/2011/10/13/tips-for-evading-anti-virus-during-pen-testing

However, the best way is to write your own.
Logged

don
Editor-In-Chief
Administrator
Hero Member
*****
Offline Offline

Posts: 4169


Editor-In-Chief


View Profile WWW
« Reply #29 on: February 28, 2013, 10:09:52 AM »

ajohnson's review of this book is now live:

http://www.ethicalhacker.net/content/view/464/2/

Don
Logged

CISSP, MCSE, CSTA, Security+ SME
Pages: 1 [2]   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.082 seconds with 24 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.