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

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Windows Command Line Tools For Security And Other Analysis
EH-Net
May 21, 2013, 06:43:08 AM *
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: Windows Command Line Tools For Security And Other Analysis  (Read 3218 times)
0 Members and 1 Guest are viewing this topic.
don
Editor-In-Chief
Administrator
Hero Member
*****
Offline Offline

Posts: 4165


Editor-In-Chief


View Profile WWW
« on: May 29, 2008, 01:33:09 PM »

Quick write-up by Larry Seltzer of PC Mag including a shoutout to Ed Skoudis' work and Sysinternals:

Quote
Hat tip to Bruce Schneier for pointing me to a couple of tip articles by Ed Skoudis on Windows command line tools, the first group to tell if your system has been hacked, and the second for more general system analysis.

I've written about this stuff myself before, but it's always good to have a refresher. If you use Windows every day, especially if you administer Windows systems, you do yourself a big favor by becoming expert in these tools.

Some examples:

wmic: The Windows Management Instrumentation Console is a command line way to do lots of system management you might normally do with a GUI, such as Device Manager stuff. You can also list all running processes and all startup processes.

net: Network configuration and information commands, like seeing who is connected to what, creating shares, and what groups people belong to.

find: Been around since DOS 2.0 I think, but it's still underutilized. A filter program that you can pass content through to find the interesting stuff.

Consider:
wmic process list brief | find "OUTLOOK"
which shows detail on the Outlook process.


What Skoudis doesn't get into is the fine collection of free tools from Sysinternals, now part of Microsoft. These tools are mostly GUI tools for deep system analysis and performance enhancement, and most of them are available as command line versions too.

My favorites:

Process Explorer: Extensive details on running processes, including constituent processes of services.

Filemon, Regmon: Monitor and report on file and registry activity in the system. These are famous and indispensable tools.

BGInfo: Show system information as part of your desktop background.

And the ultimate place you want to be to be a true wiz is to become proficient in scripting these command line tools with Windows Script Host. True there are other scripting products, but wscript is included in all versions of Windows. In this way you can quickly build programs to do powerful system functions.

Original post with links:
http://blogs.pcmag.com/securitywatch/2008/05/windows_command_line_tools_for.php

Don
Logged

CISSP, MCSE, CSTA, Security+ SME
shakuni
Jr. Member
**
Offline Offline

Posts: 80


View Profile
« Reply #1 on: May 30, 2008, 01:56:24 AM »

When sysinternals originally published these tools, they came with source code but when Microsoft took over sysinternals all the source code dissappered. Now since we've started discussing programming concepts, if anyone needs the source codes to extend these tools or to understand how these tools works, then get them from the wayback machine (http://www.archive.org) or contact me.
Logged

There is no rule, law or tradition that apply universally... including this one.
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.068 seconds with 23 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.