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 58 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Powershell
EH-Net
May 24, 2013, 07:06:52 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
) >
Powershell
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Powershell (Read 6108 times)
0 Members and 1 Guest are viewing this topic.
yatz
Full Member
Offline
Posts: 222
Powershell
«
on:
June 14, 2010, 01:28:11 PM »
Hey I was just thinking about using Powershell as a remote shell instead of the standard cmd.exe. Has anyone done this before? If you have, what capabilities did you use that were not available in the standard shell?
I only wonder because I was doing some SharePoint scripting using Powershell and it showed a LOT of potential inherent to the shell that otherwise would have required some kind of programming language (duh, because powershell is basically an interpreter).
Logged
"Live as though you would die tomorrow, learn as though you would live forever."
CCNA, MCSA, MCTS, Sec+, Net+, Linux+, CEH
sil
Hero Member
Offline
Posts: 549
Re: Powershell
«
Reply #1 on:
June 15, 2010, 06:18:12 AM »
"Remote shell" for a pentest? I wouldn't bother with it. In a penetration testing gig your role is using to validate the ability to get into a system. While you may make mention of installation of software in your tactical plan to your client, what purpose would it serve. If you already got into a machine, you've done your job especially if you can install software on the machine so updloading Monad (powershell) unto a machine is pointless. It's kind of like saying "I broke into a bank and once there I decided to change the camera system to show X..." Eliminate all but the first five words... "I broke into a bank" your role is done. Installing software on a machine you've pentested can potentially break something somewhere down the line especially with Windows systems where reliance on DLL files are high.
Logged
http://www.infiltrated.net/mgz/puppylecter.jpg
yatz
Full Member
Offline
Posts: 222
Re: Powershell
«
Reply #2 on:
June 15, 2010, 08:18:54 AM »
A pentest is more than just exploiting one host my friend...
My point is more along the lines of using Powershell to easily access network resources using the added features. Also you don't necessarily need to install it since it is required for certain server apps like Exchange 2010, and Windows Server 2008 has it as a built in feature (not to mention Server Core).
Plus, it's basically the same as running python and having the immediate interpreter at your fingertips, except it's PS rather than PY.
Logged
"Live as though you would die tomorrow, learn as though you would live forever."
CCNA, MCSA, MCTS, Sec+, Net+, Linux+, CEH
sil
Hero Member
Offline
Posts: 549
Re: Powershell
«
Reply #3 on:
June 15, 2010, 09:19:46 AM »
True indeed that pentesting is more than just one machine, but you've missed the gist of what I was trying to get at. In most instances I try to avoid leaving footprints via way of software installs and even tool usage since many tools are pretty noisy. I've found that with a minimalist set of tools one can still accomplish most tasks. E.g. using telnet + sleep as opposed to always using nmap.
In using tools already in place, you're less likely to set off alarms or get tripped up if an admin (while doing say a zero knowledge) sees you and cuts you off. I personally like to enumerate and send targeted attacks as opposed to scripted ones to confirm/validate something. This is something automation is not good at (finding discrepancies). To each their own though. I would not install software if I didn't have to especially for the sake of automating the testing.
Logged
http://www.infiltrated.net/mgz/puppylecter.jpg
ajohnson
Recruiters
Hero Member
Offline
Posts: 1060
aka dynamik
Re: Powershell
«
Reply #4 on:
June 27, 2010, 05:53:43 PM »
It's worth noting that powershell is included in all Windows versions going forward, as well as other MS server products such as Exchange, SQL Server, etc.
Powershell is really powerful, and if it's there, I don't see any reason not to use it.
Also, if you haven't seen it, check out this module:
http://code.msdn.microsoft.com/bsonposh
Logged
WIP: GCFA |
www.infosiege.net
| @infosiege
The day you stop learning is the day you start becoming obsolete.
Pages: [
1
]
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
News Items and General Discussion About EH-Net
: ÌÀÃÀÇÈÍ ÌÎÄÍÎÉ ÎÄÅÆÄÛ APPLE-FASHION!
(0) by
Infabeemace
News Items and General Discussion About EH-Net
: When your benjamin will be to your own car and truck clean up
(0) by
areluctes
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(8) by
ajohnson
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(29) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
Greetings
: Hi from the UK
(4) by
MrTuxracer
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.